[PATCH 3/3] RFC: net: dsa: mv88e6xxx: Register mdio-external

Rob Herring robh at kernel.org
Fri Oct 13 07:15:50 PDT 2023


On Fri, Oct 13, 2023 at 12:35:16AM +0200, Linus Walleij wrote:
> Make it legal to have a subnode just named "mdio-external"
> and have that be recognized immediately as the external
> MDIO bus, register it and return. Only fallback to the
> old method with a compatible in the external bus node
> if this doesn't work.
> 
> This is the result of deprecating the old DT method
> of providing a node "mdio1" with a compatible string.

I think this is the wrong direction. Using compatible is much better 
than relying on node names. We've been "fixing" node names precisely 
because they are usually not ABI.

Rob



More information about the linux-arm-kernel mailing list