On Tue, Nov 05, 2024 at 10:09:43AM +0100, Oleksij Rempel wrote: > Implement side MDIO channel support for LAN937x switches, providing an > alternative to SPI for PHY management alongside existing SPI-based > switch configuration. This is needed to reduce SPI load, as SPI can be > relatively expensive for small packets compared to MDIO support. > > Also, implemented static mappings for PHY addresses for various LAN937x > models to support different internal PHY configurations. Since the PHY > address mappings are not equal to the port indexes, this patch also > provides PHY address calculation based on hardware strapping > configuration. > > Signed-off-by: Oleksij Rempel <o.rempel@xxxxxxxxxxxxxx> Reviewed-by: Andrew Lunn <andrew@xxxxxxx> Andrew