openwrt/target/linux
Julien Dusser c39c79085a 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 0d416a8d3b 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>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:13 +00:00
..
apm821xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
arc770 arc770: drop support for kernel 4.14 2021-09-01 08:06:56 +00:00
archs38 treewide: use wpad-basic-wolfssl as default 2021-09-01 08:06:52 +00:00
armvirt kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
at91 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget 2021-09-01 08:06:54 +00:00
ath25 ath25: fix preinit Ethernet port configuration 2021-09-01 08:06:58 +00:00
ath79 ath79: add QCA956x SERDES init workaround 2021-09-01 08:07:13 +00:00
bcm27xx kernel: bump 5.4 to 5.4.77 2021-09-01 08:07:12 +00:00
bcm47xx kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
bcm53xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
bcm63xx bcm63xx: reorganize board patches into fewer files 2021-09-01 08:07:07 +00:00
gemini kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
generic kernel: mtd: parser: cmdline: Fix parsing of part-names with colons 2021-09-01 08:07:13 +00:00
imx6 kernel: bump 5.4 to 5.4.77 2021-09-01 08:07:12 +00:00
ipq40xx ipq40xx: DTS style updates for OpenMesh devices 2021-09-01 08:07:13 +00:00
ipq806x kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
kirkwood target: update SPDX license names 2021-09-01 08:07:01 +00:00
lantiq kernel: bump 5.4 to 5.4.73 2021-09-01 08:07:08 +00:00
layerscape layerscape: enable spi-uart in LS1012A-FRDM 2021-09-01 08:07:13 +00:00
malta kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
mediatek kernel: bump 5.4 to 5.4.77 2021-09-01 08:07:12 +00:00
mpc85xx kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
mvebu mvebu: add initial support for Globalscale ESPRESSObin-Ultra 2021-09-01 08:07:13 +00:00
mxs treewide: make dependency on kmod-usb-net selective 2021-09-01 08:06:49 +00:00
octeon kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2021-09-01 08:07:04 +00:00
omap kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
oxnas kernel: bump 5.4 to 5.4.75 2021-09-01 08:07:10 +00:00
pistachio kernel: bump 5.4 to 5.4.77 2021-09-01 08:07:12 +00:00
ramips ramips: phy: at803x: Select SFP interface mode that both sides supports. 2021-09-01 08:07:13 +00:00
rockchip rockchip: remove unused config symbols 2021-09-01 08:07:09 +00:00
rtl838x rtl838x: Add switch and ethernet driver support for RTL839x SoCs 2021-09-01 08:07:11 +00:00
sunxi sunxi: add support for Libre Computer ALL-H3-CC H5 2021-09-01 08:07:11 +00:00
tegra kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
uml kernel: bump 5.4 to 5.4.71 2021-09-01 08:07:05 +00:00
x86 x86: generic: disable CONFIG_EFI_VARS 2021-09-01 08:07:11 +00:00
zynq kernel: remove support for kernel 4.19 2021-09-01 08:07:08 +00:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00