diff options
author | Mike Looijmans <mike.looijmans@topic.nl> | 2014-10-28 03:05:12 -0400 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-01-21 21:23:07 -0500 |
commit | 085bc24d1553aae0d8a2b8e5b7c80c7862d0212c (patch) | |
tree | 7617801890a883e62e396c18d8b8b61aa7ca8a45 /drivers/power/Makefile | |
parent | 79969f6aafcb4c5d02fc9b33afc58446e4e9dbac (diff) |
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/Makefile')
-rw-r--r-- | drivers/power/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/Makefile b/drivers/power/Makefile index 31216cb7e8a1..36f9e0d10111 100644 --- a/drivers/power/Makefile +++ b/drivers/power/Makefile | |||
@@ -20,6 +20,7 @@ obj-$(CONFIG_BATTERY_DS2760) += ds2760_battery.o | |||
20 | obj-$(CONFIG_BATTERY_DS2780) += ds2780_battery.o | 20 | obj-$(CONFIG_BATTERY_DS2780) += ds2780_battery.o |
21 | obj-$(CONFIG_BATTERY_DS2781) += ds2781_battery.o | 21 | obj-$(CONFIG_BATTERY_DS2781) += ds2781_battery.o |
22 | obj-$(CONFIG_BATTERY_DS2782) += ds2782_battery.o | 22 | obj-$(CONFIG_BATTERY_DS2782) += ds2782_battery.o |
23 | obj-$(CONFIG_BATTERY_GAUGE_LTC2941) += ltc2941-battery-gauge.o | ||
23 | obj-$(CONFIG_BATTERY_GOLDFISH) += goldfish_battery.o | 24 | obj-$(CONFIG_BATTERY_GOLDFISH) += goldfish_battery.o |
24 | obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o | 25 | obj-$(CONFIG_BATTERY_PMU) += pmu_battery.o |
25 | obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o | 26 | obj-$(CONFIG_BATTERY_OLPC) += olpc_battery.o |