Skip to contentSkip to conversation

arm64: tegra: mark Jetson Xavier NX's PHY as a wakeup source

PATCH In review Russell King (Oracle) 3 participants 3 messages Oct 15, 2025 – Oct 16, 2025

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

PATCH 1/1 arm64: tegra: mark Jetson Xavier NX's PHY as a wakeup source

Mark the RTL8211F PHY as a wakeup source for the Jetson Xavier NX. This allows the reworked RTL8211F driver to know that the PHY is wired to wakeup capable hardware, and thus to expose WoL capabilities.

---
I thought I had already sent this patch out, and I'm sure someone said that they had queued it for the merge window, but it wasn't merged. As I can't find it in any of my mailboxes, this must be a false memory. I'm way too overloaded to properly track anything right now.

It's not a big problem. WoL will go from not being functional in previous kernels (and actually causing problems with interrupt delivery) to not being supported (ethtool will report so) in v6.18 without this patch. Options are: merge it into 6.18-rc and have functional WoL for 6.18, or wait until the next merge window and have WoL working in approx. four months time when 6.19 is released.

Note: the bindings update was already merged in commit a510980e740c ("dt-bindings: net: realtek,rtl82xx: document wakeup-source property") during the recent merge window.

 arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi +1 -0
index a410fc335fa3..c0f17f8189fa 100644
@@ -42,6 +42,7 @@ phy: ethernet-phy@0 {
 					interrupt-parent = <&gpio>;
 					interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
 					#phy-cells = <0>;
+					wakeup-source;
 				};
 			};
 		};
Signature · 1 line
2.47.3
#1 lore raw
Quoted 18 lines · Russell King (Oracle)

Mark the RTL8211F PHY as a wakeup source for the Jetson Xavier NX. This allows the reworked RTL8211F driver to know that the PHY is wired to wakeup capable hardware, and thus to expose WoL capabilities.

---
I thought I had already sent this patch out, and I'm sure someone said that they had queued it for the merge window, but it wasn't merged. As I can't find it in any of my mailboxes, this must be a false memory. I'm way too overloaded to properly track anything right now.

It's not a big problem. WoL will go from not being functional in previous kernels (and actually causing problems with interrupt delivery) to not being supported (ethtool will report so) in v6.18 without this patch. Options are: merge it into 6.18-rc and have functional WoL for 6.18, or wait until the next merge window and have WoL working in approx. four months time when 6.19 is released.

Quoted 6 lines

Note: the bindings update was already merged in commit a510980e740c ("dt-bindings: net: realtek,rtl82xx: document wakeup-source property") during the recent merge window.

 arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi | 1 +
 1 file changed, 1 insertion(+)

Hi Russell,

I've picked this up now and will send a PR later on to get this into 6.18. I was trying to see if there's a good candidate for a "Fixes:" tag, but since this will only make a difference in v6.18, I didn't think it was worth having this backported.

Thanks,
Thierry

maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Russell King (Oracle)
Quoted 10 lines · Russell King (Oracle)

Mark the RTL8211F PHY as a wakeup source for the Jetson Xavier NX. This allows the reworked RTL8211F driver to know that the PHY is wired to wakeup capable hardware, and thus to expose WoL capabilities.

---
I thought I had already sent this patch out, and I'm sure someone said that they had queued it for the merge window, but it wasn't merged. As I can't find it in any of my mailboxes, this must be a false memory. I'm way too overloaded to properly track anything right now.

FWIW, I don't recall seeing this.

Quoted 19 lines

It's not a big problem. WoL will go from not being functional in previous kernels (and actually causing problems with interrupt delivery) to not being supported (ethtool will report so) in v6.18 without this patch. Options are: merge it into 6.18-rc and have functional WoL for 6.18, or wait until the next merge window and have WoL working in approx. four months time when 6.19 is released.

Note: the bindings update was already merged in commit a510980e740c ("dt-bindings: net: realtek,rtl82xx: document wakeup-source property") during the recent merge window.

  arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi | 1 +
  1 file changed, 1 insertion(+)
arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi +0 -0
index a410fc335fa3..c0f17f8189fa 100644

arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi phy: ethernet-phy@0 { · line 48

Quoted 7 lines
arch/arm64/boot/dts/nvidia/tegra194-p3668.dtsi +1 -0
@@ -42,6 +42,7 @@ phy: ethernet-phy@0 {
  					interrupt-parent = <&gpio>;
  					interrupts = <TEGRA194_MAIN_GPIO(G, 4) IRQ_TYPE_LEVEL_LOW>;
  					#phy-cells = <0>;
+					wakeup-source;
  				};
  			};
  		};

Thanks for fixing this!

Cheers
Jon

Signature · 1 line
nvpublic