Commit f41eaaa5 authored by Cosmin Tanislav's avatar Cosmin Tanislav Committed by Daniel Lezcano
Browse files

dt-bindings: thermal: r9a09g047-tsu: document RZ/T2H and RZ/N2H



The Renesas RZ/T2H (R9A09G077) and RZ/N2H (R9A09G087) SoCs include a
Temperature Sensor Unit (TSU). The device provides real-time temperature
measurements for thermal management, utilizing a single dedicated
channel for temperature sensing.

Compared to the previously supported RZ/G3E, the RZ/T2H and RZ/N2H SoCs
do not have a reset for the TSU peripheral, and the OTP data is exposed
via ARM SMC, as opposed to a system register.

Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarCosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com>
Link: https://patch.msgid.link/20260108195223.193531-5-cosmin-gabriel.tanislav.xa@renesas.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent c33edd8f
Loading
Loading
Loading
Loading
+27 −3
Original line number Diff line number Diff line
@@ -17,12 +17,17 @@ description:
properties:
  compatible:
    oneOf:
      - const: renesas,r9a09g047-tsu # RZ/G3E
      - enum:
          - renesas,r9a09g047-tsu # RZ/G3E
          - renesas,r9a09g077-tsu # RZ/T2H
      - items:
          - enum:
              - renesas,r9a09g056-tsu # RZ/V2N
              - renesas,r9a09g057-tsu # RZ/V2H
          - const: renesas,r9a09g047-tsu # RZ/G3E
      - items:
          - const: renesas,r9a09g087-tsu # RZ/N2H
          - const: renesas,r9a09g077-tsu # RZ/T2H

  reg:
    maxItems: 1
@@ -65,13 +70,32 @@ required:
  - compatible
  - reg
  - clocks
  - resets
  - power-domains
  - interrupts
  - interrupt-names
  - "#thermal-sensor-cells"

allOf:
  - if:
      properties:
        compatible:
          contains:
            const: renesas,r9a09g047-tsu
    then:
      required:
        - resets
        - renesas,tsu-trim

  - if:
      properties:
        compatible:
          contains:
            const: renesas,r9a09g077-tsu
    then:
      properties:
        resets: false
        renesas,tsu-trim: false

additionalProperties: false

examples: