diff mbox series

[v1,3/4] arm64: dts: imx8mq-librem5: Mark tps65982 as wakeup source

Message ID 20230717100056.4047292-4-martink@posteo.de (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mq-librem5: description updates | expand

Commit Message

Martin Kepplinger-Novakovic July 17, 2023, 10 a.m. UTC
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>

This allows to wake up from system suspend on USB-C plug/unplug.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
---
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index ab47bdc35cebd..3f251910b3949 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -796,6 +796,8 @@  typec_pd: usb-pd@3f {
 		interrupt-parent = <&gpio1>;
 		interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
 		interrupt-names = "irq";
+		extcon = <&usb3_phy0>;
+		wakeup-source;
 
 		connector {
 			compatible = "usb-c-connector";