openwrt/target
René Ammerlaan 9d18a2a1b6
realtek: rtl93xx: power down idle SerDes
rtpcs_pcs_disable() currently leaves the SerDes powered on when ports
are down.

Add a .power_off op to struct rtpcs_sds_ops and call it from
rtpcs_pcs_disable() once no links remain enabled on the SerDes, after
canceling pending RX work and resetting hw_mode and usxgmii_submode.

For RTL930x and RTL931x, implement .power_off to deactivate the lane
and disable the shared CMU when both lanes in a pair are off.

Signed-off-by: René Ammerlaan <taproot_spicier5b@icloud.com>
Link: https://github.com/openwrt/openwrt/pull/26851
Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
2026-11-29 11:10:36 +01:00
..
imagebuilder
…
linux realtek: rtl93xx: power down idle SerDes 2026-11-29 11:10:36 +01:00
llvm-bpf
…
sdk
…
toolchain
…
Config.in
…
Makefile
…