]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: imx: imx8qxp: Register dc0_bypass0_clk before disp clk
authorPeng Fan <peng.fan@nxp.com>
Fri, 7 Jun 2024 13:33:45 +0000 (21:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:29:26 +0000 (16:29 +0200)
commitd64513b2dab17470a2c68de9e149d8a3ac356e66
tree8299a5f922487e831424ac354c8dd489e16bef58
parent5b44298953f35fcd2b480db9de70ee8ec4ee7041
clk: imx: imx8qxp: Register dc0_bypass0_clk before disp clk

[ Upstream commit e61352d5ecdc0da2e7253121c15d9a3e040f78a1 ]

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: 91e916771de0 ("clk: imx: scu: remove legacy scu clock binding support")
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-14-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imx/clk-imx8qxp.c