[PATCH v2 1/2] eth: asix88179: Fix ASIX AX88179A PHY hang

Marek Vasut marex at denx.de
Sat Nov 23 20:56:29 CET 2024


On 11/8/24 6:51 AM, Khoa Hoang wrote:
> The ASIX AX88179A locks up when the ADVERTISE_NPAGE bit is set in the
> MII_ADVERTISE register, suggesting that this feature may be broken or
> unsupported on this chip. In the Linux kernel, this bit is not set,
> and enabling it also causes the PHY to lock up and stay in a
> link-down state.
> 
> Additionally, the AX88179 and AX88179A variants do not appear to
> support the ADVERTISE_LPACK bit, as setting it consistently reads
> back as 0.
> 
> This patch removes the ADVERTISE_NPAGE and ADVERTISE_LPACK bits from
> the MII_ADVERTISE register configuration. It also resets the PHY
> before modifying the MII_ADVERTISE register, then restarts
> auto-negotiation, following the same flow used in the U-Boot asix.c
> driver.
> 
> Signed-off-by: Khoa Hoang <admin at khoahoang.com>
Reviewed-by: Marek Vasut <marex at denx.de>


More information about the U-Boot mailing list