[PATCH 0/6] thermal: renesas: Add support for RZ/G3S

Claudiu
2025-01-03T16:38:29Z

From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>

Hi,

This series adds thermal support for the Renesas RZ/G3S SoC.

Series is organized as follows:
- patch 1/6: adds clock, resets and power domain support for
the thermal sensor unit (TSU)
- patch 2/6: adds support for non-devres thermal zone
register/unregister
- patches 3-4/6: add thermal support for RZ/G3S
- patches 5-6/6: add device tree support

Merge strategy, if any:
- patch 1/6 can go through the Renesas tree
- patches 2-4/6 can go through the thermal tree
- patches 5-6/6 can go through the Renesas tree

Ulf,

I've added you to this thread as well due to patch 2/6 that has a similar
root cause as [1].

Thank you,
Claudiu Beznea

[1] https://lore.kernel.org/all/20250103140042.1619703-2-claudiu.beznea.uj@bp.renesas.com/

Claudiu Beznea (6):
clk: renesas: r9a08g045: Add clocks, resets and power domain support
for the TSU IP
thermal: of: Export non-devres helper to register/unregister thermal
zone
dt-bindings: thermal: r9a08g045-tsu: Document the TSU unit
thermal: renesas: rzg3s: Add thermal driver for the Renesas RZ/G3S SoC
arm64: dts: renesas: r9a08g045: Add TSU node
arm64: defconfig: Enable RZ/G3S thermal

.../thermal/renesas,r9a08g045-tsu.yaml | 93 ++++++
MAINTAINERS | 7 +
arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 43 ++-
.../boot/dts/renesas/rzg3s-smarc-som.dtsi | 4 -
arch/arm64/configs/defconfig | 1 +
drivers/clk/renesas/r9a08g045-cpg.c | 4 +
drivers/thermal/renesas/Kconfig | 8 +
drivers/thermal/renesas/Makefile | 1 +
drivers/thermal/renesas/rzg3s_thermal.c | 301 ++++++++++++++++++
drivers/thermal/thermal_of.c | 8 +-
include/linux/thermal.h | 14 +
11 files changed, 476 insertions(+), 8 deletions(-)
create mode 100644 Documentation/devicetree/bindings/thermal/renesas,r9a08g045-tsu.yaml
create mode 100644 drivers/thermal/renesas/rzg3s_thermal.c

--
2.43.0