net: phy: mxl-86110: Add power management and soft reset support
Subsystems (4)
PATCH v2 1/1 net: phy: mxl-86110: Add power management and soft reset support
From: Stefano Radaelli <[email protected]>
Implement soft_reset, suspend, and resume callbacks using genphy_soft_reset(), genphy_suspend(), and genphy_resume() to fix PHY initialization and power management issues.
The soft_reset callback is needed to properly recover the PHY after an ifconfig down/up cycle. Without it, the PHY can remain in power-down state, causing MDIO register access failures during config_init(). The soft reset ensures the PHY is operational before configuration.
The suspend/resume callbacks enable proper power management during system suspend/resume cycles.
---
v2:
- Fix From:/Signed-off-by address mismatch
drivers/net/phy/mxl-86110.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/net/phy/mxl-86110.c +3 -0
@@ -938,6 +938,9 @@ static struct phy_driver mxl_phy_drvs[] = {PHY_ID_MATCH_EXACT (PHY_ID_MXL86110 ), .name = "MXL86110 Gigabit Ethernet", .config_init = mxl86110_config_init, + .suspend = genphy_suspend, + .resume = genphy_resume, + .soft_reset = genphy_soft_reset, .get_wol = mxl86110_get_wol, .set_wol = mxl86110_set_wol, .led_brightness_set = mxl86110_led_brightness_set,
Signature · 1 line
2.47.3
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:
Quoted 6 lines · On Tue, 23 Dec 2025 13:09:39 +0100 you wrote:
From: Stefano Radaelli <[email protected]>
Implement
soft_reset, suspend, and resume callbacks usinggenphy_soft_reset(),genphy_suspend(), andgenphy_resume()to fix PHY initialization and power management issues.
Quoted 6 lines
The
soft_resetcallback is needed to properly recover the PHY after an ifconfig down/up cycle. Without it, the PHY can remain in power-down state, causing MDIO register access failures duringconfig_init(). The soft reset ensures the PHY is operational before configuration.[...]
Here is the summary with links:
- [net,v2] net: phy: mxl-86110: Add power management and soft reset support
https://git.kernel.org/netdev/net/c/62f7edd59964
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html