diff options
author | Alex A. Mihaylov <minimumlaw@rambler.ru> | 2017-07-06 16:10:16 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-07-24 15:09:34 +0300 |
commit | 10e48b7d73487114bdd13bc1ebd10b6ba62de25b (patch) | |
tree | 1a33e6a00a7a7dc2b2a806293e380aab78562fa8 /drivers/power/supply/Kconfig | |
parent | 980092efd497dd691438e086dd929c1b04ecc529 (diff) | |
download | linux-10e48b7d73487114bdd13bc1ebd10b6ba62de25b.tar.xz |
power: supply: Add support for MAX1721x standalone fuel gauge
The MAX17211 monitor a single cell pack. The MAX17215 monitor and
balance a 2S or 3S pack or monitor a multiple-series cell pack.
Both device use 1-Wire interfce.
Signed-off-by: Alex A. Mihaylov <minimumlaw@rambler.ru>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'drivers/power/supply/Kconfig')
-rw-r--r-- | drivers/power/supply/Kconfig | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/power/supply/Kconfig b/drivers/power/supply/Kconfig index 969f5005669c..15c80c7f8f9e 100644 --- a/drivers/power/supply/Kconfig +++ b/drivers/power/supply/Kconfig @@ -313,6 +313,19 @@ config BATTERY_MAX17042 with MAX17042. This driver also supports max17047/50 chips which are improved version of max17042. +config BATTERY_MAX1721X + tristate "MAX17211/MAX17215 standalone gas-gauge" + depends on W1 + select REGMAP_W1 + help + MAX1721x is fuel-gauge systems for lithium-ion (Li+) batteries + in handheld and portable equipment. MAX17211 used with single cell + battery. MAX17215 designed for muticell battery. Both them have + OneWire (W1) host interface. + + Say Y here to enable support for the MAX17211/MAX17215 standalone + battery gas-gauge. + config BATTERY_Z2 tristate "Z2 battery driver" depends on I2C && MACH_ZIPIT2 |