mbox series

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

Message ID cover.1588621247.git.mirq-linux@rere.qmqm.pl (mailing list archive)
Headers show
Series power: supply: bq25890: fix and extend | expand

Message

Michał Mirosław May 4, 2020, 7:47 p.m. UTC
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(-)