]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: net: dsa: Require ports or ethernet-ports
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Nov 2023 15:43:04 +0000 (16:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Nov 2023 03:37:20 +0000 (19:37 -0800)
commitfbb7033b76eb0639a6f24d48e59f28407a4dee64
treeef39d173856af00e34e756fbade29d3ceaf51f4d
parent6afb936f73cf54e2afe966594fa3fd566d345ed8
dt-bindings: net: dsa: Require ports or ethernet-ports

Bindings using dsa.yaml#/$defs/ethernet-ports specify that
a DSA switch node need to have a ports or ethernet-ports
subnode, and that is actually required, so add requirements
using oneOf.

Suggested-by: Rob Herring <robh@kernel.org>
Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20231127-marvell-88e6152-wan-led-v9-1-272934e04681@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/dsa/dsa.yaml