[GIT PULL] thermal for v5.7-rc1

From: Daniel Lezcano
Date: Tue Apr 07 2020 - 07:26:57 EST


The following changes since commit
f8788d86ab28f61f7b46eb6be375f8a726783636:

Linux 5.6-rc3 (2020-02-23 16:17:42 -0800)

are available in the Git repository at:


ssh://git@xxxxxxxxxxxxxxxxxxx/pub/scm/linux/kernel/git/thermal/linux.git
tags/thermal-v5.7-rc1

for you to fetch changes up to 11700fcb90b40a38fbfba55b2bedfc9909be8ec8:

Documentation: cpu-idle-cooling: Fix diagram for 33% duty cycle
(2020-04-07 10:45:15 +0200)

----------------------------------------------------------------
- Convert tsens configuration DT binding to yaml (Rajeshwari)

- Add interrupt support on the rcar sensor (Niklas SÃderlund)

- Add a new Spreadtrum thermal driver (Baolin Wang)

- Add thermal binding for the fsl scu board, a new API to retrieve the
sensor id bound to the thermal zone and i.MX system controller
sensor (Anson Huang))

- Remove warning log when a deferred probe is requested on Exynos
(Marek Szyprowski)

- Add the thermal monitoring unit support for imx8mm with its DT
bindings (Anson Huang)

- Rephrase the Kconfig text for clarity (Linus Walleij)

- Use the gpio descriptor for the ti-soc-thermal (Linus Walleij)

- Align msg structure to 4 bytes for i.MX SC, fix the Kconfig
dependency, add the __may_be unused annotation for PM functions and
the COMPILE_TEST option for imx8mm (Anson Huang)

- Fix a dependency on regmap in Kconfig for qoriq (Yuantian Tang)

- Add DT binding and support for the rcar gen3 r8a77961 and improve
the error path on the rcar init function (Niklas SÃderlund)

- Cleanup and improvements for the tsens Qcom sensor (Amit Kucheria)

- Improve code by removing lock and caching values in the rcar thermal
sensor (Niklas SÃderlund)

- Cleanup in the qoriq drivers and add a call to
imx_thermal_unregister_legacy_cooling in the removal function (Anson
Huang)

- Remove redundant 'maxItems' in tsens and sprd DT bindings (Rob Herring)

- Change the thermal DT bindings by making the cooling-maps optional
(Yuantian Tang)

- Add Tiger Lake support (Sumeet Pawnikar)

- Use scnprintf() for avoiding potential buffer overflow (Takashi Iwai)

- Make pkg_temp_lock a raw_spinlock_t(Clark Williams)

- Fix incorrect data types by changing them to signed on i.MX SC
(Anson Huang)

- Replace zero-length array with flexible-array member (Gustavo A. R.
Silva)

- Add support for i.MX8MP in the driver and in the DT bindings (Anson
Huang)

- Fix return value of the cpufreq_set_cur_state() function (Willy Wolff)

- Remove abusing and scary WARN_ON in the cpufreq cooling device
(Daniel Lezcano)

- Fix build warning of incorrect argument type reported by sparse on
imx8mm (Anson Huang)

- Fix stub for the devfreq cooling device (Martin Blumenstingl)

- Fix cpu idle cooling documentation (Sergey Vidishev)

----------------------------------------------------------------
Amit Kucheria (8):
drivers: thermal: tsens: De-constify struct tsens_features
drivers: thermal: tsens: Pass around struct tsens_sensor as a
constant
drivers: thermal: tsens: use simpler variables
drivers: thermal: tsens: Release device in success path
drivers: thermal: tsens: Add critical interrupt support
drivers: thermal: tsens: Add watchdog support
drivers: thermal: tsens: kernel-doc fixup
drivers: thermal: tsens: Remove unnecessary irq flag

Anson Huang (18):
dt-bindings: fsl: scu: add thermal binding
thermal: of-thermal: add API for getting sensor ID from DT
thermal: imx_sc: add i.MX system controller thermal support
dt-bindings: thermal: imx8mm-thermal: Add binding doc for i.MX8MM
thermal: imx8mm: Add support for i.MX8MM thermal monitoring unit
thermal: imx_sc_thermal: Align imx sc thermal msg structs to 4
thermal: imx_thermal: Use __maybe_unused instead of CONFIG_PM_SLEEP
thermal: Fix build warning of !defined(CONFIG_THERMAL_OF)
thermal: Remove COMPILE_TEST for IMX_SC_THERMAL
thermal: Add COMPILE_TEST support for i.MX8MM
thermal: imx: Remove unused includes
thermal: qoriq: Use devm_add_action_or_reset() to handle all
cleanups
thermal: qoriq: Sort includes alphabetically
thermal: imx: Calling imx_thermal_unregister_legacy_cooling() in
.remove
thermal: imx_sc_thermal: Fix incorrect data type
dt-bindings: thermal: imx8mm-thermal: Add support for i.MX8MP
thermal: imx8mm: Add i.MX8MP support
thermal: imx8mm: Fix build warning of incorrect argument type

Baolin Wang (1):
dt-bindings: thermal: sprd: Add the Spreadtrum thermal documentation

