• Anson Huang's avatar
    imx: add wakeup source SIP runtime service support · ebdbc25b
    Anson Huang authored
    
    
    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: default avatarAnson Huang <Anson.Huang@nxp.com>
    ebdbc25b
imx_sip_handler.c 1.92 KB