ONOFF button patch for IMX6SL for Android

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

ONOFF button patch for IMX6SL for Android

1,075 次查看
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

标签 (6)
标记 (1)
0 项奖励
回复
3 回复数

793 次查看
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 项奖励
回复

793 次查看
vinothrajm
Contributor III

Hi igor,

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

Thanks and Regards,

vinothraj

0 项奖励
回复

793 次查看
igorpadykov
NXP Employee
NXP Employee

Hi vinothraj

is PMIC_ON_REQ signal toggling,

could you check it with oscilloscope ?

~igor

0 项奖励
回复