u-boot/drivers/power
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
..
battery power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
fuel_gauge fuelgauge: max17042: fix i2c read issue which causes infinity loop. 2014-01-14 09:01:05 -05:00
mfd power: Add PMIC_ prefix to CHARGER_EN/DISABLE 2014-05-28 10:58:18 +09:00
pmic arm: odroid: pmic77686: allow buck voltage settings 2014-11-17 19:33:21 +09:00
as3722.c power: Add AMS AS3722 PMIC support 2014-12-18 13:19:20 -07:00
axp152.c sunxi: axp152: dcdc3 scale is 50mV / step not 25mV / step 2014-10-13 09:02:01 -04:00
axp209.c sunxi: gpio: Add support for gpio pins on the AXP209 pmic 2015-01-14 14:56:38 +01:00
axp221.c sunxi: axp221: Explicitly turn off unused voltages 2015-01-14 14:56:37 +01:00
exynos-tmu.c power: exynos-tmu: use the mux_addr bit fields in tmu_control register 2013-06-13 17:53:37 +09:00
ftpmu010.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
Kconfig sunxi: axp221: Explicitly turn off unused voltages 2015-01-14 14:56:37 +01:00
Makefile power: Add AMS AS3722 PMIC support 2014-12-18 13:19:20 -07:00
palmas.c arm: omap: add support for am57xx devices 2014-12-04 11:04:14 -05:00
power_core.c power: fix: Do not execute pmic command when not all necessary parameters are passed 2014-02-24 10:56:33 -05:00
power_dialog.c Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
power_fsl.c power: Rename CONFIG_PMIC_... to CONFIG_POWER_... 2014-05-28 10:58:18 +09:00
power_i2c.c Replace <compiler.h> with <linux/compiler.h> 2014-12-08 09:35:46 -05:00
power_spi.c power_spi.c: Rewrite pmic_reg function 2014-11-07 16:27:05 -05:00
tps6586x.c dm: i2c: tegra: Convert to driver model 2014-12-11 13:18:44 -07:00
twl4030.c twl4030: device-index-specific MMC power initializations, common ramp-up delay 2014-12-04 11:04:40 -05:00
twl6030.c ARMV7: OMAP4: Add twl6032 support 2013-12-04 08:11:28 -05:00