Hi,
On 9/30/25 00:43, Tom Rini wrote:
Hey all,
As part of working on "allyesconfig" support I ran into the following
problem. Both drivers/net/phy/mscc.c and drivers/net/phy/vitesse.c
implement support for the VSC8584 PHY. The vitesse.c driver is much
older and only had VSC8584 support added for a specific Freescale
Layerscape platform whereas mscc.c is modern and been updated with
newer PHYs as well. And we need one driver to support this phy, not two.
I am inclined to remove support from vitesse.c. However, only 4
platforms use the PHY_MSCC driver and everyone else uses PHY_VITESSE.
I'm cc'ing all of the board maintainers (other than PowerPC platforms)
that use PHY_VITESEE today to see what their feedback is on which way to
go here. I'm ignoring PowerPC because that can just stay on the
PHY_VITESSE driver based on timing of changes in git log.
We have VSC8531 on one Versal board which is the part of mscc.c driver already.
Because we do create one config for all boards with the same SOC to have
something to start with enabling ethernet phy is just in case.
I sent the patch to switch to MSCC driver.
Thanks,
Michal