I’m using echo mem > /sys/power/state
to put the Linux into Suspend-to-RAM (DSM) mode. However, it causes the entire SoC to be suspended.
I cannot find any example code in the SDK_2_9_0_MIMX8QM6xxxFF to demonstrate such a feature. The only almost-relevant demo app is the power_mode_switch
, and even that only demonstrates various sleep scenarios for the M4, not the A-cores.
I have already gone through some application notes, e.g. “i.MX 8M Low Power Design By M Core Running In System Suspend”, but that appears to be only applicable to the i.MX 8M series. Is there anything similar to the Low-Power Audio flags mentioned in this document, where it enforces the M4 to keep running while the Linux system is in DSM?
Thanks in advance.