[GIT PULL] Thermal control updates for v5.17-rc1
From: Rafael J. Wysocki
Date: Mon Jan 10 2022 - 14:20:13 EST
Hi Linus,
Please pull from the tag
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \
thermal-5.17-rc1
with top-most commit fff489ff0722bec127a05667bec00ea45cf9f77e
Merge branch 'thermal-int340x'
on top of commit f872f73601b92c86f3da8bdf3e19abd0f1780eb9
thermal: int340x: Fix VCoRefLow MMIO bit offset for TGL
to receive thermal control updates for 5.17-rc1.
These add a new driver for Renesas RZ/G2L TSU, update a few existing
thermal control drivers and clean up the tmon utility.
Specifics:
- Add new TSU driver and DT bindings for the Renesas RZ/G2L platform
(Biju Das).
- Fix missing check when calling reset_control_deassert() in the
rz2gl thermal driver (Biju Das).
- In preparation for FORTIFY_SOURCE performing compile-time and
run-time field bounds checking for memcpy(), avoid intentionally
writing across neighboring fields in the int340x thermal control
driver (Kees Cook).
- Fix RFIM mailbox write commands handling in the int340x thermal
control driver (Sumeet Pawnikar).
- Fix PM issue occurring in the iMX thermal control driver during
suspend/resume by implementing PM runtime support in it (Oleksij
Rempel).
- Add 'const' annotation to thermal_cooling_ops in the Intel
powerclamp driver (Rikard Falkeborn).
- Fix missing ADC bit set in the iMX8MP thermal driver to enable the
sensor (Paul Gerber).
- Drop unused local variable definition from tmon (ran jianping).
Thanks!
---------------
Biju Das (3):
dt-bindings: thermal: Document Renesas RZ/G2L TSU
thermal/drivers: Add TSU driver for RZ/G2L
thermal/drivers/rz2gl: Add error check for reset_control_deassert()
Kees Cook (1):
thermal: int340x: Use struct_group() for memcpy() region
Oleksij Rempel (1):
thermal/drivers/imx: Implement runtime PM support
Paul Gerber (1):
thermal/drivers/imx8mm: Enable ADC when enabling monitor
Rikard Falkeborn (1):
thermal/drivers/intel_powerclamp: Constify static
thermal_cooling_device_ops
Sumeet Pawnikar (1):
thermal/drivers/int340x: Fix RFIM mailbox write commands
ran jianping (1):
thermal: tools: tmon: remove unneeded local variable
---------------
.../devicetree/bindings/thermal/rzg2l-thermal.yaml | 76 +++++++
drivers/thermal/Kconfig | 9 +
drivers/thermal/Makefile | 1 +
drivers/thermal/imx8mm_thermal.c | 3 +
drivers/thermal/imx_thermal.c | 145 +++++++-----
.../intel/int340x_thermal/acpi_thermal_rel.c | 5 +-
.../intel/int340x_thermal/acpi_thermal_rel.h | 48 ++--
.../int340x_thermal/processor_thermal_device.h | 3 +-
.../intel/int340x_thermal/processor_thermal_mbox.c | 100 +++++----
.../intel/int340x_thermal/processor_thermal_rfim.c | 23 +-
drivers/thermal/intel/intel_powerclamp.c | 2 +-
drivers/thermal/rzg2l_thermal.c | 242 +++++++++++++++++++++
tools/thermal/tmon/pid.c | 3 +-
13 files changed, 526 insertions(+), 134 deletions(-)