]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl839x: add initialization patch sequence
authorJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 6 Jan 2026 10:48:22 +0000 (10:48 +0000)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 9 Jan 2026 12:32:52 +0000 (14:32 +0200)
commit6e2c676076e8b925558408601fa217418a460ddf
treeb87749a213a41464cd158fb4d59ba0c2972dcbbf
parentafec14aee16f537f50693defeded698575e0023b
realtek: pcs: rtl839x: add initialization patch sequence

Add a patch sequence needed to properly initialize 10G SerDes. This is
taken from the SDK mostly as-is ([1]).

Exit early from SerDes reset for now because it seems to cause some
issues on lower 5G SerDes.

[1] https://github.com/plappermaul/realtek-doc/blob/30e7d6c8c246d66538dc1288986b84674e23dcac/sources/rtk-dms1250/src/dal/cypress/dal_cypress_construct.c#L215

Co-authored-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21360
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c