Skip to content

Commit 220fb8f

Browse files
prabhakarladgregkh
authored andcommitted
dt-bindings: serial: renesas,scif: Move ref for serial.yaml at the end
In preparation for adding more validation checks move the ref for 'serial.yaml' to the end and also move reset check in 'allOf' block. Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4ed81d9 commit 220fb8f

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

Documentation/devicetree/bindings/serial/renesas,scif.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ title: Renesas Serial Communication Interface with FIFO (SCIF)
99
maintainers:
1010
- Geert Uytterhoeven <[email protected]>
1111

12-
allOf:
13-
- $ref: serial.yaml#
14-
1512
properties:
1613
compatible:
1714
oneOf:
@@ -161,18 +158,21 @@ required:
161158
- clock-names
162159
- power-domains
163160

164-
if:
165-
properties:
166-
compatible:
167-
contains:
168-
enum:
169-
- renesas,rcar-gen2-scif
170-
- renesas,rcar-gen3-scif
171-
- renesas,rcar-gen4-scif
172-
- renesas,scif-r9a07g044
173-
then:
174-
required:
175-
- resets
161+
allOf:
162+
- $ref: serial.yaml#
163+
164+
- if:
165+
properties:
166+
compatible:
167+
contains:
168+
enum:
169+
- renesas,rcar-gen2-scif
170+
- renesas,rcar-gen3-scif
171+
- renesas,rcar-gen4-scif
172+
- renesas,scif-r9a07g044
173+
then:
174+
required:
175+
- resets
176176

177177
unevaluatedProperties: false
178178

0 commit comments

Comments
 (0)