Add Suspend to RAM (S3) support
Add Suspend to RAM support.
Test:
#Disable vpu/apu
echo stop > sys/class/remoteproc/remoteproc0/state
#Put into S3
echo mem > /sys/power/state
#Wake up using volume up button
#Set wakealarm to 5 seconds
echo $(( `date '+%s'` +5 )) > /sys/class/rtc/rtc0/wakealarm
#Put intto S3
echo mem > /sys/power/state
Signed-off-by: Vitor Sato Eschholz vsatoes@baylibre.com
Closes RITA-1216