]> git.itanic.dy.fi Git - linux-stable/commit
dt-bindings: net: ethernet-switch: Accept special variants
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 27 Nov 2023 15:43:06 +0000 (16:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Nov 2023 03:37:21 +0000 (19:37 -0800)
commitf45c197465ed92c72c1af7ac773ca5050bd9535a
tree7119576eb3270b0d1554ea494f21274f92cef2dd
parenta6e44f3028e7d582da625a611ef17908844d0e82
dt-bindings: net: ethernet-switch: Accept special variants

Accept special node naming variants for Marvell switches with
special node names as ABI.

This is maybe not the prettiest but it avoids special-casing
the Marvell MV88E6xxx bindings by copying a lot of generic
binding code down into that one binding just to special-case
these unfixable nodes.

Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20231127-marvell-88e6152-wan-led-v9-3-272934e04681@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/ethernet-switch.yaml