mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 17:41:08 +00:00
6c727e09a0
Some boards use GPIO-s on the pmic, one example of this is the A13-OLinuXino board, which uses gpio0 of the axp209 for the lcd-power signal. This commit adds support for gpio pins on the AXP209 pmic, the sunxi_gpio.c changes are universal, adding gpio support for the other AXP pmics (when necessary) should be a matter of adding the necessary axp_gpio_foo functions to their resp. drivers, and add "#define AXP_GPIO" to their header file. Note this commit only adds support for the non device-model version of the gpio code, patches for adding support to the device-model version are very welcome. The string representation for these gpio-s is AXP0-#, the 0 in the AXP0 prefix is there in case we need to support gpio-s on more then 1 pmic in the future. At least A80 boards have 2 pmics, and we may end up needing to support gpio-s on both. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk> |
||
---|---|---|
.. | ||
adi_gpio2.c | ||
altera_pio.c | ||
at91_gpio.c | ||
bcm2835_gpio.c | ||
da8xx_gpio.c | ||
db8500_gpio.c | ||
gpio-uclass.c | ||
intel_ich6_gpio.c | ||
Kconfig | ||
kona_gpio.c | ||
kw_gpio.c | ||
Makefile | ||
mpc83xx_gpio.c | ||
mvgpio.c | ||
mvgpio.h | ||
mvmfp.c | ||
mxc_gpio.c | ||
mxs_gpio.c | ||
omap_gpio.c | ||
pca953x.c | ||
pca9698.c | ||
s3c2440_gpio.c | ||
s5p_gpio.c | ||
sandbox.c | ||
sh_pfc.c | ||
spear_gpio.c | ||
sunxi_gpio.c | ||
sx151x.c | ||
tca642x.c | ||
tegra_gpio.c | ||
xilinx_gpio.c |