Peng Fan bb7e897b00 clk: imx8m: check mcore_booted before register clk
If mcore_booted is true, ignore the clk root gate registration and
this will simplify AMP clock management and avoid system hang unexpectly
especially Linux shutdown clk used by mcore.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20220228124112.3974242-2-peng.fan@oss.nxp.com
[abelvesa@kernel.org: Removed if-case for when mcore_booted is true]
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
2022-04-12 13:47:03 +03:00
..
2020-08-22 20:36:57 +08:00
2022-01-29 15:12:07 +02:00
2022-03-04 17:06:29 +02:00
2020-09-07 11:08:50 +08:00
2022-01-29 15:12:07 +02:00
2020-08-23 10:08:35 +08:00
2022-03-04 17:06:29 +02:00