]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: add serdes mapping for rtl930x
authorDamien Dejean <dam.dejean@gmail.com>
Sat, 18 Oct 2025 15:01:24 +0000 (17:01 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 26 Oct 2025 10:24:51 +0000 (11:24 +0100)
commitd76b97bd7174d77978aed081189affaca1df286d
treecbac6915e6d73b676e5153336815de8fab3421a3
parent93f86627c45a03c2c100e54f5ef006487af3e6e3
realtek: add serdes mapping for rtl930x

On the RTL930x series the serdes #3 is backed by serdes #10 when pages
0, 1, 2 or 3 are accessed [1]. This changeset modifies the sds mapping
function from a single implementation for the 3 families to one
implementation per chip family. In particular it implements the mapping
required for the rtl930x one.

[1] https://github.com/ddejean/dms-1250-oss-release/blob/main/sdk/sdk_rtk_switch/rtk-sdk/src/dal/longan/dal_longan_sds.c#L624

Signed-off-by: Damien Dejean <dam.dejean@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20472
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/mdio/mdio-realtek-otto-serdes.c