u-boot/include/dm
Simon Glass 77eaa19e73 dm: pinctrl: Add a way for a GPIO driver to obtain a pin function
GPIO drivers want to be able to show if a pin is enabled for input, output,
or is being used by another function. Some drivers can easily find this
and the code is included in the driver. For some SoCs this is more complex.
Conceptually this should be handled by pinctrl rather than GPIO. Most
pinctrl drivers will have this feature anyway.

Add a method by which a GPIO driver can obtain the pin mux value given a
GPIO reference. This avoids repeating the code in two places.

Signed-off-by: Simon Glass <sjg@chromium.org>
2016-01-21 20:42:35 -07:00
..
platform_data serial: lpc32xx hsuart: port driver to driver model 2016-01-13 21:05:22 -05:00
device-internal.h Revert "dm: Export device_remove_children / device_unbind_children" 2015-11-19 20:27:51 -07:00
device.h dm: core: Add a new api to get indexed device address 2016-01-13 18:54:22 +05:30
lists.h dm: core: allow device_bind() to not return a device pointer 2015-08-31 07:57:29 -06:00
pinctrl.h dm: pinctrl: Add a way for a GPIO driver to obtain a pin function 2016-01-21 20:42:35 -07:00
platdata.h dm: Add platform data advice and admonishment 2015-07-21 17:39:30 -06:00
root.h dm: Add dm_scan_other() to locate board-specific devices 2014-07-23 14:08:37 +01:00
test.h dm: video: test: Add tests for the video uclass 2016-01-20 19:10:16 -07:00
uclass-id.h dm: Add a power sequencing uclass 2016-01-21 20:42:34 -07:00
uclass-internal.h dm: drop CONFIG_DM_DEVICE_REMOVE from uncmd list 2015-08-18 13:46:04 -04:00
uclass.h dm: core: Add safe device iteration macros 2015-11-19 20:27:51 -07:00
util.h devres: add debug command to dump device resources 2015-08-06 07:44:29 -06:00