Skip to content

Commit 4abb385

Browse files
geertudlezcano
authored andcommitted
dt-bindings: timer: renesas,cmt: Fix R-Car Gen4 fall-out
Restore sort order (by family, followed by type). Update the conditional sections specifying the number of interrupts. Fixes: 525b296 ("dt-bindings: timer: renesas,cmt: Add r8a779f0 and generic Gen4 CMT support") Signed-off-by: Geert Uytterhoeven <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/2e3863ae32e17d49f41111580f195dd34e2b769d.1658303544.git.geert+renesas@glider.be Signed-off-by: Daniel Lezcano <[email protected]>
1 parent 110a253 commit 4abb385

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Documentation/devicetree/bindings/timer/renesas,cmt.yaml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,6 @@ properties:
8282
- renesas,r8a77995-cmt0 # 32-bit CMT0 on R-Car D3
8383
- const: renesas,rcar-gen3-cmt0 # 32-bit CMT0 on R-Car Gen3 and RZ/G2
8484

85-
- items:
86-
- enum:
87-
- renesas,r8a779a0-cmt0 # 32-bit CMT0 on R-Car V3U
88-
- renesas,r8a779f0-cmt0 # 32-bit CMT0 on R-Car S4-8
89-
- const: renesas,rcar-gen4-cmt0 # 32-bit CMT0 on R-Car Gen4
90-
9185
- items:
9286
- enum:
9387
- renesas,r8a774a1-cmt1 # 48-bit CMT on RZ/G2M
@@ -104,6 +98,12 @@ properties:
10498
- renesas,r8a77995-cmt1 # 48-bit CMT on R-Car D3
10599
- const: renesas,rcar-gen3-cmt1 # 48-bit CMT on R-Car Gen3 and RZ/G2
106100

101+
- items:
102+
- enum:
103+
- renesas,r8a779a0-cmt0 # 32-bit CMT0 on R-Car V3U
104+
- renesas,r8a779f0-cmt0 # 32-bit CMT0 on R-Car S4-8
105+
- const: renesas,rcar-gen4-cmt0 # 32-bit CMT0 on R-Car Gen4
106+
107107
- items:
108108
- enum:
109109
- renesas,r8a779a0-cmt1 # 48-bit CMT on R-Car V3U
@@ -145,6 +145,7 @@ allOf:
145145
enum:
146146
- renesas,rcar-gen2-cmt0
147147
- renesas,rcar-gen3-cmt0
148+
- renesas,rcar-gen4-cmt0
148149
then:
149150
properties:
150151
interrupts:
@@ -158,6 +159,7 @@ allOf:
158159
enum:
159160
- renesas,rcar-gen2-cmt1
160161
- renesas,rcar-gen3-cmt1
162+
- renesas,rcar-gen4-cmt1
161163
then:
162164
properties:
163165
interrupts:

0 commit comments

Comments
 (0)