[GIT PULL] power-supply changes for 5.17
From: Sebastian Reichel
Date: Mon Jan 10 2022 - 04:48:53 EST
Hi Linus,
In addition to these changes some power-supply core changes will be
part of the X86 platform drivers pull-request, which contains
changes to the thinkpad ACPI driver. No merge conflicts have been
detected in linux-next.
-- Sebastian
The following changes since commit fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:
Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)
are available in the Git repository at:
ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/sre/linux-power-supply.git tags/for-v5.17
for you to fetch changes up to 25fd330370ac40653671f323acc7fb6db27ef6fe:
power: supply_core: Pass pointer to battery info (2022-01-03 18:53:10 +0100)
----------------------------------------------------------------
power supply and reset changes for the v5.17 series
power-supply core:
- introduce "No Battery" health status
- use library interpolation
- add power_supply_battery_info documentation
- migrate power_supply_battery_info to be fully heap allocated
making it more obvious that it needs to be free'd manually
Drivers:
- max77976-charger: new driver
- qcom-smbb: add pm8226 charger support
- bq25890-charger: support battery temperature readings
- ab8500: continue migrating towards using standard core APIs
----------------------------------------------------------------
Angus Ainslie (1):
power: bq25890: add POWER_SUPPLY_PROP_TEMP
Christophe JAILLET (1):
power: supply: ab8500: Fix the error handling path of ab8500_charger_probe()
David Heidelberg (1):
dt-bindings: power: reset: gpio-poweroff: Convert txt bindings to yaml
Jiasheng Jiang (1):
power: reset: mt6397: Check for null res pointer
Linus Walleij (19):
power: supply: core: Use library interpolation
power: supply: core: Add kerneldoc to battery struct
power: supply: ab8500: Use core battery parser
power: supply: ab8500: Sink current tables into charger code
power: supply: ab8500: Standardize operating temperature
power: supply: ab8500: Drop unused battery types
power: supply: ab8500: Use only one battery type
power: supply: ab8500: Standardize design capacity
power: supply: ab8500: Standardize technology
power: supply: ab8500: Standardize voltages
power: supply: ab8500_fg: Init battery data in bind()
power: supply: ab8500: Standardize internal resistance
power: supply: ab8500: Standardize termination current
power: supply: ab8500: Make recharge capacity a constant
power: supply: ab8500: Standardize CC current
power: supply: ab8500: Standardize CV voltage
power: supply: ab8500: Standardize temp res lookup
power: supply: ab8500: Standardize capacity lookup
power: supply_core: Pass pointer to battery info
Luca Ceresoli (3):
dt-bindings: power: supply: add Maxim MAX77976 battery charger
power: supply: core: add POWER_SUPPLY_HEALTH_NO_BATTERY
power: supply: max77976: add Maxim MAX77976 charger driver
Luca Weiss (2):
dt-bindings: power: supply: pm8941-charger: add pm8226
power: supply: qcom_smbb: support pm8226
Documentation/ABI/testing/sysfs-class-power | 2 +-
.../bindings/power/reset/gpio-poweroff.txt | 41 --
.../bindings/power/reset/gpio-poweroff.yaml | 59 +++
.../bindings/power/supply/maxim,max77976.yaml | 44 ++
.../bindings/power/supply/qcom,pm8941-charger.yaml | 4 +-
MAINTAINERS | 6 +
drivers/power/reset/mt6323-poweroff.c | 3 +
drivers/power/supply/Kconfig | 12 +
drivers/power/supply/Makefile | 1 +
drivers/power/supply/ab8500-bm.h | 123 +----
drivers/power/supply/ab8500-chargalg.h | 8 +-
drivers/power/supply/ab8500_bmdata.c | 575 +++++----------------
drivers/power/supply/ab8500_btemp.c | 65 ++-
drivers/power/supply/ab8500_chargalg.c | 315 +++++------
drivers/power/supply/ab8500_charger.c | 544 ++++++++++---------
drivers/power/supply/ab8500_fg.c | 373 +++++++------
drivers/power/supply/axp20x_battery.c | 6 +-
drivers/power/supply/bd99954-charger.c | 24 +-
drivers/power/supply/bq24190_charger.c | 6 +-
drivers/power/supply/bq2515x_charger.c | 8 +-
drivers/power/supply/bq256xx_charger.c | 24 +-
drivers/power/supply/bq25890_charger.c | 37 +-
drivers/power/supply/bq25980_charger.c | 6 +-
drivers/power/supply/bq27xxx_battery.c | 38 +-
drivers/power/supply/cw2015_battery.c | 20 +-
drivers/power/supply/ingenic-battery.c | 14 +-
drivers/power/supply/max77976_charger.c | 509 ++++++++++++++++++
drivers/power/supply/power_supply_core.c | 80 +--
drivers/power/supply/power_supply_sysfs.c | 1 +
drivers/power/supply/qcom_smbb.c | 5 +-
drivers/power/supply/sc2731_charger.c | 8 +-
drivers/power/supply/sc27xx_fuel_gauge.c | 22 +-
drivers/power/supply/smb347-charger.c | 34 +-
include/linux/power_supply.h | 218 +++++++-
34 files changed, 1847 insertions(+), 1388 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt
create mode 100644 Documentation/devicetree/bindings/power/reset/gpio-poweroff.yaml
create mode 100644 Documentation/devicetree/bindings/power/supply/maxim,max77976.yaml
create mode 100644 drivers/power/supply/max77976_charger.c
Attachment:
signature.asc
Description: PGP signature