]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks
authorHan Xu <han.xu@nxp.com>
Thu, 15 Sep 2022 15:09:59 +0000 (10:09 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Oct 2022 08:40:53 +0000 (10:40 +0200)
commitb1dd83f321dc305bc62164d90c20909546e08ad4
treeefbcd1f115cce1d7c5d8d2a11d441f08da63dc60
parent3e8d61faead02c78db9b7ea8d4fde0d9e770d78e
clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks

[ Upstream commit b1ff1bfe81e763420afd5f3f25f0b3cbfd97055c ]

There is no dedicate parent clock for QSPI so SET_RATE_PARENT flag
should not be used. For instance, the default parent clock for QSPI is
pll2_bus, which is also the parent clock for quite a few modules, such
as MMDC, once GPMI NAND set clock rate for EDO5 mode can cause system
hang due to pll2_bus rate changed.

Fixes: f1541e15e38e ("clk: imx6sx: Switch to clk_hw based API")
Signed-off-by: Han Xu <han.xu@nxp.com>
Link: https://lore.kernel.org/r/20220915150959.3646702-1-han.xu@nxp.com
Tested-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imx/clk-imx6sx.c