power: supply: ltc2941-battery-gauge: Add LTC2942 support
authorLadislav Michl <ladis@linux-mips.org>
Sun, 16 Jul 2017 09:34:00 +0000 (11:34 +0200)
committerSebastian Reichel <sre@kernel.org>
Tue, 25 Jul 2017 10:10:52 +0000 (12:10 +0200)
commita65df832f96588debbbdd93d392a4ff77d5d237c
tree7d0d646d71008c39abfd19f55d8fbd68852ac1d8
parent63e67c5769c23e0af729ecc2d28e4326f3a67a08
power: supply: ltc2941-battery-gauge: Add LTC2942 support

LTC2942 is pin compatible with LTC2941 providing additional
informations about battery voltage and temperature. It can
be runtime detected using bit A7 in the Status register.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Dragos Bogdan <dragos.bogdan@analog.com>
Tested-by: Dragos Bogdan <dragos.bogdan@analog.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Documentation/devicetree/bindings/power/supply/ltc2941.txt
drivers/power/supply/ltc2941-battery-gauge.c