• Linus Torvalds's avatar
    Merge tag 'for-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · 288cb34e
    Linus Torvalds authored
    Pull power supply and reset updates from Sebastian Reichel:
     "Power-supply core:
       - introduce power_supply_show_enum_with_available() helper
       - change usb_types from an array into a bitmask
       - fix early usage of power_supply_property_is_writeable() resulting
         in sysfs files not being writable
       - fix missing temp1_max_alarm attribute in power-supply's hwmon
         devices
    
      Drivers:
       - max1720x: expose nvmem device
       - brcmstb: cleanup driver to use latest APIs
       - max77693: expose input and charging current limit
       - max17042_battery: fix state of charge reading for devices without
         current sensing
       - axp20x_battery: add AXP717 support
       - axp20x_battery: fix min/max voltage properties
       - axp20x_usb_power: add AXP717 support
       - axp20x_usb_power: add DT based input current limit
    
      Documentation updates
    
      Misc minor cleanups and fixes"
    
    * tag 'for-v6.12' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (38 commits)
      power: supply: hwmon: Fix missing temp1_max_alarm attribute
      power: supply: Drop use_cnt check from power_supply_property_is_writeable()
      power: supply: ab8500: Constify struct kobj_type
      power: supply: max1720x: fix a double free on error in probe()
      power: supply: axp20x_battery: add support for AXP717
      power: supply: axp20x_usb_power: Add support for AXP717
      dt-bindings: power: supply: axp20x: Add AXP717 compatible
      dt-bindings: power: supply: axp20x: Add AXP717 compatible
      power: supply: axp20x_usb_power: Fix spelling mistake "reqested" -> "requested"
      power: supply: Change usb_types from an array into a bitmask
      power: supply: sysfs: Move power_supply_show_enum_with_available() up
      power: supply: sysfs: Add power_supply_show_enum_with_available() helper
      power: supply: rt9467-charger: Remove "usb_type" property write support
      power: supply: ucs1002: Adjust ucs1002_set_usb_type() to accept string values
      power: supply: "usb_type" property may be written to
      power: supply: max1720x: add read support for nvmem
      mfd: axp20x: Add ADC, BAT, and USB cells for AXP717
      power: supply: core: constify psy_tzd_ops
      power: reset: brcmstb: Do not go into infinite loop if reset fails
      power: reset: brcmstb: Use devm_register_sys_off_handler()
      ...
    288cb34e
qcom_battmgr.c 38.9 KB