openwrt/target/linux
Markus Stockhausen a8e3bff523
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
realtek: convert access to RTL931x "even CMU" serdes pages
Currently the calculation for the CMU (even) SerDes works similar
to this pseudo code.

analog_backend_serdes = get_analog_serdes(frontend_serdes);
even_backend_serdes = analog_backend_serdes & ~1;
write_to(even_backend_serdes);

Because of the SerDes layout and frontend/backend mapping this can
be swapped to the following order with the same resulting Serdes.

even_frontend_serdes = frontend_serdes ~1;
analog_backend_serdes = get_analog_serdes(even_frontend_serdes);
write_to(analog_backed_serdes);

In the later example the frontend/backend mapping code is already
in our new functions. So swap the calculation logic and use the
new access functions. This allows to finally drop the old access
functions without mapping.

From now on all RTL931x SerDes functions will use a consistent
frontend view.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/19873
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-09-02 00:51:43 +02:00
..
airoha kernel: bump 6.6 to 6.6.103 2025-09-01 02:05:24 +02:00
apm821xx apm821xx: sata: refresh config 2025-07-27 18:22:31 +02:00
armsr armsr: Make kernel modules depend on target 2025-07-26 01:11:21 +02:00
at91
ath79 ath79: add calibtation variant for Xiaomi AIoT AC2350 2025-08-28 13:35:07 +02:00
bcm27xx kernel: bump 6.12 to 6.12.44 2025-08-31 13:07:49 +02:00
bcm47xx
bcm53xx kernel: bump 6.6 to 6.6.103 2025-09-01 02:05:24 +02:00
bcm4908
bmips
d1
gemini gemini: Remove kmod-md-multipath dependency 2025-07-27 01:35:36 +02:00
generic kernel: bump 6.6 to 6.6.103 2025-09-01 02:05:24 +02:00
imx kernel: bump 6.6 to 6.6.103 2025-09-01 02:05:24 +02:00
ipq40xx kernel: bump 6.12 to 6.12.44 2025-08-31 13:07:49 +02:00
ipq806x treewide: fix compatible string for ath10k 2025-08-25 10:35:39 +02:00
ixp4xx
kirkwood
lantiq treewide: add const to struct of_device_id 2025-08-31 19:21:36 +02:00
layerscape kernel: bump 6.12 to 6.12.43 2025-08-26 21:35:36 +02:00
loongarch64
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek mediatek: backport patches fixing thermal on MT7988 2025-08-31 13:23:31 +01:00
mpc85xx mpc85xx: tl-wdr4900: add back 5ghz LED 2025-08-13 09:57:05 +02:00
mvebu mvebu: switch to kernel 6.12 2025-08-04 22:57:18 +02:00
mxs
octeon
omap omap: enable 6.12 testing kernel 2025-08-22 20:18:16 +02:00
pistachio
qoriq
qualcommax treewide: add const to struct of_device_id 2025-08-31 19:21:36 +02:00
qualcommbe kernel: Reorder kernel configuration 2025-07-26 01:11:21 +02:00
ramips kernel: bump 6.12 to 6.12.43 2025-08-26 21:35:36 +02:00
realtek realtek: convert access to RTL931x "even CMU" serdes pages 2025-09-02 00:51:43 +02:00
rockchip rockchip: Add Realtek RTL8821CU support for the Radxa ROCK Pi E v3 2025-08-01 15:52:26 +03:00
sifiveu
siflower siflower: sf21: fix usb_vbus for Bananapi BPI-RV2 2025-08-10 21:51:17 +02:00
starfive kernel: bump 6.12 to 6.12.44 2025-08-31 13:07:49 +02:00
stm32
sunxi sunxi: enable ramdisk feature 2025-08-11 23:06:24 +02:00
tegra
uml
x86 x86: add Minisforum MS-A2 Mini PC 2025-08-10 12:12:05 +02:00
zynq
Makefile