* [PATCH net v2] net: phy: mxl-86110: Add power management and soft reset support
@ 2025-12-23 12:09 Stefano Radaelli
2026-01-04 18:22 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Stefano Radaelli @ 2025-12-23 12:09 UTC (permalink / raw)
To: netdev, linux-kernel
Cc: Stefano Radaelli, Xu Liang, Andrew Lunn, Heiner Kallweit,
Russell King, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Stefano Radaelli
From: Stefano Radaelli <stefano.r@variscite.com>
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")
Signed-off-by: Stefano Radaelli <stefano.r@variscite.com>
---
v2:
- Fix From:/Signed-off-by address mismatch
drivers/net/phy/mxl-86110.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/phy/mxl-86110.c b/drivers/net/phy/mxl-86110.c
index e5d137a37a1d..42a5fe3f115f 100644
--- a/drivers/net/phy/mxl-86110.c
+++ b/drivers/net/phy/mxl-86110.c
@@ -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,
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH net v2] net: phy: mxl-86110: Add power management and soft reset support
2025-12-23 12:09 [PATCH net v2] net: phy: mxl-86110: Add power management and soft reset support Stefano Radaelli
@ 2026-01-04 18:22 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-01-04 18:22 UTC (permalink / raw)
To: Stefano Radaelli
Cc: netdev, linux-kernel, stefano.r, lxu, andrew, hkallweit1, linux,
davem, edumazet, kuba, pabeni
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 23 Dec 2025 13:09:39 +0100 you wrote:
> From: Stefano Radaelli <stefano.r@variscite.com>
>
> 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.
>
> [...]
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-04 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-23 12:09 [PATCH net v2] net: phy: mxl-86110: Add power management and soft reset support Stefano Radaelli
2026-01-04 18:22 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®