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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:37:35 +0000 (11:37 +0100)
commit7592f07e6d2cdda93e9f09105d88e83a38f12a8b
treede4bca2dcbf8f3d3e30959d78c70764b23a429b4
parent100676d5c4d56e993e09958da9f7a74c8a7bbbaf
net: phy: mscc: adding LCPLL reset to VSC8514

[ Upstream commit 3cc2c646be0b22037f31c958e96c0544a073d108 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/mscc/mscc.h
drivers/net/phy/mscc/mscc_main.c