summaryrefslogtreecommitdiff
path: root/plat/imx/imx8m/imx8m_psci_common.c
diff options
context:
space:
mode:
authorJacky Bai <ping.bai@nxp.com>2020-01-20 14:58:44 +0800
committerJacky Bai <ping.bai@nxp.com>2020-02-09 20:58:49 +0800
commit9dec5b6f55f236304f40f2181e3784c01708a97a (patch)
tree1413e377dea3742698767e95c30d0b941d1d2af0 /plat/imx/imx8m/imx8m_psci_common.c
parentb13615aab1a2ccccf10edab071086ca16da70d87 (diff)
plat: imx8m: Enable the noc power down support on imx8m
Enable the NOC wrapper power down support for SoC that have switchable NOC power domain. Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/imx8m/imx8m_psci_common.c')
-rw-r--r--plat/imx/imx8m/imx8m_psci_common.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plat/imx/imx8m/imx8m_psci_common.c b/plat/imx/imx8m/imx8m_psci_common.c
index fc9a585e..fc649d51 100644
--- a/plat/imx/imx8m/imx8m_psci_common.c
+++ b/plat/imx/imx8m/imx8m_psci_common.c
@@ -124,6 +124,7 @@ void imx_domain_suspend(const psci_power_state_t *target_state)
imx_set_sys_lpm(core_id, true);
dram_enter_retention();
imx_anamix_override(true);
+ imx_noc_wrapper_pre_suspend(core_id);
}
}
@@ -133,6 +134,7 @@ void imx_domain_suspend_finish(const psci_power_state_t *target_state)
unsigned int core_id = MPIDR_AFFLVL0_VAL(mpidr);
if (is_local_state_off(SYSTEM_PWR_STATE(target_state))) {
+ imx_noc_wrapper_post_resume(core_id);
imx_anamix_override(false);
dram_exit_retention();
imx_set_sys_lpm(core_id, false);