Hello all,
I have a Radxa CM3 and a Radxa CM3 IO board. I’m tweaking the kernel to provide compatibility for a custom carrier board.
I already managed to modify the device-tree to make the OS wake up from ‘freeze’ power state when a GPIO is pulled down; however, I don’t know how to make it wake up from ‘mem’ power state.
Is it possible to modify the device tree to make the OS wake up from suspend-to-ram (‘mem’ power state) when a GPIO is pulled down?
Additional Notes:
- The OS wakes up from ‘mem’ power state when a USB device is plugged into the USB3.0 port.
- The OS wakes up from ‘mem’ power state when POWER_KEY pin is pulled down but it immediatly starts a clean systemd shudown process.
Best regards!
JR