diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-03 13:16:23 +0000 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-02-03 13:16:23 +0000 |
commit | 4b68270174d5ede6d75fab543cdb7d7a379a0cf9 (patch) | |
tree | 1d1621ec7e47141c91b67ae82b89ef8e57c120c3 /target/linux/xburst/patches-2.6.32 | |
parent | 088d4ea689105de953ce806bc78ea31b60d78197 (diff) | |
download | upstream-4b68270174d5ede6d75fab543cdb7d7a379a0cf9.tar.gz upstream-4b68270174d5ede6d75fab543cdb7d7a379a0cf9.tar.bz2 upstream-4b68270174d5ede6d75fab543cdb7d7a379a0cf9.zip |
[xburst] Seperate charger logic from battery driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19504 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/xburst/patches-2.6.32')
-rw-r--r-- | target/linux/xburst/patches-2.6.32/106-gpio-charger.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/xburst/patches-2.6.32/106-gpio-charger.patch b/target/linux/xburst/patches-2.6.32/106-gpio-charger.patch new file mode 100644 index 0000000000..dd1713a4d6 --- /dev/null +++ b/target/linux/xburst/patches-2.6.32/106-gpio-charger.patch @@ -0,0 +1,21 @@ +--- a/drivers/power/Makefile 2010-02-03 13:16:32.000000000 +0100 ++++ b/drivers/power/Makefile 2010-02-01 14:55:46.000000000 +0100 +@@ -30,3 +30,4 @@ + obj-$(CONFIG_BATTERY_MAX17040) += max17040_battery.o + obj-$(CONFIG_CHARGER_PCF50633) += pcf50633-charger.o + obj-$(CONFIG_BATTERY_JZ4740) += jz4740-battery.o ++obj-$(CONFIG_CHARGER_GPIO) += gpio-charger.o +--- a/drivers/power/Kconfig 2010-02-03 13:16:32.000000000 +0100 ++++ b/drivers/power/Kconfig 2010-02-01 14:58:24.000000000 +0100 +@@ -121,4 +121,11 @@ + This driver can be build as a module. If so, the module will be + called jz4740-battery. + ++config CHARGER_GPIO ++ tristate "GPIO charger" ++ depends on GPIOLIB ++ help ++ Say Y to include support for chargers indicating their status through ++ a GPIO pin. ++ + endif # POWER_SUPPLY |