SW setting for wakeup from standby mode by ONOFF button

cancel
Showing results for 
Search instead for 
Did you mean: 

SW setting for wakeup from standby mode by ONOFF button

617 Views
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 Kudos
5 Replies

124 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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 Kudos

124 Views
ko-hey
Senior Contributor II

Hi igorpadykov

Thank you for reply.

Do you have any patch for 3.0.35 ?

Ko-hey

0 Kudos

124 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Ko-hey

>Do you have any patch for 3.0.35 ?

no

Best regards
igor

0 Kudos

124 Views
ko-hey
Senior Contributor II

Hi igorpadykov

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

Ko-hey

0 Kudos

124 Views
igorpadykov
NXP TechSupport
NXP TechSupport

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 Kudos