aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml
diff options
context:
space:
mode:
authorGravatar Colin Foster <colin.foster@in-advantage.com> 2023-01-12 07:56:07 -1000
committerGravatar David S. Miller <davem@davemloft.net> 2023-01-16 18:42:54 +0000
commit3cec368a8beca1e7cfe4069e8234ecfe7f969d8d (patch)
tree4dd0ca684a5c2ddcb240daaeaff9b86337e918ca /Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml
parentdt-bindings: net: dsa: qca8k: remove address-cells and size-cells from switch... (diff)
downloadlinux-3cec368a8beca1e7cfe4069e8234ecfe7f969d8d.tar.gz
linux-3cec368a8beca1e7cfe4069e8234ecfe7f969d8d.tar.bz2
linux-3cec368a8beca1e7cfe4069e8234ecfe7f969d8d.zip
dt-bindings: net: dsa: utilize base definitions for standard dsa switches
DSA switches can fall into one of two categories: switches where all ports follow standard '(ethernet-)?port' properties, and switches that have additional properties for the ports. The scenario where DSA ports are all standardized can be handled by switches with a reference to the new 'dsa.yaml#/$defs/ethernet-ports'. The scenario where DSA ports require additional properties can reference '$dsa.yaml#' directly. This will allow switches to reference these standard definitions of the DSA switch, but add additional properties under the port nodes. Suggested-by: Rob Herring <robh@kernel.org> Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Rob Herring <robh@kernel.org> Acked-by: Alvin Šipraga <alsi@bang-olufsen.dk> # realtek Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml')
-rw-r--r--Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml b/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml
index 2a6d126606ca..9565a7402146 100644
--- a/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml
+++ b/Documentation/devicetree/bindings/net/dsa/arrow,xrs700x.yaml
@@ -7,7 +7,7 @@ $schema: http://devicetree.org/meta-schemas/core.yaml#
title: Arrow SpeedChips XRS7000 Series Switch
allOf:
- - $ref: dsa.yaml#
+ - $ref: dsa.yaml#/$defs/ethernet-ports
maintainers:
- George McCollister <george.mccollister@gmail.com>