diff options
author | Jacky Bai <ping.bai@nxp.com> | 2024-06-07 21:33:34 +0800 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2024-06-21 09:35:21 +0300 |
commit | d342df11726bfac9c3a9d2037afa508ac0e9e44e (patch) | |
tree | bf2d53aaa8ba0245c3a12d46910257f5f328e040 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8f32e9dd0916eb3fd4bcf550ed1d04542a65cb9e (diff) |
clk: imx: composite-93: keep root clock on when mcore enabled
Previously we assumed that the root clock slice is enabled
by default when kernel boot up. But the bootloader may disable
the clocks before jump into kernel. The gate ops should be registered
rather than NULL to make sure the disabled clock can be enabled
when kernel boot up. Refine the code to skip disable the clock
if mcore booted.
Fixes: a740d7350ff7 ("clk: imx: imx93: add mcore_booted module paratemter")
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Tested-by: Chancel Liu <chancel.liu@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240607133347.3291040-3-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions