[PATCH] ARM: dts: am437x-idk: Configure uart0 padconf wakeirq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



We can use CTRL_CONF_UART0_RXD pad as the wakeirq and then
the serial console will work with wake up events.

Note that the uart still needs to be configured for idle
timeouts for PM runtime for the wakeirq to get activated.
That can be done via sysfs to set autosuspend_delay_ms to
3000, wakeup enabled and and control auto.

Cc: Dave Gerlach <d-gerlach@xxxxxx>
Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
---
 arch/arm/boot/dts/am437x-idk-evm.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/am437x-idk-evm.dts b/arch/arm/boot/dts/am437x-idk-evm.dts
--- a/arch/arm/boot/dts/am437x-idk-evm.dts
+++ b/arch/arm/boot/dts/am437x-idk-evm.dts
@@ -533,3 +533,9 @@
 		opp-suspend;
 	};
 };
+
+&uart0 {
+	/* UART0 interrupt and CTRL_CONF_UART0_RXD pad as wakeirq */
+	interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
+			      <&am43xx_pinmux 0x170>;
+};
-- 
2.16.1
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux