power: bq25890: implement CHARGE_TYPE property

Report charging type based on recently read state.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
This commit is contained in:
Michał Mirosław 2020-05-04 21:47:46 +02:00 • committed by Sebastian Reichel
commit b302a0ae72