]> www.infradead.org Git - users/hch/misc.git/commitdiff
dt-bindings: net: dsa: Drop 'ethernet-ports' node properties
authorRob Herring <robh@kernel.org>
Mon, 16 Oct 2023 21:44:27 +0000 (16:44 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Oct 2023 15:56:36 +0000 (08:56 -0700)
Constraints on 'ethernet-ports' node properties are already defined by the
reference to ethernet-switch.yaml, so they can be dropped from the DSA
schema.

Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231016-dt-net-cleanups-v1-8-a525a090b444@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/dsa/dsa.yaml

index e6010821f86fd5a4aeff62e388c97a536a51b7b8..6107189d276a2bdc58de6786389bd21dca821bd2 100644 (file)
@@ -40,15 +40,6 @@ $defs:
 
     patternProperties:
       "^(ethernet-)?ports$":
-        type: object
-        additionalProperties: false
-
-        properties:
-          '#address-cells':
-            const: 1
-          '#size-cells':
-            const: 0
-
         patternProperties:
           "^(ethernet-)?port@[0-9a-f]+$":
             description: Ethernet switch ports