devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: imx8mm/n-evk: enable wakeup-source for usb phy
@ 2022-10-28  1:58 Li Jun
  2022-11-11  2:37 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Li Jun @ 2022-10-28  1:58 UTC (permalink / raw)
  To: shawnguo
  Cc: robh+dt, krzysztof.kozlowski+dt, s.hauer, kernel, festevam,
	linux-imx, jun.li, devicetree, linux-arm-kernel, xu.yang_2

Enable usb phy to be wakeup source to support system wakeup
from usb.

Signed-off-by: Li Jun <jun.li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 4 ++++
 arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
index 7d6317d95b13..6800d923aa7e 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
@@ -399,6 +399,10 @@ &uart2 { /* console */
 	status = "okay";
 };
 
+&usbphynop1 {
+	wakeup-source;
+};
+
 &usbotg1 {
 	dr_mode = "otg";
 	hnp-disable;
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
index 261c36540079..8cb87c7a0f03 100644
--- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi
@@ -255,6 +255,10 @@ &uart3 {
 	status = "okay";
 };
 
+&usbphynop1 {
+	wakeup-source;
+};
+
 &usbotg1 {
 	dr_mode = "otg";
 	hnp-disable;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] arm64: dts: imx8mm/n-evk: enable wakeup-source for usb phy
  2022-10-28  1:58 [PATCH] arm64: dts: imx8mm/n-evk: enable wakeup-source for usb phy Li Jun
@ 2022-11-11  2:37 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2022-11-11  2:37 UTC (permalink / raw)
  To: Li Jun
  Cc: robh+dt, krzysztof.kozlowski+dt, s.hauer, kernel, festevam,
	linux-imx, devicetree, linux-arm-kernel, xu.yang_2

On Fri, Oct 28, 2022 at 09:58:38AM +0800, Li Jun wrote:
> Enable usb phy to be wakeup source to support system wakeup
> from usb.
> 
> Signed-off-by: Li Jun <jun.li@nxp.com>

Applied, thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-11  2:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-28  1:58 [PATCH] arm64: dts: imx8mm/n-evk: enable wakeup-source for usb phy Li Jun
2022-11-11  2:37 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).