public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Add TSU support for RZ/T2H and RZ/N2H
@ 2026-01-08 16:53 Cosmin Tanislav
  2026-01-08 16:53 ` [PATCH v4 1/5] thermal: renesas: rzg3e: make reset optional Cosmin Tanislav
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Cosmin Tanislav @ 2026-01-08 16:53 UTC (permalink / raw)
  To: John Madieu, Rafael J . Wysocki, Daniel Lezcano, Zhang Rui,
	Lukasz Luba, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Philipp Zabel, Geert Uytterhoeven, Magnus Damm
  Cc: linux-pm, devicetree, linux-kernel, linux-renesas-soc,
	Cosmin Tanislav

Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs expose the
temperature calibration via SMC SIP and do not have a reset for the
TSU peripheral, and use different minimum and maximum temperature values
compared to RZ/G3E.

Although the calibration data is stored in an OTP memory, the OTP itself
is not memory-mapped, and instead, access to it is done through an OTP
controller. The OTP controller is only accessible from the secure world,
but the temperature calibration data stored in the OTP is exposed via
SMC.

V4:
 * pick up Geert's Reviewed-by
 * pick up John's Reviewed-by and Tested-by
 * pick up Conor's Acked-by
 * replace new macro TSU_TEMP_MASK usage with existing macro
   TSU_CODE_MAX
 * remove "Validate calibration data" comments
 * inline rzg3e_validate_calibration() into rzg3e_thermal_probe()
 * drop dts patches queued up by Geert

V3:
 * dt-bindings: rebase on top of [1]
 * dt-bindings: conditionally add `resets: false` and
   `renesas,tsu-trim: false` for renesas,r9a09g077-tsu compatibles

V2:
 * drop clk patch already present in linux-next
 * dt-bindings: merge two items into a single enum

[1]: https://patchwork.kernel.org/project/linux-pm/cover/20251020143107.13974-1-ovidiu.panait.rb@renesas.com/

Cosmin Tanislav (5):
  thermal: renesas: rzg3e: make reset optional
  thermal: renesas: rzg3e: make min and max temperature per-chip
  thermal: renesas: rzg3e: make calibration value retrieval per-chip
  dt-bindings: thermal: r9a09g047-tsu: document RZ/T2H and RZ/N2H
  thermal: renesas: rzg3e: add support for RZ/T2H and RZ/N2H

 .../thermal/renesas,r9a09g047-tsu.yaml        |  30 ++++-
 drivers/thermal/renesas/rzg3e_thermal.c       | 122 +++++++++++-------
 2 files changed, 100 insertions(+), 52 deletions(-)

-- 
2.52.0


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

end of thread, other threads:[~2026-01-15  6:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-08 16:53 Add TSU support for RZ/T2H and RZ/N2H Cosmin Tanislav
2026-01-08 16:53 ` [PATCH v4 1/5] thermal: renesas: rzg3e: make reset optional Cosmin Tanislav
2026-01-08 16:53 ` [PATCH v4 2/5] thermal: renesas: rzg3e: make min and max temperature per-chip Cosmin Tanislav
2026-01-08 16:53 ` [PATCH v4 3/5] thermal: renesas: rzg3e: make calibration value retrieval per-chip Cosmin Tanislav
2026-01-08 16:53 ` [PATCH v4 4/5] dt-bindings: thermal: r9a09g047-tsu: document RZ/T2H and RZ/N2H Cosmin Tanislav
2026-01-08 16:53 ` [PATCH v4 5/5] thermal: renesas: rzg3e: add support for " Cosmin Tanislav
2026-01-08 17:42   ` Geert Uytterhoeven
2026-01-08 18:08     ` Cosmin-Gabriel Tanislav
2026-01-08 18:16       ` Geert Uytterhoeven
2026-01-15  4:43   ` kernel test robot
2026-01-15  6:19   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox