Skip to contentSkip to conversation

net: stmmac: dwc-qos: use PHY WoL

PATCH Applied Russell King (Oracle) 3 participants 3 messages Sep 9, 2025 – Sep 11, 2025

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

PATCH 1/1 net: stmmac: dwc-qos: use PHY WoL

Mark Tegra platforms to use PHY's wake-on-Lan capabilities rather than the stmmac wake-on-Lan.

---
This is the last patch that is needed to WoL on the Jetson Xavier NX to be functional - the only patch that hasn't been through netdev is the DT patch that's being merged through a different route. Once all patches come together (in other words, at the next -rc1), then WoL will be functional on this platform.

 drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c +2 -1
index 6c363f9b0ce2..e8539cad4602 100644
@@ -261,7 +261,8 @@ static int tegra_eqos_probe(struct platform_device *pdev,
 	plat_dat->set_clk_tx_rate = stmmac_set_clk_tx_rate;
 	plat_dat->bsp_priv = eqos;
 	plat_dat->flags |= STMMAC_FLAG_SPH_DISABLE |
-			   STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP;
+			   STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP |
+			   STMMAC_FLAG_USE_PHY_WOL;
 
 	return 0;
 
Signature · 1 line
2.47.3
#2 lore raw
In reply to Russell King (Oracle)
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 4 lines · On Tue, 09 Sep 2025 16:54:15 +0100 you wrote:

Mark Tegra platforms to use PHY's wake-on-Lan capabilities rather than the stmmac wake-on-Lan.

Quoted 8 lines

---
This is the last patch that is needed to WoL on the Jetson Xavier NX to be functional - the only patch that hasn't been through netdev is the DT patch that's being merged through a different route. Once all patches come together (in other words, at the next -rc1), then WoL will be functional on this platform.

[...]

Here is the summary with links:
- [net-next] net: stmmac: dwc-qos: use PHY WoL

    https://git.kernel.org/netdev/net-next/c/724b22d38a83

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html