Skip to content

power: supply: bq25890: Fixes for 6.2 + further work for 6.3

Hans de Goede linux-pm 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest9 patches 4 repliesIn review
  2. v110 patches 12 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9power: supply: bq25890: Ensure pump_express_work is cancelled on removedrivers/power/supply/bq25890_charger.c+15 -01 reply
2/9power: supply: bq25890: Fix usb-notifier probe and remove racesdrivers/power/supply/bq25890_charger.c+12 -181 reply
3/9power: supply: bq25890: Factor out chip state updatedrivers/power/supply/bq25890_charger.c+16 -70 replies
4/9power: supply: bq25890: Add HiZ mode supportdrivers/power/supply/bq25890_charger.c+44 -140 replies
5/9power: supply: bq25890: Fix setting of F_CONV_RATE rate when disabling HiZ modedrivers/power/supply/bq25890_charger.c+17 -240 replies
6/9power: supply: bq25890: Always take HiZ mode into account for ADC ratedrivers/power/supply/bq25890_charger.c+2 -20 replies
7/9power: supply: bq25890: Support boards with more then one charger ICdrivers/platform/x86/x86-android-tablets.c drivers/power/supply/bq25890_charger.c+26 -50 replies
8/9power: supply: bq25890: Add support for having a secondary charger ICdrivers/power/supply/bq25890_charger.c+44 -10 replies
9/9power: supply: bq25890: Add new linux,iinlim-percentage propertydrivers/power/supply/bq25890_charger.c+28 -30 replies

Reviews trailers per patch

8 of 9 patches have a Reviewed-by or Acked-by.

PatchMarek VasutHans de Goede
1/9R-b
2/9R-b
3/9R-b
4/9R-b
5/9R-b
6/9R-b
7/9R-b
8/9R-b
9/9

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/9] power: supply: bq25890: Fixes for 6.2 + further work for 6.3

Hi Sebastian, Marek,

Here is v2 of my bq25890 series from yesterday, addressing the few small remarks from Marek + adding Marek's Reviewed-by to most of my patches. Note I dropped patch 1/10 from the v1 series since that has already been merged.

Here is a (slightly updated) copy of the v1 cover letter:

I have been working on getting a Lenovo Yoga Tab 3 Pro (YT3-X90F) to work with the mainline kernel. This tablet has 2 batteries with 2 bq25892 chargers both connected to a single Micro-USB connector.

Supporting the 2 charger board also requires the recent HiZ mode patches from Marek, to avoid merging order problems / conflicts I have included a copy of Marek's series here so this series obsoletes the:

[PATCH 1/2] power: supply: bq25890: Factor out chip state update [PATCH 2/2] power: supply: bq25890: Add HiZ mode support [PATCH v2 1/2] power: supply: bq25890: Factor out chip state update [PATCH v2 2/2] power: supply: bq25890: Add HiZ mode support

patches from Marek.

While working on adding support for this I also noticed some generic issues with the bq25890 driver currently in linux-power-supply/for-next and I also have some fixes to the HiZ support on top of Marek's support.

So this entire series consist of 4 parts:

1. Patches 1-2:

Generic bugfixes for the bq25890 charger in its current state in linux-power-supply/for-next.

2. Patches 3-4:

Marek's HiZ support work, thank you Marek.

3. Patches 5-6:

Some fixes / improvements from me to Marek's HiZ support.

4. Patch 7-9:

The actual support for boards with 2 chargers.

Regards,

Hans

Hans de Goede (7):
power: supply: bq25890: Ensure pump_express_work is cancelled on
remove
power: supply: bq25890: Fix usb-notifier probe and remove races
power: supply: bq25890: Fix setting of F_CONV_RATE rate when disabling
HiZ mode
power: supply: bq25890: Always take HiZ mode into account for ADC rate
power: supply: bq25890: Support boards with more then one charger IC
power: supply: bq25890: Add support for having a secondary charger IC
power: supply: bq25890: Add new linux,iinlim-percentage property

Marek Vasut (2):
power: supply: bq25890: Factor out chip state update
power: supply: bq25890: Add HiZ mode support

 drivers/platform/x86/x86-android-tablets.c |   2 +-
 drivers/power/supply/bq25890_charger.c     | 226 ++++++++++++++++-----
 2 files changed, 179 insertions(+), 49 deletions(-)
Signature · 1 line
2.37.3