power: supply: bq25890_charger: Read back the current battery voltage
authorAngus Ainslie (Purism) <angus@akkea.ca>
Tue, 31 Jul 2018 17:49:09 +0000 (11:49 -0600)
committerSebastian Reichel <sre@kernel.org>
Sun, 16 Sep 2018 09:29:10 +0000 (11:29 +0200)
commitae6fe7a387e97e2ea8cc275fff5ef55568c4daf3
tree9402e9787fa5d829bf3848f62c30fbd5db87e396
parent2e1a2ddee9cef07f5b1fab5625dcc56078139a4e
power: supply: bq25890_charger: Read back the current battery voltage

The BQ2589x family has the capability of reading the current battery voltage.

Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/bq25890_charger.c