imx: add wakeup source SIP runtime service support
On i.MX8QM/i.MX8QX with system controller inside, the wakeup
source is managed in SCFW(system controller firmware), if the
wakeup source is belonged to system controller partition, then
before Linux suspend, the wakeup source should be set to
SC_PM_WAKE_SRC_SCU, and if the wakeup source is belonged to
Cortex-A partition, the wakeup source should be set to
SC_PM_WAKE_SRC_IRQSTEER, so need to add wakeup source SIP runtime
service to get Linux kernel's wakeup source and set the correct
wakeup source for system controller.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
1 parent 023bc01 commit ebdbc25b4cd6d9b1c581e98a85f6469bfcbed113
@Anson Huang Anson Huang authored on 17 Jan 2019
Showing 4 changed files
View
plat/imx/common/imx_sip_handler.c
View
plat/imx/common/imx_sip_svc.c
View
plat/imx/common/include/imx_sip_svc.h
View
plat/imx/common/include/plat_imx8.h