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 <prabhakar.mahadev-lad.rj@bp.renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240604170513.522631-2-prabhakar.mahadev-lad.rj@bp.renesas.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4ed81d9 commit 220fb8f

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

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 <geert+renesas@glider.be>
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)