SW setting for wakeup from standby mode by ONOFF button

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SW setting for wakeup from standby mode by ONOFF button

1,459 次查看
ko-hey
Senior Contributor II

Hi all

I and my customer want to wake up from standby mode by ONOFF button.

I talked about it in following thread and guess I need something for make any unmasked interrupt by ONOFF behavior.

Function of PWR_BTN_SNS in SABRE-SDP 

How to wakeup by PMIC_STBY_REQ 

Do we have any SW setting for operating by ONOFF button ?

Unfortunately, our Linux version is very old (3.0.35), so if you are not have the same version you can use a different version of the reference.

Ko-hey

0 项奖励
5 回复数

966 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

please check

imx6 ONOFF button can make a interrupt to arm core. 

[5/7] input: keyboard: imx: add snvs power key driver - Patchwork 

and attached Linux Manual sect.2.2 Interrupts (Operation).

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励

966 次查看
ko-hey
Senior Contributor II

Hi igorpadykov

Thank you for reply.

Do you have any patch for 3.0.35 ?

Ko-hey

0 项奖励

966 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

>Do you have any patch for 3.0.35 ?

no

Best regards
igor

0 项奖励

966 次查看
ko-hey
Senior Contributor II

Hi igorpadykov

Okay, so which source file do we modify in 3.0.35 ?

Ko-hey

0 项奖励

966 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Ko-hey

 

please again check

imx6 ONOFF button can make a interrupt to arm core. 

" snvs power key driver. It work in imx chips after i.mx6sx ON/OFF key used power on/off whole system. This driver make it wakeup from suspend state when short press ON/OFF key."

does it meet your needs ?
[5/7] input: keyboard: imx: add snvs power key driver - Patchwork 

and attached in previous answer Linux Manual sect.2.2 Interrupts (Operation) .

 

Best regards
igor

0 项奖励