]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: imx: imx8qxp: Parent should be initialized earlier than the clock
authorPeng Fan <peng.fan@nxp.com>
Fri, 7 Jun 2024 13:33:46 +0000 (21:33 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Fri, 21 Jun 2024 06:35:29 +0000 (09:35 +0300)
commit766c386c16c9899461b83573a06380d364c6e261
treeb5d7598b42fcb2bbe769d2251e327100399bcca3
parente61352d5ecdc0da2e7253121c15d9a3e040f78a1
clk: imx: imx8qxp: Parent should be initialized earlier than the clock

The initialization order of SCU clocks affects the sequence of SCU clock
resume. If there are no other effects, the earlier the initialization,
the earlier the resume. During SCU clock resume, the clock rate is
restored. As SCFW guidelines, configure the parent clock rate before
configuring the child rate.

Fixes: babfaa9556d7 ("clk: imx: scu: add more scu clocks")
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-15-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx8qxp.c