[GIT PULL] thermal drivers for v6.10-rc1

From: Daniel Lezcano
Date: Thu May 02 2024 - 05:52:09 EST


Hi Rafael,

please consider this pull request for v6.10-rc1

The following changes since commit 5c897a9a1237155822183b8979005d06c14a996a:

Merge back earlier thermal control material for v6.10. (2024-04-19 15:17:21 +0200)

are available in the Git repository at:


ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/thermal/linux.git tags/thermal-v6.10-rc1

for you to fetch changes up to 734b5def91b594d3aa1147d60c45eded139ce2eb:

thermal/drivers/loongson2: Add Loongson-2K2000 support (2024-04-23 12:40:30 +0200)

----------------------------------------------------------------
- Add QCM2290 compatible DT bindings for Lmh and fix a null pointer
dereference in the lmh driver in case the SCM is not present (Konrad
Dybcio)

- Use the strreplace() function instead of doing it manually in the
Armada driver (Rasmus Villemoes)

- Convert st,stih407-thermal to DT schema and fix up missing
properties (Raphael Gallais-Pou)

- Add suspend/resume by restoring the context of the tsens sensor
(Priyansh Jain)

- Support A1 SoC family Thermal Sensor controller and add the DT
bindings (Dmitry Rokosov)

- Improve the temperature approximation calculation and consolidate
the Tj constant into a shared area of the structure instead of
duplicating it on the Rcar Gen3 (Niklas Söderlund)

- Fix the Mediatek LVTS sensor coefficient for the MT8192 in order to support
it correctly (Hsin-Te Yuan)

- Fix a null pointer dereference on the tsens driver when the function
compute_intercept_slope() is called with a null parameter (Aleksandr
Mishin)

- Remove some unused fields in struct qpnp_tm_chip and k3_bandgap
(Christophe Jaillet)

- Fixup calibration efuse data decoding, consolidate the code by
checking boundaries and refactor some part of the LVTS Mediatek
driver. After setting the scene, add MT8186 and MT8188 along with
the DT bindings (Nicolas Pitre)

- Add Loongson-2K2000 support after some minor code adjustements and
providing the DT bindings definition (Binbin Zhou)

----------------------------------------------------------------
Aleksandr Mishin (1):
thermal/drivers/tsens: Fix null pointer dereference

Binbin Zhou (4):
thermal/drivers/loongson2: Trivial code style adjustment
dt-bindings: thermal: loongson,ls2k-thermal: Add Loongson-2K0500 compatible
dt-bindings: thermal: loongson,ls2k-thermal: Fix incorrect compatible definition
thermal/drivers/loongson2: Add Loongson-2K2000 support

Christophe JAILLET (2):
thermal/drivers/qcom: Remove some unused fields in struct qpnp_tm_chip
thermal/drivers/k3_bandgap: Remove some unused fields in struct k3_bandgap

Dmitry Rokosov (2):
dt-bindings: thermal: amlogic: add support for A1 thermal sensor
thermal/drivers/amlogic: Support A1 SoC family Thermal Sensor controller

Hsin-Te Yuan (1):
thermal/drivers/mediatek/lvts_thermal: Add coeff for mt8192

Konrad Dybcio (2):
dt-bindings: thermal: lmh: Add QCM2290 compatible
thermal/drivers/qcom/lmh: Check for SCM availability at probe

Nicolas Pitre (11):
thermal/drivers/mediatek/lvts_thermal: Retrieve all calibration bytes
thermal/drivers/mediatek/lvts_thermal: Move comment
thermal/drivers/mediatek/lvts_thermal: Remove .hw_tshut_temp
thermal/drivers/mediatek/lvts_thermal: Use offsets for every calibration byte
thermal/drivers/mediatek/lvts_thermal: Guard against efuse data buffer overflow
dt-bindings: thermal: mediatek: Add LVTS thermal controller definition for MT8186
thermal/drivers/mediatek/lvts_thermal: Add MT8186 support
thermal/drivers/mediatek/lvts_thermal: Provision for gt variable location
thermal/drivers/mediatek/lvts_thermal: Allow early empty sensor slots
dt-bindings: thermal: mediatek: Add LVTS thermal controller definition for MT8188
thermal/drivers/mediatek/lvts_thermal: Add MT8188 support

Niklas Söderlund (2):
thermal/drivers/rcar_gen3: Move Tj_T storage to shared private data
thermal/drivers/rcar_gen3: Update temperature approximation calculation

Priyansh Jain (1):
thermal/drivers/tsens: Add suspend to RAM support for tsens

Raphael Gallais-Pou (1):
dt-bindings: thermal: convert st,stih407-thermal to DT schema

Rasmus Villemoes (1):
thermal/drivers/armada: Simplify name sanitization

.../bindings/thermal/amlogic,thermal.yaml | 12 +-
.../bindings/thermal/loongson,ls2k-thermal.yaml | 24 +-
.../bindings/thermal/mediatek,lvts-thermal.yaml | 6 +
.../devicetree/bindings/thermal/qcom-lmh.yaml | 12 +-
.../bindings/thermal/st,stih407-thermal.yaml | 58 +++
.../devicetree/bindings/thermal/st-thermal.txt | 32 --
drivers/thermal/amlogic_thermal.c | 10 +
drivers/thermal/armada_thermal.c | 9 +-
drivers/thermal/k3_bandgap.c | 1 -
drivers/thermal/loongson2_thermal.c | 117 ++++--
drivers/thermal/mediatek/lvts_thermal.c | 438 +++++++++++++++------
drivers/thermal/qcom/lmh.c | 3 +
drivers/thermal/qcom/qcom-spmi-temp-alarm.c | 1 -
drivers/thermal/qcom/tsens-v2.c | 1 +
drivers/thermal/qcom/tsens.c | 33 +-
drivers/thermal/qcom/tsens.h | 5 +
drivers/thermal/rcar_gen3_thermal.c | 165 ++++----
.../dt-bindings/thermal/mediatek,lvts-thermal.h | 26 ++
18 files changed, 667 insertions(+), 286 deletions(-)
create mode 100644 Documentation/devicetree/bindings/thermal/st,stih407-thermal.yaml
delete mode 100644 Documentation/devicetree/bindings/thermal/st-thermal.txt

--
<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