[GIT PULL] thermal for v5.19-rc1

From: Daniel Lezcano
Date: Thu May 19 2022 - 08:54:00 EST



Hi Rafael,

please consider pulling:

The following changes since commit 7b145802ba545ecf9446ce6d67d6011b73dac0e0:

thermal: int340x: Mode setting with new OS handshake (2022-05-11 20:08:15 +0200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v5.19-rc1

for you to fetch changes up to ffcb2fc86eb7ebc9f5524525fb57e1cccfbd1fc0:

thermal: k3_j72xx_bandgap: Add the bandgap driver support (2022-05-19 12:11:53 +0200)

----------------------------------------------------------------
- Add the new k3 j72xx bangdap driver and the corresponding bindings (Keerthy)

- Fix the missing of_node_put() in the SC iMX driver at probe timer (Miaoqian Lin)

- Fix memory leak in __thermal_cooling_device_register() when device_register()
fails by calling thermal_cooling_device_destroy_sysfs() (Yang Yingliang)

- Add sc8180x and sc8280xp compatible string in the DT bindings and lMH support
for QCom tsens driver (Bjorn Andersson)

- Fix OTP Calibration Register values conforming to the documentation on RZ/G2L
and bindings documentation for RZ/G2UL (Biju Das)

- Fix type in kerneldoc description for __thermal_bind_params (Corentin Labbe)

- Remove unneeded semi colon in libthermal and tools thermal as reported by
cocci (Jiapeng Chong)

- Fix potential NULL dereference in sr_thermal_probe() on Broadcom platform
(Zheng Yongjun)

- Add thermal library and thermal tools to encapsulate the netlink into event
based callbacks (Daniel Lezcano)

- Add change mode ops for the thermal-of sensor (Manaf Meethalavalappu
Pallikunhi)

- Fix non negative value support by preventing the value to be clamp to zero
(Stefan Wahren)

- Add compatible string and DT bindings for MSM8960 tsens driver (Dmitry
Baryshkov)

- Add hwmon support for K3 driver (Massimiliano Minella)

- Refactor and add multiple generations support for QCom ADC driver (Jishnu
Prakash)

- Use platform_get_irq_optional() to get the interrupt on RCar driver and
document Document RZ/V2L bindings (Lad Prabhakar)

----------------------------------------------------------------
Biju Das (2):
dt-bindings: thermal: rzg2l-thermal: Document RZ/G2UL bindings
thermal/drivers/rz2gl: Fix OTP Calibration Register values

Bjorn Andersson (3):
thermal/drivers/qcom/lmh: Add sc8180x compatible
dt-bindings: thermal: lmh: Add Qualcomm sc8180x compatible
dt-bindings: thermal: tsens: Add sc8280xp compatible

Corentin Labbe (1):
thermal: thermal_of: fix typo on __thermal_bind_params

Daniel Lezcano (4):
tools/lib/thermal: Add a thermal library
tools/thermal: Add util library
tools/thermal: Add a temperature capture tool
tools/thermal: Add thermal daemon skeleton

Dmitry Baryshkov (2):
dt-bindings: thermal: qcom-tsens.yaml: add msm8960 compat string
thermal/drivers/tsens: Add compat string for the qcom,msm8960

Jiapeng Chong (2):
tools/lib/thermal: remove unneeded semicolon
tools/thermal: remove unneeded semicolon

Jishnu Prakash (4):
dt-bindings: thermal: qcom: add PMIC5 Gen2 ADC_TM bindings
iio: adc: qcom-vadc-common: add reverse scaling for PMIC5 Gen2 ADC_TM
thermal/drivers/qcom: Add support for multiple generations of devices
thermal/drivers/qcom: Add support for PMIC5 Gen2 ADCTM

Keerthy (2):
dt-bindings: thermal: k3-j72xx: Add VTM bindings documentation
thermal: k3_j72xx_bandgap: Add the bandgap driver support

Lad Prabhakar (2):
dt-bindings: thermal: rzg2l-thermal: Document RZ/V2L bindings
thermal/drivers/rcar_thermal: Use platform_get_irq_optional() to get the interrupt

Manaf Meethalavalappu Pallikunhi (1):
thermal/drivers/thermal_of: Add change_mode ops support for thermal_of sensor

Massimiliano Minella (1):
thermal/drivers/k3: Add hwmon support

Miaoqian Lin (1):
thermal/drivers/imx_sc_thermal: Fix refcount leak in imx_sc_thermal_probe

Stefan Wahren (1):
thermal/drivers/bcm2711: Don't clamp temperature at zero

Yang Yingliang (1):
thermal/core: Fix memory leak in __thermal_cooling_device_register()

Zheng Yongjun (1):
thermal/drivers/broadcom: Fix potential NULL dereference in sr_thermal_probe

.../devicetree/bindings/thermal/qcom-lmh.yaml | 1 +
.../bindings/thermal/qcom-spmi-adc-tm5.yaml | 110 +++-
.../devicetree/bindings/thermal/qcom-tsens.yaml | 5 +-
.../devicetree/bindings/thermal/rzg2l-thermal.yaml | 2 +
.../bindings/thermal/ti,j72xx-thermal.yaml | 63 +++
MAINTAINERS | 1 +
drivers/iio/adc/qcom-vadc-common.c | 11 +
drivers/thermal/Makefile | 2 +-
drivers/thermal/broadcom/bcm2711_thermal.c | 5 +-
drivers/thermal/broadcom/sr-thermal.c | 3 +
drivers/thermal/imx_sc_thermal.c | 6 +-
drivers/thermal/k3_bandgap.c | 5 +
drivers/thermal/k3_j72xx_bandgap.c | 566 ++++++++++++++++++++
drivers/thermal/qcom/lmh.c | 1 +
drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 486 +++++++++++++++--
drivers/thermal/qcom/tsens.c | 3 +
drivers/thermal/rcar_thermal.c | 17 +-
drivers/thermal/rzg2l_thermal.c | 10 +-
drivers/thermal/thermal_core.c | 1 +
drivers/thermal/thermal_of.c | 14 +-
include/linux/iio/adc/qcom-vadc-common.h | 2 +
include/linux/thermal.h | 3 +
tools/Makefile | 36 +-
tools/lib/thermal/.gitignore | 2 +
tools/lib/thermal/Build | 5 +
tools/lib/thermal/Makefile | 165 ++++++
tools/lib/thermal/commands.c | 349 +++++++++++++
tools/lib/thermal/events.c | 164 ++++++
tools/lib/thermal/include/thermal.h | 142 +++++
tools/lib/thermal/libthermal.map | 25 +
tools/lib/thermal/libthermal.pc.template | 12 +
tools/lib/thermal/sampling.c | 75 +++
tools/lib/thermal/thermal.c | 135 +++++
tools/lib/thermal/thermal_nl.c | 215 ++++++++
tools/lib/thermal/thermal_nl.h | 46 ++
tools/thermal/lib/Build | 3 +
tools/thermal/lib/Makefile | 158 ++++++
tools/thermal/lib/libthermal_tools.pc.template | 12 +
tools/thermal/lib/log.c | 77 +++
tools/thermal/lib/log.h | 31 ++
tools/thermal/lib/mainloop.c | 120 +++++
tools/thermal/lib/mainloop.h | 15 +
tools/thermal/lib/thermal-tools.h | 10 +
tools/thermal/lib/uptimeofday.c | 40 ++
tools/thermal/lib/uptimeofday.h | 12 +
tools/thermal/thermal-engine/Build | 1 +
tools/thermal/thermal-engine/Makefile | 28 +
tools/thermal/thermal-engine/thermal-engine.c | 341 ++++++++++++
tools/thermal/thermometer/Build | 1 +
tools/thermal/thermometer/Makefile | 26 +
tools/thermal/thermometer/thermometer.8 | 92 ++++
tools/thermal/thermometer/thermometer.c | 572 +++++++++++++++++++++
tools/thermal/thermometer/thermometer.conf | 5 +
53 files changed, 4173 insertions(+), 59 deletions(-)
create mode 100644 Documentation/devicetree/bindings/thermal/ti,j72xx-thermal.yaml
create mode 100644 drivers/thermal/k3_j72xx_bandgap.c
create mode 100644 tools/lib/thermal/.gitignore
create mode 100644 tools/lib/thermal/Build
create mode 100644 tools/lib/thermal/Makefile
create mode 100644 tools/lib/thermal/commands.c
create mode 100644 tools/lib/thermal/events.c
create mode 100644 tools/lib/thermal/include/thermal.h
create mode 100644 tools/lib/thermal/libthermal.map
create mode 100644 tools/lib/thermal/libthermal.pc.template
create mode 100644 tools/lib/thermal/sampling.c
create mode 100644 tools/lib/thermal/thermal.c
create mode 100644 tools/lib/thermal/thermal_nl.c
create mode 100644 tools/lib/thermal/thermal_nl.h
create mode 100644 tools/thermal/lib/Build
create mode 100644 tools/thermal/lib/Makefile
create mode 100644 tools/thermal/lib/libthermal_tools.pc.template
create mode 100644 tools/thermal/lib/log.c
create mode 100644 tools/thermal/lib/log.h
create mode 100644 tools/thermal/lib/mainloop.c
create mode 100644 tools/thermal/lib/mainloop.h
create mode 100644 tools/thermal/lib/thermal-tools.h
create mode 100644 tools/thermal/lib/uptimeofday.c
create mode 100644 tools/thermal/lib/uptimeofday.h
create mode 100644 tools/thermal/thermal-engine/Build
create mode 100644 tools/thermal/thermal-engine/Makefile
create mode 100644 tools/thermal/thermal-engine/thermal-engine.c
create mode 100644 tools/thermal/thermometer/Build
create mode 100644 tools/thermal/thermometer/Makefile
create mode 100644 tools/thermal/thermometer/thermometer.8
create mode 100644 tools/thermal/thermometer/thermometer.c
create mode 100644 tools/thermal/thermometer/thermometer.conf

--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog