Hello,
I currently have a board using AM335X and I was wondering how to disable waking from suspend-to-ram via uart0 in userspace.
I have referred to AM335x_Linux_Power_Management_User_Guide#Wakeup_sources for an example on disabling wake up source, but my output for uart0 is already disabled:
/sys/devices/platform/omap/omap_uart.0/tty/ttyO0/power# cat wakeup
disabled
I can currently use mem_util and manually set WER for UART0 to all disabled to prevent UART0 from waking from suspend:
mem_util 0x44E0905C b 0
but I would like a more elegant solution to disable wake from UART0 in userspace (i.e. echoing to a file in /sys/...)
Thanks