diff mbox series

arm64: dts: imx8mm/n-evk: enable wakeup-source for usb phy

Message ID 1666922318-7062-1-git-send-email-jun.li@nxp.com (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mm/n-evk: enable wakeup-source for usb phy | expand

Commit Message

Jun Li Oct. 28, 2022, 1:58 a.m. UTC
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(+)

Comments

Shawn Guo Nov. 11, 2022, 2:37 a.m. UTC | #1
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!
diff mbox series

Patch

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;