Skip to content

Commit

Permalink
clk: imx: scu: bypass cpu power domains
Browse files Browse the repository at this point in the history
Bypass cpu power domains which are owned by ATF.

Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Dong Aisheng authored and Shawn Guo committed Oct 26, 2020
1 parent 77d8f30 commit 0d5f1f4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/clk/imx/clk-scu.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,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);
}

Expand Down

0 comments on commit 0d5f1f4

Please sign in to comment.