u-boot-brain/arch/arm
Hans de Goede 6c727e09a0 sunxi: gpio: Add support for gpio pins on the AXP209 pmic
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>
2015-01-14 14:56:38 +01:00
..
cpu sunxi: Fix PLL1 running at half speed on sun8i 2015-01-14 14:56:37 +01:00
dts Merge branch 'master' of git://git.denx.de/u-boot-spi 2015-01-08 13:50:38 -05:00
imx-common imx: i2c: Zap unnecessary malloc() calls 2014-12-30 14:05:48 +01:00
include sunxi: gpio: Add support for gpio pins on the AXP209 pmic 2015-01-14 14:56:38 +01:00
lib arm: build arch memset/memcpy in Thumb2 mode 2015-01-09 10:20:22 -05:00
mvebu-common arm: kirkwood: Change naming of dram functions from km_foo() to mvebu_foo() 2014-10-23 09:59:21 -04:00
config.mk arm: build arch memset/memcpy in Thumb2 mode 2015-01-09 10:20:22 -05:00
Kconfig ARM: UniPhier: select CONFIG_SPL 2014-12-18 23:34:27 +09:00
Kconfig.debug arm: debug: add Kconfig entries for lowlevel debug 2014-10-26 22:23:12 +01:00
Makefile Kbuild: introduce Makefile in arch/$ARCH/ 2014-12-08 09:35:45 -05:00