Clark Williams (1):
thermal/x86_pkg_temp: Make pkg_temp_lock a raw_spinlock_t

Daniel Lezcano (1):
thermal/drivers/cpufreq_cooling: Remove abusing WARN_ON

Freeman Liu (1):
thermal: sprd: Add Spreadtrum thermal driver support

Geert Uytterhoeven (2):
dt-bindings: thermal: rcar-gen3-thermal: Add r8a77961 support
thermal: rcar_gen3_thermal: Add r8a77961 support

Gustavo A. R. Silva (1):
thermal: qcom: tsens.h: Replace zero-length array with
flexible-array member

Linus Walleij (2):
thermal: Rephrase the Kconfig text for thermal
thermal: ti-soc-thermal: Use GPIO descriptors

Marek Szyprowski (1):
thermal: exynos: Silence warning during deferred probe

Martin Blumenstingl (1):
thermal: devfreq_cooling: inline all stubs for
CONFIG_DEVFREQ_THERMAL=n

Niklas SÃderlund (6):
thermal: rcar_gen3_thermal: Remove unneeded curly brackets
thermal: rcar_gen3_thermal: Generate interrupt when temperature
changes
thermal: rcar_thermal: Handle probe error gracefully
thermal: rcar_thermal: Always update thermal zone on interrupt
thermal: rcar_thermal: Do not store ctemp in rcar_thermal_priv
thermal: rcar_thermal: Remove lock in
rcar_thermal_get_current_temp()

Rajeshwari (1):
dt-bindings: thermal: tsens: Add configuration in yaml

Rob Herring (2):
dt-bindings: thermal: sprd: Remove redundant 'maxItems'
dt-bindings: thermal: qcom-tsens: Remove redundant 'maxItems'

Sergey Vidishev (1):
Documentation: cpu-idle-cooling: Fix diagram for 33% duty cycle

Sumeet Pawnikar (1):
thermal: int340x: processor_thermal: Add Tiger Lake support

Takashi Iwai (1):
thermal: int340x_thermal: Use scnprintf() for avoiding potential
buffer overflow

Willy Wolff (1):
thermal/drivers/cpufreq_cooling: Fix return of cpufreq_set_cur_state

Yuantian Tang (2):
thermal: qoriq: Fix a compiling issue
dt-bindings: thermal: make cooling-maps property optional

.../devicetree/bindings/arm/freescale/fsl,scu.txt | 16 +
.../devicetree/bindings/thermal/imx8mm-thermal.txt | 15 +
.../devicetree/bindings/thermal/qcom-tsens.yaml | 2 +-
.../bindings/thermal/rcar-gen3-thermal.txt | 1 +
.../devicetree/bindings/thermal/sprd-thermal.yaml | 107 ++++
.../devicetree/bindings/thermal/thermal.txt | 2 +-
.../driver-api/thermal/cpu-idle-cooling.rst | 4 +-
drivers/thermal/Kconfig | 42 +-
drivers/thermal/Makefile | 3 +
drivers/thermal/cpufreq_cooling.c | 10 +-
drivers/thermal/imx8mm_thermal.c | 236 +++++++++
drivers/thermal/imx_sc_thermal.c | 148 ++++++
drivers/thermal/imx_thermal.c | 16 +-
.../intel/int340x_thermal/int3400_thermal.c | 2 +-
.../int340x_thermal/processor_thermal_device.c | 5 +
drivers/thermal/intel/x86_pkg_temp_thermal.c | 24 +-
drivers/thermal/of-thermal.c | 62 ++-
drivers/thermal/qcom/tsens-8960.c | 4 +-
drivers/thermal/qcom/tsens-common.c | 194 +++++++-
drivers/thermal/qcom/tsens-v0_1.c | 6 +-
drivers/thermal/qcom/tsens-v1.c | 6 +-
drivers/thermal/qcom/tsens-v2.c | 24 +-
drivers/thermal/qcom/tsens.c | 65 ++-
drivers/thermal/qcom/tsens.h | 105 +++-
drivers/thermal/qoriq_thermal.c | 40 +-
drivers/thermal/rcar_gen3_thermal.c | 31 +-
drivers/thermal/rcar_thermal.c | 53 +-
drivers/thermal/samsung/exynos_tmu.c | 4 +-
drivers/thermal/sprd_thermal.c | 552
+++++++++++++++++++++
drivers/thermal/st/stm_thermal.c | 3 +-
drivers/thermal/ti-soc-thermal/ti-bandgap.c | 44 +-
drivers/thermal/ti-soc-thermal/ti-bandgap.h | 4 +-
include/linux/devfreq_cooling.h | 2 +-
include/linux/thermal.h | 10 +
tools/thermal/tmon/tmon.c | 26 +-
35 files changed, 1613 insertions(+), 255 deletions(-)
create mode 100644
Documentation/devicetree/bindings/thermal/imx8mm-thermal.txt
create mode 100644
Documentation/devicetree/bindings/thermal/sprd-thermal.yaml
create mode 100644 drivers/thermal/imx8mm_thermal.c
create mode 100644 drivers/thermal/imx_sc_thermal.c
create mode 100644 drivers/thermal/sprd_thermal.c

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