]> git.baikalelectronics.ru Git - kernel.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)
committerStephen Boyd <sboyd@kernel.org>
Wed, 28 Sep 2022 20:26:16 +0000 (13:26 -0700)
commitd40f02b94d8fd9f15f6142fe91675c5d671ad78a
tree9999af6824df99e161fecbfe035dd9f178053632
parentfc34c7b277ad52a800e238cb90a1e46375cc8898
clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI clocks

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: ae9920b23eb2 ("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>
drivers/clk/imx/clk-imx6sx.c