1
0
Fork 0

clk: imx: scu: bypass cpu power domains

Bypass cpu power domains which are owned by ATF.

Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Dong Aisheng 2019-07-15 19:16:30 +08:00
parent c889734e82
commit 1a92f7499c
1 changed files with 4 additions and 0 deletions

View File

@ -783,6 +783,10 @@ static int imx_clk_scu_attach_pd(struct device *dev, u32 rsrc_id)
.args[0] = rsrc_id,
};
if ((rsrc_id == IMX_SC_R_A35) || (rsrc_id == IMX_SC_R_A53) ||
(rsrc_id == IMX_SC_R_A72))
return 0;
return of_genpd_add_device(&genpdspec, dev);
}