Skip to content

Commit 57ec5a8

Browse files
Buday Csabakuba-moo
authored andcommitted
net: phy: smsc: add proper reset flags for LAN8710A
According to the LAN8710A datasheet (Rev. B, section 3.8.5.1), a hardware reset is required after power-on, and the reference clock (REF_CLK) must be established before asserting reset. Signed-off-by: Buday Csaba <[email protected]> Cc: Csókás Bence <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent f2aa00e commit 57ec5a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/phy/smsc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ static struct phy_driver smsc_phy_driver[] = {
785785

786786
/* PHY_BASIC_FEATURES */
787787

788+
.flags = PHY_RST_AFTER_CLK_EN,
788789
.probe = smsc_phy_probe,
789790

790791
/* basic functions */

0 commit comments

Comments
 (0)