net: phy: smsc: LAN8710/20: add PHY_RST_AFTER_CLK_EN flag
authorRichard Leitner <richard.leitner@skidata.com>
Mon, 11 Dec 2017 12:16:59 +0000 (13:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Dec 2017 16:22:54 +0000 (11:22 -0500)
commit7f64e5b18ebb673cec2df334b8e0bda77df10376
treebffb0dc44c41d16b4dcf8d9b2377fcb160de944d
parenta96684914adb4adb9f81faf6917e0673b92288d8
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] http://ww1.microchip.com/downloads/en/DeviceDoc/00002165B.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>
drivers/net/phy/smsc.c