[GIT PULL] power-supply changes for 6.6

From: Sebastian Reichel
Date: Tue Aug 22 2023 - 19:18:05 EST


Hi Linus,

Here is an early pull request with the power-supply changes for the
v6.6 cycle, since I'm AFK from now until 2023-09-10. All changes
have been in linux-next for 3 weeks.

-- Sebastian

The following changes since commit 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5:

Linux 6.5-rc1 (2023-07-09 13:53:13 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v6.6

for you to fetch changes up to 7e6311f04b41174ccc738d37dcb4b93cd4de98b0:

power: supply: qcom_pmi8998_charger: fix charger status (2023-08-03 02:23:42 +0200)

----------------------------------------------------------------
power supply and reset changes for the 6.6 series

* core: avoid duplicate hwmon device from thermal framework
* convert multiple drivers to devm_platform_ioremap_resource
* at91-reset: add sysfs interface to the power on reason
* misc. small fixes and improvements

----------------------------------------------------------------
Caleb Connolly (2):
power: supply: qcom_pmi8998_charger: remove CHARGE_CONTROL_LIMIT_* props
power: supply: qcom_pmi8998_charger: fix charger status

Chen-Yu Tsai (1):
power: supply: core: Avoid duplicate hwmon device from thermal framework

Colin Ian King (1):
power: supply: bd99954: make read-only array sub_status_reg

Kamel Bouhara (1):
power: reset: at91-reset: add sysfs interface to the power on reason

Neil Armstrong (1):
power: reset: oxnas-restart: remove obsolete restart driver

Ricardo Rivera-Matos (1):
power: supply: bq24190: Considers FORCE_20PCT when getting IPRECHG

Rob Herring (1):
power: Explicitly include correct DT includes

Yangtao Li (6):
power: reset: at91-poweroff: Convert to devm_platform_ioremap_resource()
power: reset: at91-sama5d2_shdwc: Convert to devm_platform_ioremap_resource()
power: reset: brcm-kona: Convert to devm_platform_ioremap_resource()
power: reset: gemini-poweroff: Convert to devm_platform_ioremap_resource()
power: reset: msm: Convert to devm_platform_ioremap_resource()
power: reset: ocelot: Convert to devm_platform_ioremap_resource()

Yu Liao (1):
power: supply: qcom_pmi8998_charger: fix uninitialized variable

.../ABI/testing/sysfs-platform-power-on-reason | 12 ++
drivers/power/reset/Kconfig | 7 -
drivers/power/reset/Makefile | 1 -
drivers/power/reset/as3722-poweroff.c | 1 -
drivers/power/reset/at91-poweroff.c | 4 +-
drivers/power/reset/at91-reset.c | 37 +++-
drivers/power/reset/at91-sama5d2_shdwc.c | 4 +-
drivers/power/reset/brcm-kona-reset.c | 8 +-
drivers/power/reset/gemini-poweroff.c | 4 +-
drivers/power/reset/gpio-poweroff.c | 3 +-
drivers/power/reset/gpio-restart.c | 2 +-
drivers/power/reset/keystone-reset.c | 3 +-
drivers/power/reset/msm-poweroff.c | 6 +-
drivers/power/reset/ocelot-reset.c | 9 +-
drivers/power/reset/odroid-go-ultra-poweroff.c | 3 +-
drivers/power/reset/oxnas-restart.c | 233 ---------------------
drivers/power/reset/st-poweroff.c | 2 +-
drivers/power/reset/syscon-poweroff.c | 3 +-
drivers/power/reset/syscon-reboot.c | 3 +-
drivers/power/reset/xgene-reboot.c | 2 +-
drivers/power/supply/axp20x_ac_power.c | 1 -
drivers/power/supply/axp20x_battery.c | 1 -
drivers/power/supply/axp20x_usb_power.c | 1 -
drivers/power/supply/bd99954-charger.c | 2 +-
drivers/power/supply/bq24190_charger.c | 17 +-
drivers/power/supply/cpcap-battery.c | 2 +-
drivers/power/supply/da9150-charger.c | 2 -
drivers/power/supply/da9150-fg.c | 1 -
drivers/power/supply/lego_ev3_battery.c | 2 +-
drivers/power/supply/ltc2941-battery-gauge.c | 2 +-
drivers/power/supply/ltc4162-l-charger.c | 2 +-
drivers/power/supply/max14656_charger_detector.c | 2 +-
drivers/power/supply/max17040_battery.c | 2 +-
drivers/power/supply/max8903_charger.c | 1 -
drivers/power/supply/power_supply_core.c | 6 +-
drivers/power/supply/qcom_pmi8998_charger.c | 13 +-
drivers/power/supply/rn5t618_power.c | 1 -
drivers/power/supply/rt5033_charger.c | 2 +-
drivers/power/supply/rt9455_charger.c | 3 +-
drivers/power/supply/sbs-battery.c | 2 +-
drivers/power/supply/tps65090-charger.c | 2 +-
drivers/power/supply/tps65217_charger.c | 1 -
drivers/power/supply/twl4030_charger.c | 1 +
include/linux/power/power_on_reason.h | 19 ++
44 files changed, 114 insertions(+), 321 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-platform-power-on-reason
delete mode 100644 drivers/power/reset/oxnas-restart.c
create mode 100644 include/linux/power/power_on_reason.h

Attachment: signature.asc
Description: PGP signature