linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] thermal: renesas: Add support fot RZ/G3E
@ 2025-03-15  8:12 John Madieu
  2025-03-15  8:12 ` [PATCH v3 1/6] soc: renesas: rz-sysc: add syscon/regmap support John Madieu
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: John Madieu @ 2025-03-15  8:12 UTC (permalink / raw)
  To: geert+renesas, conor+dt, krzk+dt, robh, rafael, daniel.lezcano
  Cc: magnus.damm, devicetree, john.madieu, rui.zhang, linux-kernel,
	linux-renesas-soc, sboyd, biju.das.jz, linux-pm, lukasz.luba,
	John Madieu

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/6:    adds syscon/regmap support for accessing system controller
                registers, enabling access to TSU calibration values

- patch 2/6:    adds dt-bindings
- patch 3/6:    adds the actual TSU driver for the RZ/G3E
- patch 4/6:    adds safety mechanism to make sure we we protect the chip in
                case of consecutive read failures
- patch 4-6/6:  add DT node and defconfig enablement


Changes:

v1 -> v2
 * Fix yaml warnings from dt-binding
 * Update IRQ names to reflect TSU expectations

v2 -> v3
 * Remove useless 'renesas,tsu-operating-mode' property

Regards,

John Madieu (6):
  soc: renesas: rz-sysc: add syscon/regmap support
  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        | 113 +++++
 MAINTAINERS                                   |   7 +
 arch/arm64/boot/dts/renesas/r9a09g047.dtsi    |  48 ++
 arch/arm64/configs/defconfig                  |   1 +
 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 ++++++++++++++++++
 11 files changed, 689 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


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2025-03-27 12:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-15  8:12 [PATCH v3 0/6] thermal: renesas: Add support fot RZ/G3E John Madieu
2025-03-15  8:12 ` [PATCH v3 1/6] soc: renesas: rz-sysc: add syscon/regmap support John Madieu
2025-03-17 15:12   ` Geert Uytterhoeven
2025-03-17 15:49     ` John Madieu
2025-03-27 12:02     ` John Madieu
2025-03-15  8:12 ` [PATCH v3 2/6] dt-bindings: thermal: r9a09g047-tsu: Document the TSU unit John Madieu
2025-03-17  9:28   ` Krzysztof Kozlowski
2025-03-17 10:56     ` John Madieu
2025-03-15  8:12 ` [PATCH v3 3/6] thermal: renesas: rzg3e: Add thermal driver for the Renesas RZ/G3E SoC John Madieu
2025-03-15  8:12 ` [PATCH v3 4/6] thermal: renesas: rzg3e: Add safety check when reading temperature John Madieu
2025-03-15  8:12 ` [PATCH v3 5/6] arm64: dts: renesas: r9a09g047: Add TSU node John Madieu
2025-03-15  8:12 ` [PATCH v3 6/6] arm64: defconfig: Enable RZ/G3E thermal John Madieu
2025-03-17  9:29   ` Krzysztof Kozlowski
2025-03-17 11:14     ` John Madieu
2025-03-17 13:06       ` Geert Uytterhoeven
2025-03-17 13:10         ` John Madieu
2025-03-17 14:56         ` Krzysztof Kozlowski
2025-03-17 14:55       ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).