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

From: Daniel Lezcano
Date: Tue Oct 04 2022 - 05:44:44 EST

Hi Rafael,

this is a pull request for more thermal material for v6.1. I've dropped the trip point rework as a lock issue has been spotted on exynos.

Most of the changes are fixes. There are more pending changes for the thermal drivers on the mailing list but they require some more review, so they will have to wait for v6.2

-- Daniel

The following changes since commit 2e70ea7fb9873e642982f166bf9aaa4a6206fbec:

Merge branches 'thermal-intel' and 'thermal-drivers' (2022-10-03 20:43:32 +0200)

are available in the Git repository at:

ssh://git@xxxxxxxxxxxxxx/people/daniel.lezcano/linux.git tags/thermal-v6.1-rc1-2

for you to fetch changes up to b0c883e900702f408d62cf92b0ef01303ed69be9:

thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id (2022-10-04 11:21:43 +0200)

- Used the platform data to get the sensor id instead of parsing the
device in the driver and remove the dedicated OF function (Daniel

- Fixed Kconfig dependency for the QCom tsens driver (Jonathan

- Fixed missing const annotation for the RCar ops driver and removed a
duplicate parameter check (Lad Prabhakar)

- Fixed a NULL pointer dereference when calling set_trip_temp() (Lad

- Fixed the fourth hardware id in the QCom tsens driver (Vincent

Daniel Lezcano (2):
thermal/drivers/imx_sc: Rely on the platform data to get the resource id
thermal/of: Remove the thermal_zone_of_get_sensor_id() function

Jonathan Cameron (1):
thermal/drivers/qcom: Drop false build dependency of all QCOM drivers on QCOM_TSENS

Lad Prabhakar (3):
thermal/drivers/rcar_thermal: Constify static thermal_zone_device_ops
thermal/core: Drop valid pointer check for type
thermal/core: Add a check before calling set_trip_temp()

Vincent Knecht (1):
thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id

drivers/thermal/Makefile | 2 +-
drivers/thermal/imx_sc_thermal.c | 68 +++++++++++++++++++++++++++++++++-----------------------------------
drivers/thermal/qcom/tsens-v0_1.c | 2 +-
drivers/thermal/rcar_thermal.c | 2 +-
drivers/thermal/thermal_core.c | 2 +-
drivers/thermal/thermal_of.c | 44 --------------------------------------------
drivers/thermal/thermal_sysfs.c | 8 +++++---
include/linux/thermal.h | 10 ----------
8 files changed, 42 insertions(+), 96 deletions(-)

<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