generic: disable SGMII in-band AN for RealTek 2.5G PHYs
authorDaniel Golle <[email protected]>
Sun, 2 Apr 2023 22:21:57 +0000 (01:21 +0300)
committerDaniel Golle <[email protected]>
Mon, 3 Apr 2023 01:32:28 +0000 (02:32 +0100)
commitd98c8fc06ddd36f4b47c0eef8094e68257b92f87
tree7ea0caae4aed9bc386f909d585989eb6ba70d773
parent7e3284eef7f6d2bf270941fc0a94c95307db1ca5
generic: disable SGMII in-band AN for RealTek 2.5G PHYs

MAC drivers don't use SGMII in-band autonegotiation unless told to do so
in device tree using 'managed = "in-band-status"'. When using MDIO to
access a PHY, in-band-status is unneeded as we have link-status via
MDIO. Switch off SGMII in-band autonegotiation using magic values.

Reported-by: Chen Minqiang <[email protected]>
Reported-by: Chukun Pan <[email protected]>
Reported-by: Yevhen Kolomeiko <[email protected]>
Tested-by: Yevhen Kolomeiko <[email protected]>
Signed-off-by: Daniel Golle <[email protected]>
target/linux/generic/pending-5.15/725-net-phy-realtek-disable-SGMII-in-band-AN-for-2-5G-PHYs.patch [new file with mode: 0644]