1
1
openwrt/target/linux/realtek
Jonas Jelonek 788745bae5
realtek: pcs: rtl930x: lift SerDes core power-cycle into {de,}activate
Move rtpcs_930x_sds_set_power() and rtpcs_930x_sds_rx_reset() out of
rtpcs_930x_sds_apply_ip_mode() and into rtpcs_930x_sds_{de,}activate().
After this, apply_ip_mode is pure IP-mode/CMU/state-machine programming
and the SerDes-core analog power is owned by the outer phase pair, the
same place that already owns the 1G/10G PHY block and fiber RX power.

Behavioural change: USXGMII / QSGMII / XSGMII modes did not previously
go through apply_ip_mode and therefore never had the SerDes-core power
gated on mode transitions. After this commit, every mode transition
power-cycles the SerDes core via the outer deactivate/activate.

For the SGMII / 1000BASE-X / 2500BASE-X / 10GBASE-R path the set of
register writes is unchanged; only the relative ordering vs. the
fiber/PHY power writes shifts: set_power(false) now precedes those
writes (was after), set_power(true) now follows them (was before).

Verified on RTL930x hardware: SGMII, 2500BASE-X, 10GBASE-R, USXGMII-QX
and XSGMII all come up with link, ping and iperf3 throughput as
expected.

Link: https://github.com/openwrt/openwrt/pull/23513
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-05-26 08:38:00 +02:00
..
base-files realtek: add support for Zyxel XGS1930-28HP 2026-05-17 13:12:18 +02:00
dts realtek: add support for Ubiquiti UniFi USW Aggregation 2026-05-24 19:32:31 +02:00
files-6.18 realtek: pcs: rtl930x: lift SerDes core power-cycle into {de,}activate 2026-05-26 08:38:00 +02:00
image realtek: add support for Ubiquiti UniFi USW Aggregation 2026-05-24 19:32:31 +02:00
patches-6.18 kernel: realtek: replace RTL8226 MDI swap patch by upstream version 2026-05-23 17:25:59 +02:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x realtek: drop support for 6.12 2026-04-11 20:59:10 +02:00
rtl839x realtek: drop support for 6.12 2026-04-11 20:59:10 +02:00
rtl930x generic: net: phy: realtek: add 5G and 10G PHY support 2026-05-21 17:04:55 +01:00
rtl930x_nand generic: net: phy: realtek: add 5G and 10G PHY support 2026-05-21 17:04:55 +01:00
rtl931x realtek: add generic support for Zyxel XS1930 lineup 2026-04-20 11:13:06 +02:00
rtl931x_nand realtek: drop support for 6.12 2026-04-11 20:59:10 +02:00
Makefile realtek: switch to 6.18 2026-04-11 20:59:10 +02:00
modules.mk kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00