Skip to content

power: supply: bq25890: fix and extend

Michał Mirosław linux-devicetree linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 1 replyIn review
  2. v211 patches 9 repliesSuperseded
  3. v114 patches 0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8power: bq25890: use proper CURRENT_NOW property for I_BATdrivers/power/supply/bq25890_charger.c+10 -100 replies
2/8power: bq25890: fix ADC mode configurationdrivers/power/supply/bq25890_charger.c+26 -50 replies
3/8power: bq25890: update state on property readdrivers/power/supply/bq25890_charger.c+4 -00 replies
4/8power: bq25890: implement CHARGE_TYPE propertydrivers/power/supply/bq25890_charger.c+13 -00 replies
5/8power: bq25890: implement PRECHARGE_CURRENT propertydrivers/power/supply/bq25890_charger.c+5 -00 replies
6/8power: bq25890: implement INPUT_CURRENT_LIMIT propertydrivers/power/supply/bq25890_charger.c+11 -00 replies
7/8power: bq25890: support IBAT compensationdrivers/power/supply/bq25890_charger.c+13 -20 replies
8/8power: bq25890: document IBAT compensation DT propertiesDocumentation/devicetree/bindings/power/supply/bq25890.txt+4 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

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

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(-)
Signature · 1 line
2.20.1