]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 7898cb0ed92428eb153b259d2ef1c59203fec484..e0574112cd5b4dcd72b4c36896a44cebdfef48fb 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);