[PATCH net-next 0/4] Add CPSWxG SGMII support for J7200 and J721E

From: Siddharth Vadapalli
Date: Tue Mar 21 2023 - 07:20:47 EST


Hello,

This series adds support to configure the CPSW Ethernet Switch in SGMII
mode, using the am65-cpsw-nuss driver. SGMII mode is supported by the
CPSWxG instances on TI's J7200 and J721E SoCs. Thus, SGMII mode is added
in the list of extra_modes for the appropriate compatibles corresponding
to the aforementioned SoCs.

Additionally, the method of setting the supported interface via struct
"phylink_config" is simplified by converting the IF/ELSE statements to
SWITCH statements.

Regards,
Siddharth.

Siddharth Vadapalli (4):
net: ethernet: ti: am65-cpsw: Simplify setting supported interface
net: ethernet: ti: am65-cpsw: Add support for SGMII mode
net: ethernet: ti: am65-cpsw: Enable SGMII mode for J7200
net: ethernet: ti: am65-cpsw: Enable SGMII mode for J721E

drivers/net/ethernet/ti/am65-cpsw-nuss.c | 42 +++++++++++++++++++-----
1 file changed, 33 insertions(+), 9 deletions(-)

--
2.25.1