[GIT PULL] power-supply changes for v6.1

From: Sebastian Reichel
Date: Thu Oct 06 2022 - 15:42:11 EST


Hi,

I have a couple of notes this time:

1. This adds the charger part of MFD_MT6370, which you pointed out in the
backlight pull request:

https://lore.kernel.org/all/CAHk-=whK-q1W-X0q0f_nBJ9sKyta-DVJhEAS4BF_oKAVAUQ4Jw@xxxxxxxxxxxxxx/

As you mentioned it can be build in linux-next and the required config
symbol is part of the MFD pull request:

https://lore.kernel.org/all/Yz6Zi7B2RS16sXhT@xxxxxxxxxx/

2. While talking about MFD pull request: This time Rockchip RK817 charger
driver is send via that tree due to dependencies.

3. There is a merge conflict with the i2c tree; but the solution is obvious:

https://lore.kernel.org/linux-next/20220912130344.2e635cd5@xxxxxxxxxxxxxxxx/

I hope, that this is all :)

-- Sebastian

The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868:

Linux 6.0-rc1 (2022-08-14 15:50:18 -0700)

are available in the Git repository at:

ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v6.1

for you to fetch changes up to 189a2aaef9cbee4cd7c3d1bd142f790cc14c598e:

power: supply: ab8500: remove unused static local variable (2022-10-05 23:47:04 +0200)

----------------------------------------------------------------
power supply and reset changes for the v6.1 series

- new maintenance charging documentation
- mt6370: new charger driver
- bq25890: support input current limit
- added Qualcomm PMK8350 PON support
- misc. minor fixes

----------------------------------------------------------------
Anjelique Melendez (1):
power: reset: qcom-pon: add support for qcom,pmk8350-pon compatible string

Ben Dooks (2):
power: supply: bq27xxx: fix __be16 warnings
power: supply: bq27xxx: fix NULL vs 0 warnings

ChiaEn Wu (3):
lib: add linear range index macro
dt-bindings: power: supply: Add MediaTek MT6370 Charger
power: supply: mt6370: Add MediaTek MT6370 charger driver

Colin Ian King (1):
power: supply: max1721x: Fix spelling mistake "Gauage" -> "Gauge"

David Collins (1):
dt-bindings: power: reset: qcom-pon: Add new compatible "qcom,pmk8350-pon"

Hans de Goede (1):
power: supply: bq25890: Disable PUMPX_EN on errors

Jules Maselbas (1):
power: supply: Fix repeated word in comments

Linus Walleij (1):
power: supply: Explain maintenance charging

Marek Vasut (1):
power: supply: bq25890: Add support for setting IINLIM

Nathan Chancellor (1):
power: supply: bq25890: Fix enum conversion in bq25890_power_supply_set_property()

Randy Dunlap (1):
power: supply: mt6370: uses IIO interfaces, depends on IIO

Sebastian Reichel (1):
Merge tag 'psy-linear-range-for-v6.1-signed' into psy-next

Shaomin Deng (1):
power: supply: tps65217: Fix comments typo

Tom Rix (1):
power: supply: ab8500: remove unused static local variable

Wei Yongjun (2):
power: supply: adp5061: fix out-of-bounds read in adp5061_get_chg_type()
power: supply: adp5061: show unknown capacity_level as text

Yang Yingliang (1):
power: supply: mt6370: Fix return value check in mt6370_chg_probe()

Yuan Can (1):
power: supply: ab8500: Remove unused struct ab8500_chargalg_sysfs_entry

Zheyu Ma (1):
power: supply: cw2015: Use device managed API to simplify the code

wangjianli (1):
power: supply: cpcap-charger: fix repeated words in comments

.../devicetree/bindings/power/reset/qcom,pon.yaml | 50 +-
.../power/supply/mediatek,mt6370-charger.yaml | 96 ++
drivers/power/reset/qcom-pon.c | 1 +
drivers/power/supply/Kconfig | 15 +
drivers/power/supply/Makefile | 1 +
drivers/power/supply/ab8500_chargalg.c | 8 -
drivers/power/supply/adp5061.c | 9 +-
drivers/power/supply/bq25890_charger.c | 30 +
drivers/power/supply/bq27xxx_battery.c | 60 +-
drivers/power/supply/cpcap-charger.c | 2 +-
drivers/power/supply/cw2015_battery.c | 14 +-
drivers/power/supply/max1721x_battery.c | 2 +-
drivers/power/supply/mt6370-charger.c | 961 +++++++++++++++++++++
drivers/power/supply/power_supply_sysfs.c | 2 +-
drivers/power/supply/tps65217_charger.c | 2 +-
include/linux/linear_range.h | 11 +
include/linux/power_supply.h | 48 +-
17 files changed, 1246 insertions(+), 66 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power/supply/mediatek,mt6370-charger.yaml
create mode 100644 drivers/power/supply/mt6370-charger.c

Attachment: signature.asc
Description: PGP signature