[PATCH 00/14] power: supply: bq25890: fix and extend

From: MichaÅ MirosÅaw
Date: Thu Apr 02 2020 - 10:58:34 EST


This series consists of a set of fixes and enchancements to bq25890
driver. This is tested on a board using bq25896 as battery controller.

Patches 1-6 are fixes and cleanups, patches 7-14 update and extend
property support.

Series depends on core extensions from earlier series [1].

[1] https://lore.kernel.org/linux-pm/cover.1585837575.git.mirq-linux@xxxxxxxxxxxx/

MichaÅ MirosÅaw (14):
power: supply: bq25890: remove redundant I2C bus check
power: supply: bq25890: simplify chip name property getter
power: supply: bq25890: make property table const
power: supply: bq25890: protect view of the chip's state
power: supply: bq25890: fix ADC mode configuration
power: supply: bq25890: update state on property read
power: supply: bq25890: implement CHARGE_TYPE property
power: supply: bq25890: implement PRECHARGE_CURRENT property
power: supply: bq25890: implement INPUT_CURRENT_LIMIT property
power: supply: bq25890: use proper CURRENT_NOW property for I_BAT
power: supply: bq25890: show measured VBUS
power: supply: bq25890: show VSYS as output voltage
power: supply: bq25890: show VBAT as VOLTAGE_NOW
power: supply: bq25890: support IBAT compensation

drivers/power/supply/bq25890_charger.c | 261 +++++++++++++++----------
1 file changed, 154 insertions(+), 107 deletions(-)

--
2.20.1