U-Boot PHY_MSCC vs PHY_VITESSE
Tom Rini
trini at konsulko.com
Tue Sep 30 19:12:27 CEST 2025
On Tue, Sep 30, 2025 at 05:41:34PM +0100, Conor Dooley wrote:
> On Mon, Sep 29, 2025 at 04:43:36PM -0600, 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.
>
> The mpfs icicle board is using PHY_VITESSE because the phy it has
> (vsc8662) is only supported by that driver. Same in Linux for that phy.
> We've got no users of the model you're talking about.
>
> FWIW, I checked our "in house" linux config and it uses the generic phy
> driver, rather than the vitesse one. I wonder if we can get away with
> that in U-Boot too?
I was a little unclear in my wording of the problem, sorry. So just
staying on PHY_VITESSE is fine (it's not being removed) or switching to
the generic phy driver (likely smaller binary in the end?) is fine.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250930/18bf47dd/attachment.sig>
More information about the U-Boot
mailing list