power wake up through uart and gpio

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

power wake up through uart and gpio

1,747 Views
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 Kudos
1 Reply

627 Views
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 Kudos