Skip to content

Commit f41eaaa

Browse files
Demon000dlezcano
authored andcommitted
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: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Cosmin Tanislav <cosmin-gabriel.tanislav.xa@renesas.com> Link: https://patch.msgid.link/20260108195223.193531-5-cosmin-gabriel.tanislav.xa@renesas.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
1 parent c33edd8 commit f41eaaa

1 file changed

Lines changed: 27 additions & 3 deletions

File tree

Documentation/devicetree/bindings/thermal/renesas,r9a09g047-tsu.yaml

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@ description:
1717
properties:
1818
compatible:
1919
oneOf:
20-
- const: renesas,r9a09g047-tsu # RZ/G3E
20+
- enum:
21+
- renesas,r9a09g047-tsu # RZ/G3E
22+
- renesas,r9a09g077-tsu # RZ/T2H
2123
- items:
2224
- enum:
2325
- renesas,r9a09g056-tsu # RZ/V2N
2426
- renesas,r9a09g057-tsu # RZ/V2H
2527
- const: renesas,r9a09g047-tsu # RZ/G3E
28+
- items:
29+
- const: renesas,r9a09g087-tsu # RZ/N2H
30+
- const: renesas,r9a09g077-tsu # RZ/T2H
2631

2732
reg:
2833
maxItems: 1
@@ -65,12 +70,31 @@ required:
6570
- compatible
6671
- reg
6772
- clocks
68-
- resets
6973
- power-domains
7074
- interrupts
7175
- interrupt-names
7276
- "#thermal-sensor-cells"
73-
- renesas,tsu-trim
77+
78+
allOf:
79+
- if:
80+
properties:
81+
compatible:
82+
contains:
83+
const: renesas,r9a09g047-tsu
84+
then:
85+
required:
86+
- resets
87+
- renesas,tsu-trim
88+
89+
- if:
90+
properties:
91+
compatible:
92+
contains:
93+
const: renesas,r9a09g077-tsu
94+
then:
95+
properties:
96+
resets: false
97+
renesas,tsu-trim: false
7498

7599
additionalProperties: false
76100

0 commit comments

Comments
 (0)