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)
committerPaul Spooren <mail@aparcar.org>
Wed, 2 Feb 2022 09:32:58 +0000 (10:32 +0100)
commit621e0ce7e2e92cad51adc144745ec363c675332b
tree5f9cd1c94845b531408d94cc1d1d72ce6a407b33
parentff30f99a8694f68cd7bcb693bf6f2c6396108f02
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