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 7597e8f..5797c5e 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 57ea987..c762c1c 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 1feb5ab..0ea5922 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
+