Issue in Wake from Standby using GPIO

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Issue in Wake from Standby using GPIO

2,756件の閲覧回数
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

ラベル(2)
0 件の賞賛
返信
3 返答(返信)

2,403件の閲覧回数
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 件の賞賛
返信

2,403件の閲覧回数
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 件の賞賛
返信

2,402件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Pankaj

please look at attached document p.9

~igor

0 件の賞賛
返信