Our use case is:
1, Config some GPIO as wakeup source
2, Put A35 in LP/(or OFF) mode
3, set ddr in self fresh mode (is it necessay here?)
4, Execute WFI in A35
5, wakeup the A35 through the GPIO pad.
6, A35 wakes up, it can continue exceution or reset
7, A35 can re-use the data in ddr.
We don't want to change the scfw code if possible.
For now, the above step 1,2 3, are placed in SCU-FW directly just for test purpose.
Current issue is, Step 5 does not work.
I also changed to use the below parameter for step 2:
pm_req_cpu_low_power_mode(BOOT_PT, SC_R_A35_0 ,SC_PM_PW_MODE_LP, SC_PM_WAKE_SRC_SCU);
May be my approach is totally wrong?
One more question,
can the SCU also be in sleep/low power mode?
Thank you.