[GIT PULL] More thermal control updates for v6.4-rc1

From: Rafael J. Wysocki
Date: Wed May 03 2023 - 10:25:55 EST


Hi Linus,

Please pull from the tag

git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-6.4-rc1-2

with top-most commit 53389edd4020514b876b01d05e851fb7d46eb51f

Merge branch 'thermal-core'

on top of commit 5e0ca0bfc33b7196ae3a5cbe26289a4025618f5a

Merge tag 'thermal-6.4-rc1' of
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

to receive more thermal control updates for 6.4-rc1.

These are mostly cleanups on top of the previously merged thermal
control changes plus some driver fixes and the removal of the Intel
Menlow thermal driver.

Specifics:

- Add compatible DT bindings for imx6sll and imx6ul to fix a dtbs check
warning (Stefan Wahren).

- Update the example in the DT bindings to reflect changes with the
ADC node name for QCom TM and TM5 (Marijn Suijten).

- Fix comments for the cpuidle_cooling_register() function to match the
function prototype (Chenggang Wang).

- Fix inconsistent temperature read and some Mediatek variant board
reboot by reverting a change and handling the temperature
differently (AngeloGioacchino Del Regno).

- Fix a memory leak in the initialization error path for the Mediatek
driver (Kang Chen).

- Use of_address_to_resource() in the Mediatek driver (Rob Herring).

- Fix unit address in the QCom tsens driver DT bindings (Krzysztof
Kozlowski).

- Clean up the step-wise thermal governor (Zhang Rui).

- Introduce thermal_zone_device() for accessing the device field of
struct thermal_zone_device and two drivers use it (Daniel Lezcano).

- Clean up the ACPI thermal driver a bit (Daniel Lezcano).

- Delete the thermal driver for Intel Menlow platforms that is not
expected to have any users (Rafael Wysocki).

Thanks!


---------------

AngeloGioacchino Del Regno (2):
Revert "thermal/drivers/mediatek: Add delay after thermal banks
initialization"
thermal/drivers/mediatek: Add temperature constraints to validate read

Chenggang Wang (1):
thermal/drivers/cpuidle_cooling: Delete unmatched comments

Daniel Lezcano (4):
thermal: core: Encapsulate tz->device field
thermal: intel: pch_thermal: Use thermal driver device to write a trace
ACPI: thermal: Use thermal_zone_device()
ACPI: thermal: Move to dedicated function sysfs extra attr creation

Kang Chen (2):
thermal/drivers/mediatek: Use devm_of_iomap to avoid resource
leak in mtk_thermal_probe
thermal/drivers/mediatek: Change clk_prepare_enable to
devm_clk_get_enabled in mtk_thermal_probe

Krzysztof Kozlowski (1):
dt-bindings: thermal: qcom-tsens: Correct unit address

Marijn Suijten (1):
dt-bindings: thermal: Use generic ADC node name in examples

Rafael J. Wysocki (1):
thermal: intel: menlow: Get rid of this driver

Rob Herring (1):
thermal/drivers/mediatek: Use of_address_to_resource()

Stefan Wahren (1):
dt-bindings: imx-thermal: Add imx6sll and imx6ul compatible

Zhang Rui (2):
thermal: gov_step_wise: Delete obsolete comment
thermal: gov_step_wise: Adjust code logic to match comment

---------------

.../devicetree/bindings/thermal/imx-thermal.yaml | 14 +-
.../bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 4 +-
.../bindings/thermal/qcom-spmi-adc-tm5.yaml | 9 +-
.../devicetree/bindings/thermal/qcom-tsens.yaml | 4 +-
drivers/acpi/thermal.c | 45 +-
drivers/thermal/cpuidle_cooling.c | 3 -
drivers/thermal/gov_step_wise.c | 28 +-
drivers/thermal/intel/Kconfig | 9 -
drivers/thermal/intel/Makefile | 1 -
drivers/thermal/intel/intel_menlow.c | 521 ---------------------
drivers/thermal/intel/intel_pch_thermal.c | 3 +-
drivers/thermal/mediatek/auxadc_thermal.c | 89 ++--
drivers/thermal/thermal_core.c | 6 +
include/linux/thermal.h | 1 +
14 files changed, 110 insertions(+), 627 deletions(-)