linux/drivers/power/supply
Linus Torvalds 07b4382043 power supply and reset changes for the 6.17 series
* power-supply core
   - battery-info: replace any DT specific bits with fwnode usage
   - replace any device-tree code with generic fwnode based handling
  * power-supply drivers
   - ug3105_battery: use battery-info API
   - qcom_battmgr: report capacity
   - qcom_battmgr: support LiPo battery reporting
   - add missing missing power-supply ref to a bunch of DT bindings
   - update drivers regarding pm_runtime_autosuspend() usage
   - misc. minor fixes and cleanups
  * reset drivers
   - misc. minor cleanups
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEE72YNB0Y/i3JqeVQT2O7X88g7+poFAmiMECsACgkQ2O7X88g7
 +pq18BAAgwWUJyV1YrzODAEC+GAIScV7E9aWHiWBYaR6huI6sXssgM9sUyQvSDw8
 IawbPGVeqgK2g7JHdLqduMILGrmNh268b2l3aJJzN0erM2bcIs9RtB2bMzJgSChH
 eDPOLKlQJJqR/PMQowHE4UEmbIep+8ISLP9GuiIa0e46ckdPWtAKnxWdReC3Pefs
 h9eRnzZof6A3dfoIhpCe182+RXPbVll7eHk8kvSYZgVUHHMfN509JDC7VMv6dG5p
 XOUiS6h2mebqoaNKBF7swr0nmkv4zLpLWBc//rreP+v26C97Ks+tfNrZ/fKrRR7E
 L7M1peg7KPLFooM3dQrngbaO2/h4am2kPb92YreXuDHMEBJQuauhOgAmrPOCFmJi
 l/nN2IbY4J9ArdsVbwATriFMPyem/N60xiq6Tr0F7DS9GBcO5dqX8g9iHY68Qu/g
 9HZAhiqrmxpUQ5cDUG1eYWSoK6YvdoP5bM7wJz8W5kbnIx2ngsMBhWPPh2fTmtoE
 c3qU7gSZK3jKUYAzu4vbFyL/htKc6ZO8ej2VDwjBb2OjVx+leYeC7kasRPDy5MkO
 G8Zuq9DZ1QAPp9aYAFVmZbHH1bTMD0UeYNMnSW/KaJZ5WecbUlzUkgCJvnH3JcYm
 5JbKDFykvItcyiS7+c6fflrJuv510Hf3R3degaqqXby4v80bMnY=
 =Lfxr
 -----END PGP SIGNATURE-----

Merge tag 'for-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply

Pull power supply and reset updates from Sebastian Reichel:
 "Power-supply core:
   - battery-info: replace any DT specific bits with fwnode usage
   - replace any device-tree code with generic fwnode based handling

  Power-supply drivers:
   - ug3105_battery: use battery-info API
   - qcom_battmgr: report capacity
   - qcom_battmgr: support LiPo battery reporting
   - add missing missing power-supply ref to a bunch of DT bindings
   - update drivers regarding pm_runtime_autosuspend() usage
   - misc minor fixes and cleanups

  Reset drivers:
   - misc minor cleanups"

* tag 'for-v6.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (32 commits)
  power: supply: core: fix static checker warning
  power: supply: twl4030_charger: Remove redundant pm_runtime_mark_last_busy() calls
  power: supply: bq24190: Remove redundant pm_runtime_mark_last_busy() calls
  MAINTAINERS: rectify file entry in QUALCOMM SMB CHARGER DRIVER
  power: supply: max1720x correct capacity computation
  MAINTAINERS: add myself as smbx charger driver maintainer
  power: supply: pmi8998_charger: rename to qcom_smbx
  power: supply: qcom_pmi8998_charger: fix wakeirq
  power: supply: max14577: Handle NULL pdata when CONFIG_OF is not set
  power: return the correct error code
  power: reset: POWER_RESET_TORADEX_EC should depend on ARCH_MXC
  power: supply: cpcap-charger: Fix null check for power_supply_get_by_name
  power: supply: bq25980_charger: Constify reg_default array
  power: supply: bq256xx_charger: Constify reg_default array
  power: reset: at91-sama5d2_shdwc: Refactor wake-up source logging to use dev_info
  power: reset: qcom-pon: Rename variables to use generic naming
  power: supply: qcom_battmgr: Add lithium-polymer entry
  power: supply: qcom_battmgr: Report battery capacity
  power: supply: bq24190: Free battery_info
  power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap()
  ...
