u-boot-brain/drivers/pinctrl
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
..
rockchip rockchip: pinctrl: Add a full pinctrl driver 2016-01-21 20:42:35 -07:00
uniphier Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
Kconfig rockchip: rk3036: Add pinctrl driver 2015-12-01 08:07:22 -07:00
Makefile Various Makefiles: Add SPDX-License-Identifier tags 2015-11-10 09:19:52 -05:00
pinctrl-generic.c pinctrl: add pin control uclass support 2015-08-31 07:57:29 -06:00
pinctrl-sandbox.c pinctrl: sandbox: add sandbox pinctrl driver 2015-08-31 07:57:29 -06:00
pinctrl-uclass.c dm: pinctrl: Add a way for a GPIO driver to obtain a pin function 2016-01-21 20:42:35 -07:00