Re: [PATCH net-next v4] net: phy: aquantia: Poll global status register for provision ID

From
Andrew Lunn <andrew@lunn.ch>
Date
2026-11-16 13:33:43
Also in
lkml
Reply to
Hongmei Xu, 2026-11-16
On Mon, Nov 16, 2026 at 07:14:50PM +0800, Hongmei Xu wrote:
According to the AQR113 PHY databook, after firmware reset, a 20ms
timer needs to be engaged to allow the supplies to settle prior to
allowing the PHY to boot. The working flow is:
  -After the 20 ms timer has completed, hardware state machines
   designed to guarantee PLL and band-gap stability engage.
  -After the PLLs and band-gap are locked and functioning properly,
   the processor and digital circuitry are released from reset.
  -The PHY image is then loaded through MDIO boot-load and the
   processor boots.
  -After the processor boots, any provisioned register values are
   set, and the PHY enters the provisioned operating state.

Starting subsequent firmware operations before the provision ID is
valid leads to steady link failures; this has been observed during
AQR113 PHY bring-up.

Poll VEND1_GLOBAL_RSVD_STAT1 on AQR113/AQR113C until the provision
ID field is non-zero before returning from aqr_wait_reset_complete().
A timeout indicates a hardware-level provisioning failure that
software cannot remediate; the warning is logged to flag the hardware
problem, but probe is not failed since a timeout does not necessarily
prevent link establishment.

Co-developed-by: Sagar Cheluvegowda <redacted>
Signed-off-by: Sagar Cheluvegowda <redacted>
Signed-off-by: Hongmei Xu <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Thread (4 messages) 4 messages, 3 authors, last reply 18h ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help