[PATCH v2 0/4] thermal: renesas: Add support for RZ/G3S
Claudiu
claudiu.beznea at tuxon.dev
Mon Feb 24 09:31:40 PST 2025
From: Claudiu Beznea <claudiu.beznea.uj at bp.renesas.com>
Hi,
This series adds thermal support for the Renesas RZ/G3S SoC.
Series is organized as follows:
- patches 1-2/4: add thermal support for RZ/G3S
- patches 3-4/5: add device tree support
Merge strategy, if any:
- patches 1-2/4 can go through the thermal tree
- patches 3-4/4 can go through the Renesas tree
Thank you,
Claudiu Beznea
Changes in v2:
- dropped the already applied patches
- dropped patch 2/6 from v1 as the devres_open_group()/devres_release_group()
approach was implemented in this version (similar to what was proposed in
[1])
- collected tags
- added a passive trip point not bound to any cooling device, as proposed
in the review process
- decreased the trip points temperature
- convert the temperature to mili degree Celsius before applying the
computation formula to avoid losing precision
- use int variables (instead of unsigned) for temperature computation
[1] https://lore.kernel.org/all/20250215130849.227812-1-claudiu.beznea.uj@bp.renesas.com/
Claudiu Beznea (4):
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 | 49 ++-
.../boot/dts/renesas/rzg3s-smarc-som.dtsi | 4 -
arch/arm64/configs/defconfig | 1 +
drivers/thermal/renesas/Kconfig | 8 +
drivers/thermal/renesas/Makefile | 1 +
drivers/thermal/renesas/rzg3s_thermal.c | 329 ++++++++++++++++++
8 files changed, 487 insertions(+), 5 deletions(-)
create mode 100644 Documentation/devicetree/bindings/thermal/renesas,r9a08g045-tsu.yaml
create mode 100644 drivers/thermal/renesas/rzg3s_thermal.c
--
2.43.0
More information about the linux-arm-kernel
mailing list