[PATCH] net: phy: dp83867: Fix for automatically detected PHYs

Andrew Lunn andrew at lunn.ch
Fri Feb 3 09:54:51 PST 2017


> This is especially nice because we may change the base-board and use
> there another PHY and as long we have drivers for all possible PHY built
> in the kernel (or available via modules) proper driver will be instantiated
> based on PHY ID read from MDIO. I.e. having no PHY node in DT adds flexibility.

The device tree node does not prevent this. It will still load the
driver based on the PHY ID in the PHY. You might run into problems if
the address on the MDIO bus changes, but it is also possible to not
have a reg property, and it will match the node to whatever PHY it
finds during the scan of the bus.

      Andrew



More information about the linux-snps-arc mailing list