generic: disable SGMII in-band AN for RealTek 2.5G PHYs
authorDaniel Golle <daniel@makrotopia.org>
Sun, 2 Apr 2023 22:21:57 +0000 (01:21 +0300)
committerDaniel Golle <daniel@makrotopia.org>
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 <ptpt52@gmail.com>
Reported-by: Chukun Pan <amadeus@jmu.edu.cn>
Reported-by: Yevhen Kolomeiko <jarvis2709@gmail.com>
Tested-by: Yevhen Kolomeiko <jarvis2709@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
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]