openwrt/target/linux/realtek
Jonas Jelonek bab2bcd9d8 realtek: pcs: rtl930x: move EEE to USXGMII configuration
The patch/config sequences for USXGMII modes contain a register write
which is explicitly labelled as "enable eee". To clean the sequences and
reduce duplication, move this specific write to the USXGMII
configuration function.

While at it, demystify this register write. From [1] we can see that
only a single bit needs to be set for controlling EEE instead of the
whole register. From testing it was seen that the register has a default
value of 0x445C after reset. Thus, there is no other operation hidden in
this write and we're safe to reduce it to setting just the EEE enable
bit.

[1] 82af3a36b7/sources/rtk-dms1250/include/hal/phy/rtl8295_reg_def.h

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22582
Signed-off-by: Robert Marko <robimarko@gmail.com>
2026-03-26 10:53:46 +01:00
..
base-files realtek: fix D-Link fan control script 2026-03-23 11:27:26 +01:00
dts realtek: dts: new SWITCH_PORT_LED() macro 2026-03-26 10:53:05 +01:00
files-6.12 realtek: pcs: rtl930x: move EEE to USXGMII configuration 2026-03-26 10:53:46 +01:00
image realtek: dts: add monitor IC node for XikeStor SKS8310-8X 2026-03-01 14:46:12 +01:00
patches-6.12 realtek: hwmon: add LM75 alert pin polarity swap patch 2026-03-25 21:10:45 +01:00
profiles target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
rtl838x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl839x realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
rtl930x realtek: rtl930x: adapt kernel configuration 2026-03-25 10:28:10 +01:00
rtl930x_nand realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
rtl931x kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00
rtl931x_nand realtek: enable U-Boot env NVMEM layout for missing targets 2026-03-14 10:50:47 +01:00
Makefile realtek: add NAND targets for RTL93xx 2025-08-10 11:46:52 +02:00
modules.mk kernel: mfd: Add Hasivo STC8 mfd 2026-03-01 18:47:27 +01:00