]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: rtl838x: setup SDS entirely in PCS driver
authorJonas Jelonek <jelonek.jonas@gmail.com>
Fri, 7 Nov 2025 16:15:17 +0000 (16:15 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 8 Dec 2025 23:28:38 +0000 (00:28 +0100)
commite956adfe3eb30f68a6f6e9bb8e25fc4fb422769e
tree7a635d0260772448f329db77ff0bc00838212858
parentb670d4836641b4427b7b7b9d94bb670b0d44c12b
realtek: rtl838x: setup SDS entirely in PCS driver

After having moved the configuration code and sequences from PHY and
DSA drivers to the PCS driver, add the hooks in PCS driver and remove
calls in PHY and DSA drivers to let PCS driver setup the SerDes
entirely on its own.

Also add pcs-handle to device tree definitions for most of the switch
ports because, due to the refactoring of the SerDes configuration, this
is needed now for all SerDes-attached ports.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20876
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
25 files changed:
target/linux/realtek/dts/rtl8380_netgear_gs110tup-v1.dts
target/linux/realtek/dts/rtl8380_netgear_gs310tp-v1.dts
target/linux/realtek/dts/rtl8380_tplink_sg2xxx.dtsi
target/linux/realtek/dts/rtl8382_apresia_aplgs120gtss.dts
target/linux/realtek/dts/rtl8382_d-link_dgs-1210-16.dts
target/linux/realtek/dts/rtl8382_d-link_dgs-1210-20.dts
target/linux/realtek/dts/rtl8382_d-link_dgs-1210-26.dts
target/linux/realtek/dts/rtl8382_d-link_dgs-1210-28_common.dtsi
target/linux/realtek/dts/rtl8382_hpe_1920-16g.dts
target/linux/realtek/dts/rtl8382_hpe_1920-24g.dtsi
target/linux/realtek/dts/rtl8382_inaba_aml2-17gp.dts
target/linux/realtek/dts/rtl8382_iodata_bsh-g24mb.dts
target/linux/realtek/dts/rtl8382_panasonic_m16eg-pn28160k.dts
target/linux/realtek/dts/rtl8382_panasonic_m24eg-pn28240k.dts
target/linux/realtek/dts/rtl8382_tplink_t1600g-28ts-v3.dts
target/linux/realtek/dts/rtl8382_zyxel_gs1900-16-a1.dts
target/linux/realtek/dts/rtl8382_zyxel_gs1900-24-a1.dts
target/linux/realtek/dts/rtl8382_zyxel_gs1900-24e-a1.dts
target/linux/realtek/dts/rtl8382_zyxel_gs1900-24ep-a1.dts
target/linux/realtek/dts/rtl8382_zyxel_gs1900-24hp-a1.dts
target/linux/realtek/dts/rtl8382_zyxel_gs1900-24hp-b1.dts
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c