• Linus Torvalds's avatar
    Merge tag 'for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 039053c1
    Linus Torvalds authored
    Pull power supply and reset updates from Sebastian Reichel:
     "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"
    
    * tag 'for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (28 commits)
      power: supply_core: Pass pointer to battery info
      power: supply: ab8500: Fix the error handling path of ab8500_charger_probe()
      power: reset: mt6397: Check for null res pointer
      power: bq25890: add POWER_SUPPLY_PROP_TEMP
      power: supply: qcom_smbb: support pm8226
      dt-bindings: power: supply: pm8941-charger: add pm8226
      power: supply: ab8500: Standardize capacity lookup
      power: supply: ab8500: Standardize temp res lookup
      power: supply: ab8500: Standardize CV voltage
      power: supply: ab8500: Standardize CC current
      power: supply: ab8500: Make recharge capacity a constant
      power: supply: ab8500: Standardize termination current
      power: supply: ab8500: Standardize internal resistance
      power: supply: ab8500_fg: Init battery data in bind()
      power: supply: ab8500: Standardize voltages
      power: supply: ab8500: Standardize technology
      power: supply: ab8500: Standardize design capacity
      power: supply: ab8500: Use only one battery type
      power: supply: ab8500: Drop unused battery types
      power: supply: ab8500: Standardize operating temperature
      ...
    039053c1
power_supply_core.c 38.4 KB