diff options
author | Peng Fan <peng.fan@nxp.com> | 2023-09-12 12:19:04 +0300 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2023-10-04 15:44:14 +0300 |
commit | eaefd1cf36a6507ff7dd2d30f68201de259eec63 (patch) | |
tree | 0d98fc12f921bdd88290fb4bc91c758cae98b54d /drivers/clk/imx/clk-imx8qxp-rsrc.c | |
parent | a699148b8704aa11600321b9f6b6b21f09418c42 (diff) | |
download | linux-eaefd1cf36a6507ff7dd2d30f68201de259eec63.tar.xz |
clk: imx: scu: ignore clks not owned by Cortex-A partition
Not register clks that not owned to current partition.
CPU resources are specical resources, it is assigned in ATF, not
non-secure OS, but we still need to allow cpu freq, so return
true for non-secure OS for cpu resources.
Otherwise there will be error log if the resources are owned by current
partition:
[ 19.387291] cm40_i2c_div: failed to attached the power domain -2
[ 19.389305] cm40_lpuart_div: failed to attached the power domain -2
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230912-imx8-clk-v1-v1-6-69a34bcfcae1@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Diffstat (limited to 'drivers/clk/imx/clk-imx8qxp-rsrc.c')
0 files changed, 0 insertions, 0 deletions