ipq40xx: qca8k: introduce proper PSGMII calibration
authorSerhii Serhieiev <adron@mstnt.com>
Mon, 25 Apr 2022 13:09:43 +0000 (15:09 +0200)
committerDavid Bauer <mail@david-bauer.net>
Sun, 2 Oct 2022 21:04:39 +0000 (23:04 +0200)
commitad9ecd33ccb4fa1334e8986960ade356fa200fda
tree08eb5966710361b4f52d1d83f47bb4a9230bde32
parentf5c62c6e9150775ae45a37dd4c2cd0e557329da0
ipq40xx: qca8k: introduce proper PSGMII calibration

Serhii and others have experienced PSGMII link degradation up to point
that it actually does not pass packets at all or packets arrive as zeros.
This usually happened after a couple of hot reboots.

Serhii has managed to track it down to PSGMII calibration not being done
properly and has fixed it, so all of the code is Serhii-s work.

Signed-off-by: Serhii Serhieiev <adron@mstnt.com>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/ipq40xx/files/drivers/net/dsa/qca/qca8k-ipq4019.c
target/linux/ipq40xx/files/drivers/net/dsa/qca/qca8k-ipq4019.h