]> git.ipfire.org Git - thirdparty/openwrt.git/commit
kernel: rtl8261n: add support for Serdes TX swap 20227/head
authorChristian Marangi <ansuelsmth@gmail.com>
Sun, 28 Sep 2025 18:24:28 +0000 (20:24 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Mon, 29 Sep 2025 10:00:22 +0000 (12:00 +0200)
commitddb0cd276cff667267c10e13d5ad0506e9d4ec22
tree0c3e414f390ff8693ed2c1230bf376ac83cddf6f
parent0147d213ffaf52a444bf0dd0c2ccd9b929ef448c
kernel: rtl8261n: add support for Serdes TX swap

Add support for swapping the Serdes TX line on RTL8261N PHYs.
This is used on an Arcadyan Mozart board where the Serdes TX is swapped
on the PHY (instead of on the Soc) to permit support of SFP module by
using toggling the integrated MUX.

Link: https://github.com/openwrt/openwrt/pull/20227
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c
target/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phylib.h