u-boot-brain/arch/arm/include/asm/arch-sunxi
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
..
clock_sun4i.h sunxi: mmc: Properly setup mod-clk and clock sampling phases 2015-01-14 14:56:36 +01:00
clock_sun6i.h sunxi: Fix PLL1 running at half speed on sun8i 2015-01-14 14:56:37 +01:00
clock.h sun6i: Add a sigma_delta_enable paramter to clock_set_pll5() 2015-01-14 14:56:37 +01:00
cpu.h sunxi: Add support for the rsb (Reduced Serial Bus) 2015-01-14 14:56:36 +01:00
cpucfg_sun6i.h sun6i: Add cpucfg register definitions 2014-11-13 14:49:01 +01:00
display.h sunxi: video: Set input sync enable 2015-01-14 14:56:38 +01:00
dram_sun4i.h sun4i: Rename dram files to dram_sun4i.x 2014-11-13 14:49:01 +01:00
dram_sun6i.h sun6i: Add dram initialization code 2014-11-13 14:49:01 +01:00
dram_sun8i.h sun8i: Add dram initialization support 2015-01-14 14:56:37 +01:00
dram.h sunxi: Fix buggy sun6i/sun8i DRAM size detection logic 2015-01-14 14:56:37 +01:00
gpio.h sunxi: gpio: Add support for gpio pins on the AXP209 pmic 2015-01-14 14:56:38 +01:00
i2c.h sunxi: Add i2c support 2014-07-18 19:41:30 +01:00
mmc.h sunxi: Use CONFIG_MACH_SUN?I from Kconfig instead of CONFIG_SUN?I 2014-11-05 13:09:58 +01:00
p2wi.h sun6i: Add new p2wi controller driver 2014-11-13 14:49:01 +01:00
prcm.h sunxi: Add support for the rsb (Reduced Serial Bus) 2015-01-14 14:56:36 +01:00
rsb.h sunxi: Add support for the rsb (Reduced Serial Bus) 2015-01-14 14:56:36 +01:00
spl.h arm: spl: fix include guard 2014-07-05 09:28:21 +02:00
sys_proto.h sunxi: add sun7i clocks and timer support. 2014-05-25 16:12:12 +02:00
timer.h sunxi: Use CONFIG_MACH_SUN?I from Kconfig instead of CONFIG_SUN?I 2014-11-05 13:09:58 +01:00
watchdog.h sunxi: Use CONFIG_MACH_SUN?I from Kconfig instead of CONFIG_SUN?I 2014-11-05 13:09:58 +01:00