Hi Peter
formally setting PMIC_ON_REQ can be done with SCFW APIs
described in SCFW Porting Kit documentation, like:
sc_pm_set_sys_power_mode(ipc, SC_PM_PW_MODE_OFF),
sc_pm_set_sys_power_mode(ipc, SC_PM_PW_MODE_ON),
But last call is sensless (for that reason there is only SNVS_PowerOff() provided)
since assumed that in that state board is powered off (PMIC in off state) and SCFW
APIs can not run on unpowered processor.
Only way to set PMIC_ON_REQ when processor is unpowered is to use ONOFF signal
or RTC wake-up: rtcwakeup.c\mxc_rtc\test - imx-test - i.MX Driver Test Application Software
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------