Commit 6bd5b729 authored by Bastien Curutchet (Schneider Electric)'s avatar Bastien Curutchet (Schneider Electric) Committed by Jakub Kicinski
Browse files

dt-bindings: net: dsa: microchip: Group if clause under allOf tag



Upcoming patch adds a new if/then clause. It requires to be grouped with
the already existing if/then clause under an 'allOf:' tag.

Move the if/then clause under the already existing 'allOf:' tag to
prepare next patch.

Acked-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarBastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com>
Link: https://patch.msgid.link/20250918-ksz-strap-pins-v3-1-16662e881728@bootlin.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 1bcce9ec
Loading
Loading
Loading
Loading
+34 −34
Original line number Diff line number Diff line
@@ -10,9 +10,6 @@ maintainers:
  - Marek Vasut <marex@denx.de>
  - Woojung Huh <Woojung.Huh@microchip.com>

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

properties:
  # See Documentation/devicetree/bindings/net/dsa/dsa.yaml for a list of additional
  # required and optional properties.
@@ -107,7 +104,10 @@ required:
  - compatible
  - reg

if:
allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

  - if:
      not:
        properties:
          compatible: