Re: [PATCH] net: phy: ti: add PHY_RST_AFTER_CLK_EN flag

From: Andrew Lunn
Date: Sun Nov 03 2024 - 10:20:57 EST


On Sat, Nov 02, 2024 at 04:15:05PM +0100, Diogo Silva wrote:
> From: Diogo Silva <diogompaissilva@xxxxxxxxx>
>
> DP83848 datasheet (section 4.7.2) indicates that the reset pin should be
> toggled after the clocks are running. Add the PHY_RST_AFTER_CLK_EN to
> make sure that this indication is respected.
>
> In my experience not having this flag enabled would lead to, on some
> boots, the wrong MII mode being selected if the PHY was initialized on
> the bootloader and was receiving data during Linux boot.
>
> Signed-off-by: Diogo Silva <diogompaissilva@xxxxxxxxx>

This should be merged to net.

Fixes: 34e45ad9378c ("net: phy: dp83848: Add TI DP83848 Ethernet PHY")
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew