aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-10-21 11:55:01 -0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2010-11-18 08:56:17 -0500
commit5070437cd99511f69ae561f2ab417142a47a85ec (patch)
tree379dd2ab427ff33c09bee57f9d89726071b64137 /drivers/power/Kconfig
parent8ec98fe0b4ffdedce4c1caa9fb3d550f52ad1c6b (diff)
power_supply: Add gpio charger driver
This patch adds a simple driver for chargers indicating their online status through a GPIO pin. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 60d83d983a36..32165295cb1b 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -185,4 +185,14 @@ config CHARGER_TWL4030
185 help 185 help
186 Say Y here to enable support for TWL4030 Battery Charge Interface. 186 Say Y here to enable support for TWL4030 Battery Charge Interface.
187 187
188config CHARGER_GPIO
189 tristate "GPIO charger"
190 depends on GPIOLIB
191 help
192 Say Y to include support for chargers which report their online status
193 through a GPIO pin.
194
195 This driver can be build as a module. If so, the module will be
196 called gpio-charger.
197
188endif # POWER_SUPPLY 198endif # POWER_SUPPLY