Re: [PATCH] net: phy: marvell-88q2xxx: add driver for the Marvell 88Q2220 PHY
From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-12-17 09:23:08
Also in:
lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2023-12-17 09:23:08
Also in:
lkml
quoted
quoted
+ /* Set IEEE power down */ + ret = phy_write_mmd(phydev, MDIO_MMD_PMAPMD, MDIO_CTRL1, 0x840);0x800 is MDIO_CTRL1_LPOWER. What is the other? It seems like a speed selection bit?The other is MDIO_PMA_CTRL1_SPEED1000. Will fix this in V2.
It seems odd to set a speed, and power it down. But i guess you have blindly copied the reference code, so have no idea why? Andrew