]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
thermal/drivers/renesas/rzg3e: Add thermal driver for the Renesas RZ/G3E SoC
authorJohn Madieu <john.madieu.xa@bp.renesas.com>
Wed, 17 Sep 2025 17:01:56 +0000 (19:01 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 25 Sep 2025 20:11:00 +0000 (22:11 +0200)
The RZ/G3E SoC integrates a Temperature Sensor Unit (TSU) block designed
to monitor the chip's junction temperature. This sensor is connected to
channel 1 of the APB port clock/reset and provides temperature measurements.

It also requires calibration values stored in the system controller registers
for accurate temperature measurement. Add a driver for the Renesas RZ/G3E TSU.

[ dlezcano: Fixed conflict with "renesas: Add support for RZ/G3S" ]

Signed-off-by: John Madieu <john.madieu.xa@bp.renesas.com>
Reviewed-by: Biju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20250917170202.197929-3-john.madieu.xa@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
MAINTAINERS
drivers/thermal/renesas/Kconfig
drivers/thermal/renesas/Makefile

index 7597e8fbc842c65afef065c6dc66a8943bdacef6..5797c5efd300ef9fbf60c57c805cbd2dc76d236f 100644 (file)
@@ -21548,6 +21548,13 @@ S:     Maintained
 F:     Documentation/devicetree/bindings/thermal/renesas,r9a08g045-tsu.yaml
 F:     drivers/thermal/renesas/rzg3s_thermal.c
 
+RENESAS RZ/G3E THERMAL SENSOR UNIT DRIVER
+M:     John Madieu <john.madieu.xa@bp.renesas.com>
+L:     linux-pm@vger.kernel.org
+S:     Maintained
+F:     Documentation/devicetree/bindings/thermal/renesas,r9a09g047-tsu.yaml
+F:     drivers/thermal/renesas/rzg3e_thermal.c
+
 RESET CONTROLLER FRAMEWORK
 M:     Philipp Zabel <p.zabel@pengutronix.de>
 S:     Maintained
index 57ea987e231d77c7b1310f9aa85e32f066e8a214..c762c1c30d5a211ae277bde728985f3b768e982a 100644 (file)
@@ -34,3 +34,10 @@ config RZG3S_THERMAL
        help
          Enable this to plug the RZ/G3S thermal sensor driver into the Linux
          thermal framework.
+
+config RZG3E_THERMAL
+       tristate "Renesas RZ/G3E thermal driver"
+       depends on ARCH_RENESAS || COMPILE_TEST
+       help
+         Enable this to plug the RZ/G3E thermal sensor driver into the Linux
+         thermal framework.
index 1feb5ab78827e23938d182db56586f5f38b51aa6..0ea59224757226cc62bc2c736dff8d731f0e259e 100644 (file)
@@ -3,4 +3,6 @@
 obj-$(CONFIG_RCAR_GEN3_THERMAL)        += rcar_gen3_thermal.o
 obj-$(CONFIG_RCAR_THERMAL)     += rcar_thermal.o
 obj-$(CONFIG_RZG2L_THERMAL)    += rzg2l_thermal.o
+obj-$(CONFIG_RZG3E_THERMAL)    += rzg3e_thermal.o
 obj-$(CONFIG_RZG3S_THERMAL)    += rzg3s_thermal.o
+