MLK-25018 soc: imx: Correct the default noc setting on imx8mq
authorJacky Bai <ping.bai@nxp.com>
Wed, 18 Nov 2020 09:33:40 +0000 (17:33 +0800)
committerJacky Bai <ping.bai@nxp.com>
Thu, 15 Apr 2021 09:49:44 +0000 (17:49 +0800)
The config for lcdif should be removed, and need to add vpu
qos setting by default. this patch is just to add back the
vpu qos config that is missed when resolving cherry-pick
conflict for patch:
3a3f54750294: MLK-19380 driver: soc: update the noc QoS setting on imx8mq

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
drivers/soc/imx/soc-imx8m.c

index 6015348..4577a7b 100644 (file)
@@ -215,8 +215,8 @@ static void __init imx8mq_noc_init(void)
        if (res.a0)
                pr_err("Config NOC for CPU fail!\n");
 
-       arm_smccc_smc(IMX_SIP_NOC, IMX_SIP_NOC_LCDIF, 0,
-                       0, 0, 0, 0, 0, &res);
+       arm_smccc_smc(IMX_SIP_NOC, IMX_SIP_NOC_PRIORITY, NOC_VPU_PRIORITY,
+                       0x80000300, 0, 0, 0, 0, &res);
        if (res.a0)
                pr_err("Config NOC for VPU fail!\n");
 }