summaryrefslogtreecommitdiff
path: root/plat/imx/imx8m/imx8mm/gpc.c
diff options
context:
space:
mode:
authorJacky Bai <ping.bai@nxp.com>2020-01-20 13:56:56 +0800
committerJacky Bai <ping.bai@nxp.com>2020-02-09 20:58:49 +0800
commit2a045c8600f2bcab3a7bd7c36c64db49638ed1a9 (patch)
treefc3d5d887db84d349af63b3973441d077f6773d3 /plat/imx/imx8m/imx8mm/gpc.c
parent9dec5b6f55f236304f40f2181e3784c01708a97a (diff)
plat: imx8m: Add the M4 low power audio support on imx8m
Add the M core low power audio support on i.MX8M. Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Diffstat (limited to 'plat/imx/imx8m/imx8mm/gpc.c')
-rw-r--r--plat/imx/imx8m/imx8mm/gpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plat/imx/imx8m/imx8mm/gpc.c b/plat/imx/imx8m/imx8mm/gpc.c
index afd39051..75e103d7 100644
--- a/plat/imx/imx8m/imx8mm/gpc.c
+++ b/plat/imx/imx8m/imx8mm/gpc.c
@@ -443,8 +443,9 @@ void imx_gpc_init(void)
/* clear DSM by default */
val = mmio_read_32(IMX_GPC_BASE + SLPCR);
val &= ~SLPCR_EN_DSM;
- /* enable the fast wakeup wait mode */
+ /* enable the fast wakeup wait/stop mode */
val |= SLPCR_A53_FASTWUP_WAIT_MODE;
+ val |= SLPCR_A53_FASTWUP_STOP_MODE;
/* clear the RBC */
val &= ~(0x3f << SLPCR_RBC_COUNT_SHIFT);
/* set the STBY_COUNT to 0x5, (128 * 30)us */