[GIT PULL] power-supply changes for 6.2

From: Sebastian Reichel
Date: Fri Dec 16 2022 - 16:15:25 EST


Hi Linus,

The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780:

Linux 6.1-rc1 (2022-10-16 15:36:24 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 104bb8a663451404a26331263ce5b96c34504049:

power: supply: fix null pointer dereferencing in power_supply_get_battery_info (2022-12-05 22:56:16 +0100)

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

- bq25890: add charge voltage/current support
- bd99954: convert to linear range
- convert all i2c drivers to use probe_new
- misc. fixes and cleanups

----------------------------------------------------------------
Angel Iglesias (1):
i2c: core: Introduce i2c_client_get_device_id helper function

Colin Ian King (1):
power: supply: lp8788: make const array name static

Hans de Goede (3):
power: supply: bq25890: Only use pdata->regulator_init_data for vbus
power: supply: bq25890: Ensure pump_express_work is cancelled on remove
power: supply: bq25890: Fix usb-notifier probe and remove races

Krzysztof Kozlowski (5):
dt-bindings: power: reset: restart-handler: add common schema
dt-bindings: power: supply: define monitored-battery in common place
dt-bindings: power: supply: bq25890: allow power-supply fields
dt-bindings: power: supply: maxim,max17042: allow power-supplies
dt-bindings: power: supply: bq25890: use one fallback compatible

Lukas Bulwahn (1):
power: supply: core: repair kernel-doc for power_supply_vbat2ri()

Marek Vasut (7):
power: supply: bq25890: Document POWER_SUPPLY_PROP_CURRENT_NOW
power: supply: bq25890: Clean up POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT
power: supply: bq25890: Clean up POWER_SUPPLY_PROP_CONSTANT_CHARGE_VOLTAGE
power: supply: bq25890: Add support for setting user charge current and voltage limit
power: supply: bq25890: Factor out regulator registration code
power: supply: bq25890: Add get_voltage support to Vbus regulator
power: supply: bq25890: Add Vsys regulator

Matti Vaittinen (3):
power: supply: bd99954: Use LINEAR_RANGE()
power: supply: mt6360: Use LINEAR_RANGE_IDX()
power: supply: 88pm860x: simplify using devm

Qiheng Lin (1):
power: supply: Fix refcount leak in rk817_charger_probe

Sebastian Reichel (1):
Merge 'i2c/client_device_id_helper-immutable'

Shang XiaoJing (1):
power: supply: cw2015: Fix potential null-ptr-deref in cw_bat_probe()

Uwe Kleine-König (24):
power: supply: adp5061: Convert to i2c's .probe_new()
power: supply: bq2415x: Convert to i2c's .probe_new()
power: supply: bq24190: Convert to i2c's .probe_new()
power: supply: bq24257: Convert to i2c's .probe_new()
power: supply: bq24735: Convert to i2c's .probe_new()
power: supply: bq2515x: Convert to i2c's .probe_new()
power: supply: bq256xx: Convert to i2c's .probe_new()
power: supply: bq25890: Convert to i2c's .probe_new()
power: supply: bq25980: Convert to i2c's .probe_new()
power: supply: bq27xxx: Convert to i2c's .probe_new()
power: supply: ds2782: Convert to i2c's .probe_new()
power: supply: lp8727: Convert to i2c's .probe_new()
power: supply: ltc2941: Convert to i2c's .probe_new()
power: supply: ltc4162-l: Convert to i2c's .probe_new()
power: supply: max14656: Convert to i2c's .probe_new()
power: supply: max17040: Convert to i2c's .probe_new()
power: supply: max17042_battery: Convert to i2c's .probe_new()
power: supply: rt5033_battery: Convert to i2c's .probe_new()
power: supply: rt9455: Convert to i2c's .probe_new()
power: supply: sbs: Convert to i2c's .probe_new()
power: supply: sbs-manager: Convert to i2c's .probe_new()
power: supply: smb347: Convert to i2c's .probe_new()
power: supply: ucs1002: Convert to i2c's .probe_new()
power: supply: z2_battery: Convert to i2c's .probe_new()

Yuan Can (1):
power: supply: ab8500: Fix error handling in ab8500_charger_init()

Zeng Heng (1):
power: supply: fix residue sysfs file in error handle route of __power_supply_register()

Zhang Qilong (1):
power: supply: z2_battery: Fix possible memleak in z2_batt_probe()

ruanjinjie (1):
power: supply: fix null pointer dereferencing in power_supply_get_battery_info

wangjianli (1):
power/supply: fix repeated words in comments

.../devicetree/bindings/mfd/ene-kb930.yaml | 6 +-
.../devicetree/bindings/mfd/rockchip,rk817.yaml | 2 +
.../bindings/power/reset/gpio-restart.yaml | 13 +-
.../bindings/power/reset/restart-handler.yaml | 30 +++
.../devicetree/bindings/power/supply/bq25890.yaml | 16 +-
.../devicetree/bindings/power/supply/bq27xxx.yaml | 2 -
.../bindings/power/supply/ingenic,battery.yaml | 4 +-
.../bindings/power/supply/maxim,max17042.yaml | 2 +
.../bindings/power/supply/power-supply.yaml | 6 +
.../bindings/power/supply/rohm,bd99954.yaml | 1 +
.../bindings/power/supply/sc2731-charger.yaml | 1 -
drivers/i2c/i2c-core-base.c | 14 ++
drivers/power/supply/88pm860x_charger.c | 38 +--
drivers/power/supply/ab8500_charger.c | 11 +-
drivers/power/supply/adp5061.c | 5 +-
drivers/power/supply/bd99954-charger.c | 84 +------
drivers/power/supply/bq2415x_charger.c | 6 +-
drivers/power/supply/bq24190_charger.c | 6 +-
drivers/power/supply/bq24257_charger.c | 6 +-
drivers/power/supply/bq24735-charger.c | 5 +-
drivers/power/supply/bq2515x_charger.c | 6 +-
drivers/power/supply/bq256xx_charger.c | 6 +-
drivers/power/supply/bq25890_charger.c | 277 +++++++++++++++------
drivers/power/supply/bq25980_charger.c | 6 +-
drivers/power/supply/bq27xxx_battery_i2c.c | 6 +-
drivers/power/supply/cw2015_battery.c | 3 +
drivers/power/supply/ds2782_battery.c | 6 +-
drivers/power/supply/lp8727_charger.c | 4 +-
drivers/power/supply/lp8788-charger.c | 2 +-
drivers/power/supply/ltc2941-battery-gauge.c | 5 +-
drivers/power/supply/ltc4162-l-charger.c | 5 +-
drivers/power/supply/max14656_charger_detector.c | 5 +-
drivers/power/supply/max17040_battery.c | 6 +-
drivers/power/supply/max17042_battery.c | 6 +-
drivers/power/supply/mt6360_charger.c | 15 +-
drivers/power/supply/power_supply_core.c | 8 +-
drivers/power/supply/rk817_charger.c | 4 +-
drivers/power/supply/rt5033_battery.c | 5 +-
drivers/power/supply/rt9455_charger.c | 5 +-
drivers/power/supply/sbs-charger.c | 5 +-
drivers/power/supply/sbs-manager.c | 6 +-
drivers/power/supply/smb347-charger.c | 6 +-
drivers/power/supply/ucs1002_power.c | 5 +-
drivers/power/supply/z2_battery.c | 11 +-
include/linux/i2c.h | 1 +
45 files changed, 387 insertions(+), 285 deletions(-)
create mode 100644 Documentation/devicetree/bindings/power/reset/restart-handler.yaml

Attachment: signature.asc
Description: PGP signature