summaryrefslogtreecommitdiff
path: root/plat/imx/imx8qxp/imx8qxp_psci.c
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2017-10-20 00:54:00 +0800
committerAbel Vesa <abel.vesa@nxp.com>2018-06-11 10:08:40 +0300
commiteaf27aaa2334ba02199ceeec509146dc9b775ae0 (patch)
treeddfa3c4ba9cbae9d9125bae3e6303bbf568ce8fb /plat/imx/imx8qxp/imx8qxp_psci.c
parentf5062a6d91f7ddadb519793e3f1432d7a1a70abd (diff)
imx8qxp: add A35 cluster low power mode in suspend
Request A35 cluster low power mode to off to SCFW, when suspend, SCFW will turn off A35 cluster. Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Diffstat (limited to 'plat/imx/imx8qxp/imx8qxp_psci.c')
-rw-r--r--plat/imx/imx8qxp/imx8qxp_psci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plat/imx/imx8qxp/imx8qxp_psci.c b/plat/imx/imx8qxp/imx8qxp_psci.c
index c9c8fb3a..c7e32bc0 100644
--- a/plat/imx/imx8qxp/imx8qxp_psci.c
+++ b/plat/imx/imx8qxp/imx8qxp_psci.c
@@ -223,5 +223,8 @@ int plat_setup_psci_ops(uintptr_t sec_entrypoint,
/* sec_entrypoint is used for warm reset */
*psci_ops = &imx_plat_psci_ops;
+ /* request low power mode for A35 cluster, only need to do once */
+ sc_pm_req_low_power_mode(ipc_handle, SC_R_A35, SC_PM_PW_MODE_OFF);
+
return 0;
}