[PATCH 0/7] thermal: renesas: Add support fot RZ/G3E
From: John Madieu
Date: Thu Feb 20 2025 - 10:33:56 EST
Hello,
This series adds support for the temperature sensor unit (TSU) found on the
Renesas RZ/G3E SoC.
The series consists of 7 patches (some of which are not related to the thermal
framework) that progressively add TSU support as follows:
- patch 1/7: adds syscon/regmap support for accessing system controller
registers, enabling access to TSU calibration values
- patch 2/7: adds clock and reset signals to the CPG driver
- patch 3/7: adds dt-bindings
- patch 4/7: adds the actual TSU driver for the RZ/G3E
- patch 5/6: adds safety mechanism to make sure we we protect the chip in
case of consecutive read failures
- patch 6-7/7: add DT node and defconfig enablement
Regards,
John Madieu (7):
soc: renesas: rz-sysc: add syscon/regmap support
clk: renesas: r9a09g047: Add clock and reset signals for the TSU IP
dt-bindings: thermal: r9a09g047-tsu: Document the TSU unit
thermal: renesas: rzg3e: Add thermal driver for the Renesas RZ/G3E SoC
thermal: renesas: rzg3e: Add safety check when reading temperature
arm64: dts: renesas: r9a09g047: Add TSU node
arm64: defconfig: Enable RZ/G3E thermal
.../thermal/renesas,r9a09g047-tsu.yaml | 123 +++++
MAINTAINERS | 7 +
arch/arm64/boot/dts/renesas/r9a09g047.dtsi | 49 ++
arch/arm64/configs/defconfig | 1 +
drivers/clk/renesas/r9a09g047-cpg.c | 3 +
drivers/soc/renesas/Kconfig | 1 +
drivers/soc/renesas/r9a09g047-sys.c | 1 +
drivers/soc/renesas/rz-sysc.c | 30 +-
drivers/soc/renesas/rz-sysc.h | 2 +
drivers/thermal/renesas/Kconfig | 7 +
drivers/thermal/renesas/Makefile | 1 +
drivers/thermal/renesas/rzg3e_thermal.c | 479 ++++++++++++++++++
12 files changed, 703 insertions(+), 1 deletion(-)
create mode 100644 Documentation/devicetree/bindings/thermal/renesas,r9a09g047-tsu.yaml
create mode 100644 drivers/thermal/renesas/rzg3e_thermal.c
--
2.25.1