Re: [PATCH] net: mdio: of: Do not treat fixed-link as PHY

From: Andrew Lunn
Date: Wed Apr 01 2020 - 09:06:53 EST


> Hi Andrew
>
> >
> > There are some still using this deprecated feature. But macb is the
> > only one doing this odd looping over child nodes. It is this looping
> > which is breaking things, not the use of the deprecated feature
> > itself.
>
> Yes, its due to the fact that the MDIO node is missing. Should we have
> in mind to add an MDIO node under the macb node, where we could add the
> PHY nodes?

Yes, you can make the driver complient any time you want. But as you
said, you need to keep with backwards compatibility. But net-next is
closed now, for the merge window. So you probably want to wait two
weeks before posting code.

Andrew