realtek: Use SerDes Information from .dts for phylink config
authorBirger Koblitz <git@birger-koblitz.de>
Thu, 13 Jan 2022 17:48:06 +0000 (18:48 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 17 Feb 2022 15:21:47 +0000 (15:21 +0000)
commitbf0ffe3310a514bc6ab18ca1adc44f6391a7695f
treebae1cc2e6fcf17bae7365f74dba15806d02203ad
parent8079574f2c42aa1f4d9175c3367e45215b094a15
realtek: Use SerDes Information from .dts for phylink config

When a port is brought up, read the SDS-id via the phy_device
for a given port and use this to configure the SDS when it
is brought up.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-5.10/drivers/net/dsa/rtl83xx/rtl838x.h