OSDN Git Service

net: phy: mscc: improved serdes calibration applied to VSC8514
authorBjarni Jonasson <bjarni.jonasson@microchip.com>
Tue, 16 Feb 2021 15:29:43 +0000 (16:29 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 22:06:18 +0000 (14:06 -0800)
commit85e97f0b984eb36cba0ecaf87c66a9f7445d73dc
tree26ad3d73ea77323eee7996e6d8baa9ddb05af731
parent3cc2c646be0b22037f31c958e96c0544a073d108
net: phy: mscc: improved serdes calibration applied to VSC8514

The current IB serdes calibration algorithm (performed by the onboard 8051)
has proven to be unstable for the VSC8514 QSGMII phy.
A new algorithm has been developed based on
'Frequency-offset Jittered-Injection' or 'FoJi' method which solves
all known issues.  This patch disables the 8051 algorithm and
replaces it with the new FoJi algorithm.
The calibration is now performed in a new file (mscc_serdes.c),
which can act as an placeholder for future serdes configurations.

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>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc/Makefile
drivers/net/phy/mscc/mscc.h
drivers/net/phy/mscc/mscc_main.c
drivers/net/phy/mscc/mscc_serdes.c [new file with mode: 0644]
drivers/net/phy/mscc/mscc_serdes.h [new file with mode: 0644]