Now that common PHY properties make it easy to configure the SerDes RX and TX
polarities, use that for the SGMII/1000Base-X/2500Base-X PCS of the MaxLinear
GSW1xx switches.
Also, validate hardware in probe() function to make sure the switch is
actually present and MDIO communication works properly.
Daniel Golle (3):
dt-bindings: net: dsa: lantiq,gswip: reference common PHY properties
net: dsa: mxl-gsw1xx: configure PCS polarities
net: dsa: mxl-gsw1xx: validate chip ID
.../bindings/net/dsa/lantiq,gswip.yaml | 1 +
drivers/net/dsa/lantiq/Kconfig | 1 +
drivers/net/dsa/lantiq/mxl-gsw1xx.c | 65 +++++++++++++++----
drivers/net/dsa/lantiq/mxl-gsw1xx.h | 9 +++
4 files changed, 65 insertions(+), 11 deletions(-)
--
2.52.0