power wake up through uart and gpio

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

power wake up through uart and gpio

2,568 次查看
veeranjaneyulug
Contributor III

Hi Every one,

we have one issue .How to create sysfs entries for power wake up through uart and gpio..

we know the wake up commands but we couldnt able to see  the below path imx-uart on my target board . can you help any body that .and how to configure uart and gpio wakeup's on imx6 target board .kernel version is 3.14 we checked device tree there mentioned gpio keys code and uart stuff already is there.

we need any changes for that .can you explain how to create sysfs entry for that. 

echo enabled > /sys/devices/platform/imx-uart.'x'/tty/ttymxc'x'/power/wakeup

0 项奖励
回复
1 回复

1,447 次查看
igorpadykov
NXP Employee
NXP Employee

Hi veeranjaneyulu

for uart one can look at attached Linux Manual sect.22.1.5 Unit Test

for gpio:

linux/Documentation../fsl-imx-gpio.txt

https://boundarydevices.com/mx6-device-tree-customization/

Best regards

igor

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

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

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

0 项奖励
回复