[PATCH v3 0/8] power: supply: bq25890: fix and extend

From: MichaÅ MirosÅaw
Date: Mon May 04 2020 - 15:47:33 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-3 fix property value reading, 4-6 add more information to
be read from the chip, 7-8 add IBAT compensation support.

---
v2 removes VBUS and VSYS additions (they need more intrusive changes
to properly fit into power supply class ABI) and adds binding
description to IBAT compensation devicetree properties.

v3 drops cleanup patches already applied and reintroduces a patch
to fix IBAT reading property ID (patch 1)

MichaÅ MirosÅaw (8):
power: bq25890: use proper CURRENT_NOW property for I_BAT
power: bq25890: fix ADC mode configuration
power: bq25890: update state on property read
power: bq25890: implement CHARGE_TYPE property
power: bq25890: implement PRECHARGE_CURRENT property
power: bq25890: implement INPUT_CURRENT_LIMIT property
power: bq25890: support IBAT compensation
power: bq25890: document IBAT compensation DT properties

.../bindings/power/supply/bq25890.txt | 4 +
drivers/power/supply/bq25890_charger.c | 99 +++++++++++++++----
2 files changed, 86 insertions(+), 17 deletions(-)

--
2.20.1