]> 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>
Thu, 17 Oct 2024 13:10:59 +0000 (15:10 +0200)
commitf1046dd074568325a3e9117f162462e16bf1020c
tree091e76e1c3596b2f382a967c4bca727362f6a0de
parent03b2049e76f911cf8d50b770d13f69652f516abb
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