dt-bindings: net: ethernet-switch: Rename $defs "base" to 'ethernet-ports'
authorRob Herring <robh@kernel.org>
Mon, 16 Oct 2023 21:44:24 +0000 (16:44 -0500)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Oct 2023 15:56:36 +0000 (08:56 -0700)
The name "base" is misleading as the definition is for a complete schema
definition without additional properties allowed, not a "base class".
Align the same to be the same as dsa.yaml. This schema file without any
json pointer path is the base schema which can be extended.

There are not yet any references to $defs/base to update.

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-5-a525a090b444@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/ethernet-switch.yaml

index 688938c2e26171c78d91cdc449a9eb1eedbf4427..72ac67ca341513203315572ac8016eeaca6bd914 100644 (file)
@@ -53,7 +53,7 @@ oneOf:
 additionalProperties: true
 
 $defs:
-  base:
+  ethernet-ports:
     description: An ethernet switch without any extra port properties
     $ref: '#'