2025-07-31 21:39:01 -07:00
..
88pm860x_battery.c power: supply: Use str_enable_disable-like helpers 2025-01-15 21:41:22 +01:00
88pm860x_charger.c
ab8500-bm.h
ab8500-chargalg.h
ab8500_bmdata.c power: supply: ab8500: constify ocv table 2024-10-15 22:14:12 +02:00
ab8500_btemp.c power: supply: ab8500: use power_supply_for_each_psy() 2024-12-11 02:00:24 +01:00
ab8500_chargalg.c power: supply: ab8500_chargalg: Switch to use hrtimer_setup() 2025-02-18 11:19:04 +01:00
ab8500_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
ab8500_fg.c power: supply: ab8500: use dev_to_psy() 2024-12-11 02:00:25 +01:00
acer_a500_battery.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
act8945a_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
adp5061.c power: supply: Fix a typo 2024-10-15 22:37:54 +02:00
apm_power.c power: supply: apm_power: use power_supply_for_each_psy() 2024-12-11 02:00:24 +01:00
axp20x_ac_power.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
axp20x_battery.c power supply and reset changes for the 6.15 series 2025-03-29 18:11:12 -07:00
axp20x_usb_power.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
axp288_charger.c
axp288_fuel_gauge.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
bd99954-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
bd99954-charger.h
bq27xxx_battery.c power: supply: bq27xxx: Retrieve again when busy 2025-04-28 00:24:52 +02:00
bq27xxx_battery_hdq.c
bq27xxx_battery_i2c.c power: supply: bq27xxx: Retrieve again when busy 2025-04-28 00:24:52 +02:00
bq256xx_charger.c power: supply: bq256xx_charger: Constify reg_default array 2025-06-22 19:21:11 +02:00
bq2415x_charger.c power: supply: core: rename power_supply_get_by_phandle to power_supply_get_by_reference 2025-06-22 02:04:30 +02:00
bq2515x_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
bq24190_charger.c power: supply: bq24190: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-07 00:56:46 +02:00
bq24257_charger.c power: supply: bq24257: convert to use maple tree register cache 2025-03-08 01:30:54 +01:00
bq24735-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
bq25890_charger.c power: supply: bq25890: convert to use maple tree register cache 2025-03-08 01:30:54 +01:00
bq25980_charger.c power: supply: bq25980_charger: Constify reg_default array 2025-06-22 19:21:11 +02:00
bq25980_charger.h
chagall-battery.c power: supply: Add driver for Pegatron Chagall battery 2025-04-30 00:02:18 +02:00
charger-manager.c power: supply: Use str_enable_disable-like helpers 2025-01-15 21:41:22 +01:00
collie_battery.c power: supply: collie: Fix wakeup source leaks on device unbind 2025-04-08 23:18:04 +02:00
cpcap-battery.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
cpcap-charger.c power: supply: cpcap-charger: Fix null check for power_supply_get_by_name 2025-06-22 19:23:04 +02:00
cros_charge-control.c power: supply: cros_charge-control: Avoid -Wflex-array-member-not-at-end warning 2025-04-29 23:58:33 +02:00
cros_peripheral_charger.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
cros_usbpd-charger.c power: supply: cros_usbpd-charger: register power supply with devm_power_supply_register() 2024-10-15 22:22:21 +02:00
cw2015_battery.c
da9030_battery.c power: supply: da9030: convert timeouts to secs_to_jiffies() 2025-03-17 12:16:58 -07:00
da9052-battery.c power: Switch back to struct platform_driver::remove() 2024-10-21 15:51:42 +02:00
da9150-charger.c power: Switch back to struct platform_driver::remove() 2024-10-21 15:51:42 +02:00
da9150-fg.c power: supply: da9150-fg: fix potential overflow 2025-02-03 12:23:49 +01:00
ds2760_battery.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
ds2780_battery.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
ds2781_battery.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
ds2782_battery.c power: supply: ds2782: Use devm_delayed_work_autocancel() helper 2024-12-04 22:31:32 +01:00
generic-adc-battery.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
goldfish_battery.c
gpio-charger.c power: supply: gpio-charger: Fix wakeup source leaks on device unbind 2025-04-08 23:18:04 +02:00
huawei-gaokun-battery.c power: supply: add Huawei Matebook E Go psy driver 2025-05-01 00:34:12 +02:00
ingenic-battery.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
ip5xxx_power.c i2c-for-6.15-rc1 2025-04-01 14:21:02 -07:00
ipaq_micro_battery.c power: Switch back to struct platform_driver::remove() 2024-10-21 15:51:42 +02:00
isp1704_charger.c power: Switch back to struct platform_driver::remove() 2024-10-21 15:51:42 +02:00
Kconfig power: supply: max77976: add EXTCON dependency 2025-05-03 19:16:59 +02:00
lego_ev3_battery.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
lenovo_yoga_c630_battery.c power: supply: lenovo_yoga_c630_battery: register power supplies with power_supply_register() 2024-10-15 22:22:21 +02:00
lp8727_charger.c
lp8788-charger.c power: Switch back to struct platform_driver::remove() 2024-10-21 15:51:42 +02:00
lt3651-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
ltc2941-battery-gauge.c
ltc4162-l-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
Makefile power: supply: pmi8998_charger: rename to qcom_smbx 2025-06-22 21:07:48 +02:00
max1720x_battery.c power: supply: max1720x correct capacity computation 2025-06-22 23:27:44 +02:00
max1721x_battery.c
max8903_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
max8925_power.c power: Switch back to struct platform_driver::remove() 2024-10-21 15:51:42 +02:00
max8971_charger.c power: supply: Add support for Maxim MAX8971 charger 2025-05-01 22:44:04 +02:00
max8997_charger.c
max8998_charger.c
max14577_charger.c power: supply: max14577: Handle NULL pdata when CONFIG_OF is not set 2025-06-22 19:29:23 +02:00
max14656_charger_detector.c
max17040_battery.c power: supply: max17040: adjust thermal channel scaling 2025-05-01 00:50:14 +02:00
max17042_battery.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
max77650-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
max77693_charger.c power: supply: max77693: Fix wrong conversion of charge input threshold value 2025-03-17 15:25:24 +01:00
max77705_charger.c power: supply: max77705: Fix workqueue error handling in probe 2025-04-29 00:15:24 +02:00
max77976_charger.c power: supply: max77976_charger: register power supply with devm_power_supply_register() 2024-10-15 22:22:21 +02:00
mm8013.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
mp2629_charger.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
mt6360_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
mt6370-charger.c power: supply: mt6370: Remove redundant 'flush_workqueue()' calls 2025-03-17 16:00:09 +01:00
olpc_battery.c sysfs: treewide: switch back to attribute_group::bin_attrs 2025-06-17 10:44:15 +02:00
pm8916_bms_vm.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
pm8916_lbc.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
pmu_battery.c power: supply: pmu_battery: Set power supply type to BATTERY 2024-11-10 03:33:17 +01:00
power_supply.h power: supply: core: fix build of extension sysfs group if CONFIG_SYSFS=n 2024-12-19 21:45:58 +01:00
power_supply_core.c power supply and reset changes for the 6.17 series 2025-07-31 21:39:01 -07:00
power_supply_hwmon.c power: supply: hwmon: prepare for power supply extensions 2024-12-05 00:02:31 +01:00
power_supply_leds.c
power_supply_sysfs.c platform-drivers-x86 for v6.16-1 2025-05-29 10:19:22 -07:00
qcom_battmgr.c power: supply: qcom_battmgr: Add lithium-polymer entry 2025-06-22 02:56:51 +02:00
qcom_smbb.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
qcom_smbx.c power: supply: pmi8998_charger: rename to qcom_smbx 2025-06-22 21:07:48 +02:00
rk817_charger.c power: supply: rk817: remove redundant null check on node 2025-04-08 22:46:49 +02:00
rn5t618_power.c power: supply: Change usb_types from an array into a bitmask 2024-09-03 23:20:28 +02:00
rt5033_battery.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
rt5033_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
rt9455_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
rt9467-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
rt9471.c power: supply: rt9471: Simplify definition of some struct linear_range 2025-05-03 19:17:02 +02:00
rx51_battery.c
samsung-sdi-battery.c power: supply: samsung-sdi-battery: constify ocv table 2024-10-15 22:14:12 +02:00
samsung-sdi-battery.h
sbs-battery.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
sbs-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
sbs-manager.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
sc27xx_fuel_gauge.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
sc2731_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
smb347-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
stc3117_fuel_gauge.c power: supply: Add STC3117 fuel gauge unit driver 2024-12-21 16:39:34 +01:00
surface_battery.c power: supply: surface_battery: use dev_to_psy() 2024-12-11 02:00:25 +01:00
surface_charger.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
test_power.c power: supply: test-power: Test access to extended power supply 2025-07-07 15:19:49 +03:00
tps65090-charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
tps65217_charger.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
twl4030_charger.c power: supply: twl4030_charger: Remove redundant pm_runtime_mark_last_busy() calls 2025-07-07 00:56:46 +02:00
twl4030_madc_battery.c
twl6030_charger.c power: supply: initial support for TWL6030/32 2024-10-16 22:23:39 +02:00
ucs1002_power.c power: supply: all: switch psy_cfg from of_node to fwnode 2025-03-08 01:42:34 +01:00
ug3105_battery.c power: supply: ug3105_battery: Switch to power_supply_batinfo_ocv2cap() 2025-06-22 02:08:44 +02:00
wilco-charger.c
wm97xx_battery.c power: Switch back to struct platform_driver::remove() 2024-10-21 15:51:42 +02:00
wm831x_backup.c
wm831x_power.c power: supply: wm831x: Constify struct chg_map and some arrays 2025-04-28 02:07:06 +02:00
wm8350_power.c power: Switch back to struct platform_driver::remove() 2024-10-21 15:51:42 +02:00