diff options
author | Denys Drozdov <denys.drozdov@toradex.com> | 2021-08-03 20:52:34 +0300 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-08-04 16:49:12 +0000 |
commit | 449729b5b8be0665e1059911235781599536b012 (patch) | |
tree | 3a115d246b5a0d6c65739443cce006be5a2651af /arch/arm/boot/dts/imx6ull-colibri.dtsi | |
parent | bb546e72ecef99f2b68c0a658a9558dafa48b162 (diff) |
arm64: dts: apalis-imx8: keep pad-wakeup instead of gpio-keys
Resume from freeze state generated non-assigned gpio interrupt
from the port in S0/S3 mode. Wakeup-source in gpio-keys
doesn’t really work for Apalis imx8qxp and Apalis imx8qm.
These targets should perform wakeup by the means of pad-wakeup
(see CONFIG_GPIO_MXC_PAD_WAKEUP implemented in gpio-mxc driver).
Kernel trace can be easily reproduced with the following scenario:
- echo freeze > /sys/power/state
- Wake the system up connecting MXM3_37 to GND.
[ 141.232366] [<ffff0000084be898>] mx3_gpio_irq_handler+0x38/0xe8
[ 141.238372] [<ffff00000811783c>] generic_handle_irq+0x24/0x38
[ 141.244203] [<ffff000008117ea8>] __handle_domain_irq+0x60/0xb8
[ 141.250122] [<ffff00000808194c>] gic_handle_irq+0x7c/0x178
[ 141.232366] [<ffff0000084be898>] mx3_gpio_irq_handler+0x38/0xe8
[ 141.238372] [<ffff00000811783c>] generic_handle_irq+0x24/0x38
[ 141.244203] [<ffff000008117ea8>] __handle_domain_irq+0x60/0xb8
[ 141.346337] [<ffff000008083230>] el1_irq+0xb0/0x124
[ 141.351300] [<ffff000008085770>] arch_cpu_idle+0x10/0x18
[ 141.356698] [<ffff000008109f94>] do_idle+0x1ac/0x1e0
[ 141.361748] [<ffff00000810a168>] cpu_startup_entry+0x20/0x28
[ 141.367495] [<ffff000008dbb3a8>] rest_init+0xd0/0xdc
[ 141.372545] [<ffff0000093f0b3c>] start_kernel+0x390/0x3a4
Drop gpio-keys support for these targets and keep only pad-wakeup configured
for resume operations. More information can be found on NXP community link
https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-add-iMX8QXP-PAD-GPIO-Wakeup/ta-p/1120559?attachment-id=32640
Related-to: ELB-1408
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx6ull-colibri.dtsi')
0 files changed, 0 insertions, 0 deletions