diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2023-01-09 16:19:58 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-01-26 03:26:54 +0300 |
commit | 752ddcd291f30f71de747ce25c4ffe843ec6a380 (patch) | |
tree | 2014fb2095cc2958b8a6eda9a159d805df5e877d | |
parent | 9a1bee3fb7e2669eb321b600f3ca57f4f792fd38 (diff) | |
download | linux-752ddcd291f30f71de747ce25c4ffe843ec6a380.tar.xz |
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>
-rw-r--r-- | arch/arm/boot/dts/imx6qdl-colibri.dtsi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6qdl-colibri.dtsi b/arch/arm/boot/dts/imx6qdl-colibri.dtsi index f894d6907604..f69fee94a869 100644 --- a/arch/arm/boot/dts/imx6qdl-colibri.dtsi +++ b/arch/arm/boot/dts/imx6qdl-colibri.dtsi @@ -38,7 +38,7 @@ wakeup { debounce-interval = <10>; - gpios = <&gpio2 22 GPIO_ACTIVE_HIGH>; /* SODIMM 45 */ + gpios = <&gpio2 22 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>; /* SODIMM 45 */ label = "Wake-Up"; linux,code = <KEY_WAKEUP>; wakeup-source; |