Thread (19 messages) 19 messages, 4 authors, 2021-10-18

Re: [PATCH net-next 4/6] dt-bindings: net: dsa: inherit the ethernet-controller DT schema

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-10-15 16:52:00
Also in: linux-devicetree, lkml, netdev

On 10/13/21 3:23 PM, Vladimir Oltean wrote:
Since a switch is basically a bunch of Ethernet controllers, just
inherit the common schema for one to get stronger type validation of the
properties of a port.

For example, before this change it was valid to have a phy-mode = "xfi"
even if "xfi" is not part of ethernet-controller.yaml, now it is not.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help