diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-06-19 13:27:27 +0800 |
---|---|---|
committer | Jason Liu <jason.hui.liu@nxp.com> | 2019-02-12 10:32:20 +0800 |
commit | 079aa7a33d04bb73648a0e375638a23613fe7759 (patch) | |
tree | 359c5f66c73fdb455a66e8968a8ec0448ad41126 /include/soc | |
parent | d6c3fbdcdc0ec7295d71d0b32510a352049aadf7 (diff) |
MLK-18632-2 soc: imx: add support for setting wakeup source in ATF
To support lowest power mode for suspend, if no wakeup source
from non-secure partition is enabled, IRQSTEER can be powered
off when suspend, otherwise, IRQSTEER needs to be powered on
to support wakeup, so need to pass WU domain wakeup source
info to ATF, then ATF will decide if to power off IRQSTEER
when system suspend.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/imx/fsl_sip.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/soc/imx/fsl_sip.h b/include/soc/imx/fsl_sip.h index a5682ca0c374..f1c8c9b1e2cc 100644 --- a/include/soc/imx/fsl_sip.h +++ b/include/soc/imx/fsl_sip.h @@ -60,4 +60,8 @@ #define FSL_SIP_NOC 0xc2000008 #define FSL_SIP_NOC_LCDIF 0x0 +#define FSL_SIP_WAKEUP_SRC 0xc2000009 +#define FSL_SIP_WAKEUP_SRC_SCU 0x1 +#define FSL_SIP_WAKEUP_SRC_IRQSTEER 0x2 + #endif |