Issue in Wake from Standby using GPIO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue in Wake from Standby using GPIO

1,180 Views
Pankh
Contributor I

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

Labels (2)
0 Kudos
3 Replies

827 Views
igorpadykov
NXP Employee
NXP Employee

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

0 Kudos

827 Views
pankajkadu
Contributor I

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

0 Kudos

827 Views
igorpadykov
NXP Employee
NXP Employee

Hi Pankaj

please look at attached document p.9

~igor

0 Kudos