Skip to content
Commit 085bc24d authored by Mike Looijmans's avatar Mike Looijmans Committed by Sebastian Reichel
Browse files

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: default avatarMike Looijmans <mike.looijmans@topic.nl>
[ removed .owner field ]
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 79969f6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment