imx8ulp: assign PXP/HIFI4/EPDC to APD domain
authorPeng Fan <peng.fan@nxp.com>
Fri, 29 Oct 2021 01:46:17 +0000 (09:46 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:38 +0000 (13:38 +0100)
Assign the PXP/HIFI4/EPDC to APD domain, otherwise APD not
able to receive interrupts from the modules.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8ulp/soc.c

index 7898cb0..e057411 100644 (file)
@@ -471,8 +471,8 @@ void lpav_configure(void)
        /* LPAV to APD */
        setbits_le32(SIM_SEC_BASE_ADDR + 0x44, BIT(7));
 
-       /* GPU 2D/3D/DCNANO/MIPI_DSI to APD */
-       setbits_le32(SIM_SEC_BASE_ADDR + 0x4c, BIT(1) | BIT(2) | BIT(3) | BIT(4));
+       /* PXP/GPU 2D/3D/DCNANO/MIPI_DSI/EPDC/HIFI4 to APD */
+       setbits_le32(SIM_SEC_BASE_ADDR + 0x4c, 0x7F);
 
        /* LPAV slave/dma2 ch allocation and request allocation to APD */
        writel(0x1f, SIM_SEC_BASE_ADDR + 0x50);