OSDN Git Service

net: phy: mscc: adding LCPLL reset to VSC8514
authorBjarni Jonasson <bjarni.jonasson@microchip.com>
Tue, 16 Feb 2021 15:29:42 +0000 (16:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 22:06:18 +0000 (14:06 -0800)
commit3cc2c646be0b22037f31c958e96c0544a073d108
tree40fe972316a582963b5da395fe91ca605f23ad38
parent455843d231f5772355a4663446361e3f9a3fe522
net: phy: mscc: adding LCPLL reset to VSC8514

At Power-On Reset, transients may cause the LCPLL to lock onto a
clock that is momentarily unstable. This is normally seen in QSGMII
setups where the higher speed 6G SerDes is being used.
This patch adds an initial LCPLL Reset to the PHY (first instance)
to avoid this issue.

Fixes: e4f9ba642f0b ("net: phy: mscc: add support for VSC8514 PHY.")
Signed-off-by: Steen Hegelund <steen.hegelund@microchip.com>
Signed-off-by: Bjarni Jonasson <bjarni.jonasson@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc/mscc.h
drivers/net/phy/mscc/mscc_main.c