[PATCH phy-next 0/3] Lynx 28G: better init(), exit(), power_on(), power_off()

From: Vladimir Oltean

Date: Fri Mar 20 2026 - 21:15:08 EST


This is a set of 3 improvements to the 28G Lynx SerDes driver as found
on NXP Layerscape:
- avoid kernel hangs if lane resets/halts fail due to other bugs
- actually have phy_power_down() cut power from lanes, not just halt them
- allow consumers to call phy_exit(), to balance the phy->init_count

Especially change 3 will allow further development of the dpaa2-eth
consumer. To permit phy_exit() and other patches in net-next to be
submitted in this development cycle without functionally breaking
networking, please apply this change on top of v7.0-rc1 and provide
it as a stable tag to be pulled in netdev.

Vladimir Oltean (3):
phy: lynx-28g: use timeouts when waiting for lane halt and reset
phy: lynx-28g: truly power the lanes up or down
phy: lynx-28g: implement phy_exit() operation

drivers/phy/freescale/phy-fsl-lynx-28g.c | 190 +++++++++++++++++++----
1 file changed, 157 insertions(+), 33 deletions(-)

--
2.34.1