Re: RFC: phylink: disable PHY autonomous EEE when MAC manages LPI

Andrew Lunn
2026-04-02T13:32:43Z

> > Thanks both. So if I understand correctly:
> >
> > 1. Add a .disable_autonomous_eee callback to struct phy_driver
> >
> > 2. Call it from phy_support_eee() so MAC drivers don't need to know
> > or care whether the PHY does (autonomous|smart)eee
> >
> > 3. BCM54xx (AutogrEEEn) and RTL8211F as first users
> >
> > 4. No enable counterpart for now. PHY drivers maintain their current
> > default behavior unless phy_support_eee() is called.
> >
> > Sounds good. Sorting out the warts of (autonomous|smart)eee will be
> > iterative anyway, so starting with just the disable path makes sense
> > (and hopefully will make setups a bit less broken than they were with
> > both fighting for LPI).
> >
> > I'll put the RFC patches together.
>
> Sounds good to me, but I'd wait for Andrew's input.

Yes, this sounds good, but lets see the patches.

Andrew