diff options
author | Dong Aisheng <aisheng.dong@nxp.com> | 2020-07-29 10:00:11 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2020-10-26 03:53:38 +0100 |
commit | 0d5f1f4731b52e294f25de193978d8b181b55faa (patch) | |
tree | 310a8103b3eae9d15909987f32bcd40981903a37 /drivers/clk/imx | |
parent | clk: imx: scu: add two cells binding support (diff) | |
download | linux-0d5f1f4731b52e294f25de193978d8b181b55faa.tar.xz linux-0d5f1f4731b52e294f25de193978d8b181b55faa.zip |
clk: imx: scu: bypass cpu power domains
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>
Diffstat (limited to 'drivers/clk/imx')
-rw-r--r-- | drivers/clk/imx/clk-scu.c | 4 |
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); } |