Re: [PATCH net-next] net: phy: microchip_t1: SQI support for LAN887x
From: Andrew Lunn
Date: Mon Sep 09 2024 - 09:17:38 EST
> > With this only taking 76ms, what is the likelihood of link down and link up again
> > within 76ms? For a 1000BaseT PHY, they don't report link down for 1 second, and
> > it takes another 1 second to perform autoneg before the link is up again. Now this
> > is an automotive PHY, so the timing is different. What does the data sheet say
> > about how fast it detects and reports link down and up?
> >
>
> For 1000M this sampling procedure will not be run rather we use SQI hardware register to read the value.
> as this procedure is only for 100M and linkup time is ~100ms we can check link status before starting the sampling and after
> completing the sampling. This would ensure that link is not down before calculating SQI.
Great. That will help users who have a slower MDIO bus.
Andrew
---
pw-bot: cr