Hi,
We are designing a system based on the iMX6DL.
We want to use GPIO1_IO14 to wakeup processor from Standby mode.
Following command is used to send processor into standby mode. "echo standby>/Sys/power/state"
Below code is used to define the GPIO pin as wakeup.
static struct gpio_keys_button imx6q_buttons[] = {
//GPIO_BUTTON(SABRESD_VOLUME_UP, KEY_VOLUMEUP, 1, "volume-up", 0, 1),
//GPIO_BUTTON(SABRESD_VOLUME_DN, KEY_VOLUMEDOWN, 1, "volume-down", 0, 1),
//GPIO_BUTTON(SABRESD_PWR_SW_DETECT, KEY_WAKEUP, 0, "power", 1, 1),
GPIO_BUTTON(SABRESD_WAKEUP_SW, KEY_POWER, 1, "power", 1, 1),
};
Issue:
With above configuration sometimes processor wakes up from standby mode using GPIO1_IO14 (switch is connected to this GPIO). But most of the times processor stuck in standby mode and not able to wakeup even if we pressed wakeup switch multiple times.
Please help us to resolve this issue.
Regards,
Pankaj
Hi Pankaj
GPIO1_IO14 is muxed with SD2_DAT1 on Sabre SD board, so
one can check if SD2 is used by other application (like WiFi).
Also one can check wake behaviour with other GPIO, like volume-up or down.
Recommended to test with kernel boot parameter "ldo_active=on".
Best regards
igor
Hi All,
Can any one let us know how to test kernel boot parameter "ldo_active=on" with
Linux kernel L3.0.35 version or release.
Regards!
Pankaj