ONOFF button patch for IMX6SL for Android

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

ONOFF button patch for IMX6SL for Android

1,074 Views
vinothrajm
Contributor III

Hi,

We have Own custom board for IMX6SL based on IMX6SL EVK and ported the Android.

I want to use the ONOFF switch to power on  and off the android .

1. when I do long press the button ,android gives pop window to power off the android tabled.

2. When i do single press the button, It goes suspend mode and again do the single press it will come active

Kindly suggest any ideas or patch to make it .

thanks,

vinothraj

Labels (6)
Tags (1)
0 Kudos
Reply
3 Replies

792 Views
igorpadykov
NXP Employee
NXP Employee

Hi vinothraj

I am not aware of such patches but think you can implement

solution below

Q&A: How is mx6 PMIC_ON_REQ under SW control?

https://git.congatec.com/android/qmx6_kernel/commit/e5165afdd2d248cac396c47dfa4b44feb65c9017

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

792 Views
vinothrajm
Contributor III

Hi igor,

In my board file,these code is present already. But it does not works.

Thanks and Regards,

vinothraj

0 Kudos
Reply

792 Views
igorpadykov
NXP Employee
NXP Employee

Hi vinothraj

is PMIC_ON_REQ signal toggling,

could you check it with oscilloscope ?

~igor

0 Kudos
Reply