Message ID | 17fcccf5-8d81-298e-0671-d543340da105@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | net: phy: smsc: add support for edpd tunable | expand |
On 4/2/2023 2:43 AM, Heiner Kallweit wrote: > This adds support for the EDPD PHY tunable. > Per default EDPD is disabled in interrupt mode, the tunable can be used > to override this, e.g. if the link partner doesn't use EDPD. > The interval to check for energy can be chosen between 1000ms and > 2000ms. Note that this value consists of the 1000ms phylib interval > for state machine runs plus the time to wait for energy being detected. AFAIR Chris Healy was trying to get something similar done, maybe you can CC him on the next version?
On 02.04.2023 16:00, Florian Fainelli wrote: > > > On 4/2/2023 2:43 AM, Heiner Kallweit wrote: >> This adds support for the EDPD PHY tunable. >> Per default EDPD is disabled in interrupt mode, the tunable can be used >> to override this, e.g. if the link partner doesn't use EDPD. >> The interval to check for energy can be chosen between 1000ms and >> 2000ms. Note that this value consists of the 1000ms phylib interval >> for state machine runs plus the time to wait for energy being detected. > > AFAIR Chris Healy was trying to get something similar done, maybe you can CC him on the next version? Actually this is based on a conversation between him and me. Chris came up with a first version and I reworked it from scratch to meet mainline standards and make it usable on SMSC and Amlogic PHY's.
On Sun, Apr 2, 2023 at 7:58 AM Heiner Kallweit <hkallweit1@gmail.com> wrote: > > On 02.04.2023 16:00, Florian Fainelli wrote: > > > > > > On 4/2/2023 2:43 AM, Heiner Kallweit wrote: > >> This adds support for the EDPD PHY tunable. > >> Per default EDPD is disabled in interrupt mode, the tunable can be used > >> to override this, e.g. if the link partner doesn't use EDPD. > >> The interval to check for energy can be chosen between 1000ms and > >> 2000ms. Note that this value consists of the 1000ms phylib interval > >> for state machine runs plus the time to wait for energy being detected. > > > > AFAIR Chris Healy was trying to get something similar done, maybe you can CC him on the next version? > > Actually this is based on a conversation between him and me. Chris came up > with a first version and I reworked it from scratch to meet mainline standards > and make it usable on SMSC and Amlogic PHY's. > It's great to see this feature coming together. I wish I would have had more time to help out.