openwrt/target/linux
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
..
airoha
…
apm821xx
…
armsr
…
at91
…
ath79
…
bcm27xx
…
bcm47xx
…
bcm53xx
…
bcm4908
…
bmips
…
d1
…
econet
…
gemini
…
generic
…
imx
…
ipq40xx
…
ipq806x
…
ixp4xx
…
kirkwood
…
lantiq
…
layerscape
…
loongarch64
…
malta
…
mediatek
…
microchipsw
…
mpc85xx
…
mvebu
…
mxs
…
octeon
…
omap
…
pistachio
…
qoriq
…
qualcommax
…
qualcommbe
…
ramips
…
realtek realtek: rtl93xx: power down idle SerDes 2026-11-29 11:10:36 +01:00
rockchip
…
sifiveu
…
siflower
…
starfive
…
stm32
…
sunxi
…
tegra
…
uml
…
x86
…
zynq
…
Makefile
…