Commit 71d08334 authored by Diogo Silva's avatar Diogo Silva Committed by Greg Kroah-Hartman
Browse files

net: phy: ti: add PHY_RST_AFTER_CLK_EN flag



[ Upstream commit 256748d5 ]

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: default avatarDiogo Silva <diogompaissilva@gmail.com>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
Fixes: 34e45ad9 ("net: phy: dp83848: Add TI DP83848 Ethernet PHY")
Link: https://patch.msgid.link/20241102151504.811306-1-paissilva@ld-100007.ds1.internal


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent d3f517f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment