realtek: make use of serdes helper for Linksys LGS310C
authorMarkus Stockhausen <[email protected]>
Tue, 20 May 2025 07:46:04 +0000 (03:46 -0400)
committerRobert Marko <[email protected]>
Sun, 22 Jun 2025 14:37:32 +0000 (16:37 +0200)
commit9512db43621087843f072bf818418f8d2a12597b
tree2f60b73203e283ec0e3a7552a9c5ed468045466e
parent5703ca465cc1ac6ed354627a38b654dd68b9ec9e
realtek: make use of serdes helper for Linksys LGS310C

Use the new INTERNAL_PHY_SDS() helper to describe the SFP ports. With
this change the driver now knows that ports 24/26 are driven by serdes
4/5.

For the RTL838x devices this is currently only an additional information
for the mdio bus. It is not evaluated further because everything is
hardcoded.

Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18851
Signed-off-by: Robert Marko <[email protected]>
target/linux/realtek/dts/rtl8380_linksys_lgs310c.dts