summaryrefslogtreecommitdiffstats
path: root/drivers/power/Kconfig
diff options
context:
space:
mode:
authorRodolfo Giometti <giometti@linux.it>2008-08-21 01:52:58 +0200
committerAnton Vorontsov <cbouatmailru@gmail.com>2008-09-01 00:46:12 +0200
commitb996ad0e9fb15ca4acc60bcd0380912117a45d13 (patch)
tree136fc068f1e5e92a94d0e93a84e07c825821c941 /drivers/power/Kconfig
parentpower_supply: Add function to return system-wide power state (diff)
downloadlinux-b996ad0e9fb15ca4acc60bcd0380912117a45d13.tar.xz
linux-b996ad0e9fb15ca4acc60bcd0380912117a45d13.zip
power_supply: Support for Texas Instruments BQ27200 battery managers
These battery managers came in two different packages: one for I2C busses (BQ27200) and one for HDQ busses (BQ27000). This driver currently supports only the I2C chip version but the code is designed in order to easily allow the HDQ chip version integration. [akpm@linux-foundation.org: coding-style fixes] [akpm@linux-foundation.org: make things static, use kasprintf()] Signed-off-by: Rodolfo Giometti <giometti@linux.it> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r--drivers/power/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig
index 9ce55850271a..b2bd104b9869 100644
--- a/drivers/power/Kconfig
+++ b/drivers/power/Kconfig
@@ -62,4 +62,10 @@ config BATTERY_PALMTX
help
Say Y to enable support for the battery in Palm T|X.
+config BATTERY_BQ27x00
+ tristate "BQ27200 battery driver"
+ depends on I2C
+ help
+ Say Y here to enable support for batteries with BQ27200(I2C) chip.
+
endif # POWER_SUPPLY