How to configure iMX6 Solo to power resume via USB-HID Touch

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

How to configure iMX6 Solo to power resume via USB-HID Touch

1,464 次查看
premjith_thirot
Contributor I

I have a  iMX6-solo platform with Yocto build and Linux kernel 4.1.15 .  I can set UART as wake up resource , but I am not able to do it with Touch. I am using USB-HID Touch in my board. 

->Issued the below commands to enable the USB Touch as wake up resource ,

$echo enabled > /sys/devices/soc0/soc/2000000.aips-bus/20c9000.usbphy/power/wakeup
$echo enabled > /sys/devices/soc0/soc/2000000.aips-bus/20ca000.usbphy/power/wakeup
$echo enabled > /sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/power/wakeup
$echo enabled > /sys/devices/soc0/soc/2100000.aips-bus/2184000.usb/ci_hdrc.0/power/wakeup
$echo enabled > /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/power/wakeup
$echo enabled > /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/power/wakeup
$echo enabled > /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/1-1/power/wakeup
$echo enabled > /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/usb1/power/wakeup
$echo enabled > /sys/devices/soc0/soc/2100000.aips-bus/2184200.usb/ci_hdrc.1/power/wakeup

->Changed the mode to suspend to RAM

$echo mem > /sys/power/state

But I am not able to wake up my board using Touch . Please suggest how to configure wake up on touch...

Regards,

PREMJITH T

标签 (4)
0 项奖励
回复
3 回复数

1,159 次查看
igorpadykov
NXP Employee
NXP Employee

Hi PREMJITH

one can try steps described in sect.39.2.4 USB Wakeup Usage attached Linux Manual

and examples in imx-test (folder /mxc_usb_test)
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz

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

0 项奖励
回复

1,158 次查看
premjith_thirot
Contributor I

Hi igor,

That is also not working...

After suspend mode interrupt signal is not coming from the touch , Which means touch driver is not responding after suspend.

Regards

PREMJITH T

0 项奖励
回复

1,159 次查看
igorpadykov
NXP Employee
NXP Employee

one can check if clocks are enabled (configured with CCM_CCGRn register) for

module which uses touch driver.

Best regards
igor

0 项奖励
回复