• Linus Torvalds's avatar
    Merge tag 'thermal-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · f73cd9c9
    Linus Torvalds authored
    Pull thermal control updates from Rafael Wysocki:
     "These extend the thermal trip point crossing notifications sent via
      netlink to contain the temperature causing the trip point to be
      crossed, deprecate the user space thermal governor, add new DT
      bindings to drivers, move ABI documentation to Documentation/ABI, fix
      assorted issues and clean up code.
    
      Specifics:
    
       - Constify a variable in thermal MMIO driver (Rikard Falkeborn).
    
       - Add the current temperature in the netlink message when crossing a
         trip point in order to prevent useless back and forth reading from
         userspace (Daniel Lezcano).
    
       - Add support for the 'HC' variant on PM8998 PMIC in order to support
         VADC channels on recent QCom boards (Bjorn Andersson).
    
       - Add support for calibration values from hardware when they are
         fused (Niklas Söderlund).
    
       - Fix NULL pointer dereference in the thermal_release callback when
         an error occurs in the thermal_zone_device_register() (Yuanzheng
         Song).
    
       - Fix use-after-free in __thermal_cooling_device_register() in the
         error path (Ziyang Xuan).
    
       - Fix compilation of the LMh driver when CONFIG_QCOM_SCM is not set
         (Jackie Liu).
    
       - Add timeout when reading a register that can block forever in
         certain circumstances in the tsens driver (Ansuel Smith).
    
       - Add DT binding for the reset lines and use them in the rockchip
         sensor driver (Johan Jonker).
    
       - Add new uniphier NX1 SoC temperature sensor (Kunihiko Hayashi).
    
       - Save and restore the TCC value in the int340x driver (Antoine
         Tenart).
    
       - Deprecate the writability of the cooling device state sysfs file
         and the user space governor (Daniel Lezcano).
    
       - Delete bogus length check in int340x (Dan Carpenter).
    
       - Use bitmap_zalloc/bitmap_free when applicable in intel_powerclamp
         (Christophe JAILLET).
    
       - Move thermal ABI documentation to Documentation/ABI (Mauro Carvalho
         Chehab)"
    
    * tag 'thermal-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (21 commits)
      thermal/core: Deprecate changing cooling device state from userspace
      thermal/core: Make the userspace governor deprecated
      thermal/drivers/int340x: Improve the tcc offset saving for suspend/resume
      thermal/drivers/uniphier: Add compatible string for NX1 SoC
      dt-bindings: thermal: uniphier: Add binding for NX1 SoC
      thermal/drivers/rockchip_thermal: Allow more resets for tsadc node
      dt-bindings: thermal: remove redundant comments from rockchip-thermal.yaml
      dt-bindings: thermal: allow more resets for tsadc node in rockchip-thermal.yaml
      thermal/drivers/tsens: Add timeout to get_temp_tsens_valid
      thermal/drivers/qcom/lmh: make QCOM_LMH depends on QCOM_SCM
      thermal/core: fix a UAF bug in __thermal_cooling_device_register()
      thermal/core: Fix null pointer dereference in thermal_release()
      thermal: rcar_gen3_thermal: Read calibration from hardware
      thermal: rcar_gen3_thermal: Store thcode and ptat in priv data
      thermal/drivers/qcom/spmi-adc-tm5: Add support for HC variant
      dt-bindings: thermal: qcom: add HC variant of adc-thermal monitor bindings
      thermal: Move ABI documentation to Documentation/ABI
      thermal/drivers/netlink: Add the temperature when crossing a trip point
      thermal/drivers/thermal_mmio: Constify static struct thermal_mmio_ops
      thermal: int340x: delete bogus length check
      ...
    f73cd9c9
MAINTAINERS 609 KB