]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb49229cc9660508eac50ae26a0f640e9ce0f863
tree7d0d646d71008c39abfd19f55d8fbd68852ac1d8
parent1a9070a7d535ca6440df782fc89c0675fd00679d
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