mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-06 00:13:38 -04:00
net: phy: smsc: LAN8710/20: add PHY_RST_AFTER_CLK_EN flag
The Microchip/SMSC LAN8710/LAN8720 PHYs need (according to their
datasheet [1]) a continuous REF_CLK when configured to "REF_CLK In Mode".
Therefore set the PHY_RST_AFTER_CLK_EN flag for those PHYs to let the
ETH driver reset them after the REF_CLK is enabled.
[1] 00002165
B.pdf
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a96684914a
commit
7f64e5b18e
1 changed files with 1 additions and 1 deletions
|
@ -312,7 +312,7 @@ static struct phy_driver smsc_phy_driver[] = {
|
||||||
.name = "SMSC LAN8710/LAN8720",
|
.name = "SMSC LAN8710/LAN8720",
|
||||||
|
|
||||||
.features = PHY_BASIC_FEATURES,
|
.features = PHY_BASIC_FEATURES,
|
||||||
.flags = PHY_HAS_INTERRUPT,
|
.flags = PHY_HAS_INTERRUPT | PHY_RST_AFTER_CLK_EN,
|
||||||
|
|
||||||
.probe = smsc_phy_probe,
|
.probe = smsc_phy_probe,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue