diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2018-08-10 17:49:00 +0800 |
---|---|---|
committer | Bai Ping <ping.bai@nxp.com> | 2018-09-15 00:18:32 +0800 |
commit | 7b60954d68e074d6d0d1a6f828f4392cf7c7137d (patch) | |
tree | b8c02b2582e001eb86dc8e2f67aa88c478a0d079 /plat/imx/imx8mm/include | |
parent | ca98a9fca54b491755e515ca0f0d7f53a19ad74f (diff) |
plat: imx8mm: Add support for imx8mm lpa
For i.MX8MM low power audio playback, when Linux suspend,
M4 still needs to be active for audio playback, so system
can NOT enter DSM mode but only force A core platform into
STOP mode, PLLs/NoC/DRAM need to be active as well and MU
interrupt wakeup needs to be enabled for waking up Linux
by MU message sent by M4.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Bai Ping <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/imx8mm/include')
-rw-r--r-- | plat/imx/imx8mm/include/soc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plat/imx/imx8mm/include/soc.h b/plat/imx/imx8mm/include/soc.h index 475b0bc8..00052d32 100644 --- a/plat/imx/imx8mm/include/soc.h +++ b/plat/imx/imx8mm/include/soc.h @@ -7,6 +7,8 @@ #ifndef __IMX_SOC_H #define __IMX_SOC_H +#include <stdbool.h> + void imx_gpc_set_m_core_pgc(unsigned int cpu, bool pdn); void imx_anamix_pre_suspend(void); void imx_anamix_post_resume(void); @@ -30,4 +32,7 @@ void noc_wrapper_post_resume(unsigned int proc_num); void ddrc_enter_retention(void); void ddrc_exit_retention(void); +bool imx_is_m4_enabled(void); +bool imx_m4_lpa_active(void); + #endif /* __IMX_SOC_H */ |