]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ARM: dts: colibri-imx6: improve wake-up with gpio key
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>
Mon, 9 Jan 2023 13:19:58 +0000 (14:19 +0100)
committerShawn Guo <shawnguo@kernel.org>
Thu, 26 Jan 2023 00:26:54 +0000 (08:26 +0800)
commit752ddcd291f30f71de747ce25c4ffe843ec6a380
tree2014fb2095cc2958b8a6eda9a159d805df5e877d
parent9a1bee3fb7e2669eb321b600f3ca57f4f792fd38
ARM: dts: colibri-imx6: improve wake-up with gpio key

The pin GPIO2_IO22 externally pulls down, it is required to sequentially
connect this pin (signal WAKE_MICO#) to +3v3 and then disconnect it to
trigger a wakeup interrupt.
Adding the flag GPIO_PULL_DOWN allows the system to be woken up just
connecting the pin GPIO2_IO22 to +3v3.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-colibri.dtsi