[PATCH 0/4] net: mediatek: sgmii: add support to change interface parameter while running

From: Alexander Couzens
Date: Sat Aug 20 2022 - 18:46:38 EST


When connecting the SGMII interface to a 2.5gbit ethernet phy (e.g. rtl8221
or a SFP slot) the SGMII interface need to change the SGMII connection
parameters (speed, autoneg, duplex, ..) while running to match the phy speed.

Alexander Couzens (4):
net: mediatek: sgmii: fix powering up the SGMII phy
net: mediatek: sgmii: ensure the SGMII PHY is powered down on
configuration
net: mediatek: sgmii: mtk_pcs_setup_mode_an: don't rely on register
defaults
net: mediatek: sgmii: set the speed according to the phy interface in
AN

drivers/net/ethernet/mediatek/mtk_sgmii.c | 40 ++++++++++++++++-------
1 file changed, 29 insertions(+), 11 deletions(-)

--
2.35.1