Skip to contentSkip to conversation

net: phy: mxl-86110: Add power management and soft reset support

PATCH Applied Stefano Radaelli 2 participants 2 messages Dec 23, 2025 – Jan 4

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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.

Fixes b2908a989c59 ("net: phy: add driver for MaxLinear MxL86110 PHY")

---
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
index e5d137a37a1d..42a5fe3f115f 100644
@@ -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
#1 lore raw
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 using genphy_soft_reset(), genphy_suspend(), and genphy_resume() to fix PHY initialization and power management issues.

Quoted 6 lines

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.

[...]

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