diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2014-10-28 10:05:12 +0300 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-01-22 05:23:07 +0300 |
commit | 085bc24d1553aae0d8a2b8e5b7c80c7862d0212c (patch) | |
tree | 7617801890a883e62e396c18d8b8b61aa7ca8a45 /drivers/power/Kconfig | |
parent | 79969f6aafcb4c5d02fc9b33afc58446e4e9dbac (diff) | |
download | linux-085bc24d1553aae0d8a2b8e5b7c80c7862d0212c.tar.xz |
Add LTC2941/LTC2943 Battery Gauge Driver
Both the LTC2941 and LTC2943 measure battery capacity.
The LTC2943 is compatible with the LTC2941, it adds voltage and
temperature monitoring, and uses a slightly different conversion
formula for the charge counter.
To avoid confusion with e.g. the LTC2945, the driver is called
LTC2941 instead of LTC294X.
v2: Fix units of measurement: uV, uA and centidegrees.
v3: Correctly set configuration register. Allow negative values
for the sense resistor.
v4: Run checkpatch.pl and fix all errors and warnings.
v5: Prefix "lltc," to devicetree properties.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
[ removed .owner field ]
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index a79f16afb588..27b751b995fb 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -388,6 +388,14 @@ config CHARGER_TPS65090 Say Y here to enable support for battery charging with TPS65090 PMIC chips. +config BATTERY_GAUGE_LTC2941 + tristate "LTC2941/LTC2943 Battery Gauge Driver" + depends on I2C + help + Say Y here to include support for LTC2941 and LTC2943 Battery + Gauge IC. The driver reports the charge count continuously, and + measures the voltage and temperature every 10 seconds. + config AB8500_BM bool "AB8500 Battery Management Driver" depends on AB8500_CORE && AB8500_GPADC |