aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/files/include
diff options
context:
space:
mode:
authorJulien Dusser <julien.dusser@free.fr>2020-07-01 23:56:01 +0200
committerPetr Štetiar <ynezz@true.cz>2020-11-23 22:53:15 +0100
commit87627b2d760cd2ac341dd3181ce6f987d69777c2 (patch)
treefe86c3d2b3bdf2e5b9bcc55f1055d9791883e63b /target/linux/ath79/files/include
parent8dd2a1715b0a59407cf90c0708fc2bc199e110b5 (diff)
downloadupstream-87627b2d760cd2ac341dd3181ce6f987d69777c2.tar.gz
upstream-87627b2d760cd2ac341dd3181ce6f987d69777c2.tar.bz2
upstream-87627b2d760cd2ac341dd3181ce6f987d69777c2.zip
ath79: add QCA956x SERDES init workaround
This commit add a workaround for non working SGMII link observed on some QCA956x SoCs. The workaround originates part from the U-Boot source code from QCA, part from the implementation from TP-Link found in the GPL tarball for the EAP245v1. Extends commit 0d416a8d3b990e3b78628f0e7546527709c877f7 for QCA956x. Note that reset is the same on QCA955x and QCA956x, same register offset and values. Auto calibration is done on u-boot, but always fall back to default value 0x7. Add a DTS entry serdes-cal in case a device require another value. Signed-off-by: Julien Dusser <julien.dusser@free.fr> [Sander Vanheule: Minor code style fixes, Remove hunk adding qca956x-serdes-fixup to a missing DTS, Remove variable err that was only assigned, Rename function to sgmii_serdes_init, Lower priority of serdes call message to pr_debug] Signed-off-by: Sander Vanheule <sander@svanheule.net>
Diffstat (limited to 'target/linux/ath79/files/include')
0 files changed, 0 insertions, 0 deletions