[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250224173144.1952801-1-claudiu.beznea.uj@bp.renesas.com>
Date: Mon, 24 Feb 2025 19:31:40 +0200
From: Claudiu <claudiu.beznea@...on.dev>
To: rafael@...nel.org,
daniel.lezcano@...aro.org,
rui.zhang@...el.com,
lukasz.luba@....com,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
geert+renesas@...der.be,
magnus.damm@...il.com,
p.zabel@...gutronix.de
Cc: claudiu.beznea@...on.dev,
linux-pm@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-renesas-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Claudiu Beznea <claudiu.beznea.uj@...renesas.com>
Subject: [PATCH v2 0/4] thermal: renesas: Add support for RZ/G3S
From: Claudiu Beznea <claudiu.beznea.uj@...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
Powered by blists - more mailing lists