aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDong Aisheng <[email protected]>2020-07-29 16:00:11 +0800
committerShawn Guo <[email protected]>2020-10-26 10:53:38 +0800
commit0d5f1f4731b52e294f25de193978d8b181b55faa (patch)
tree310a8103b3eae9d15909987f32bcd40981903a37
parent77d8f3068c63ee0983f0b5ba3207d3f7cce11be4 (diff)
clk: imx: scu: bypass cpu power domains
Bypass cpu power domains which are owned by ATF. Reviewed-by: Stephen Boyd <[email protected]> Signed-off-by: Dong Aisheng <[email protected]> Signed-off-by: Shawn Guo <[email protected]>
-rw-r--r--drivers/clk/imx/clk-scu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-scu.c b/drivers/clk/imx/clk-scu.c
index e5837e7caa50..dae2529bf64e 100644
--- a/drivers/clk/imx/clk-scu.c
+++ b/drivers/clk/imx/clk-scu.c
@@ -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);
}