clk: imx: imx6sx: Remove CLK_SET_RATE_PARENT from the LDB clocks
authorFabio Estevam <festevam@denx.de>
Sun, 16 Apr 2023 15:00:04 +0000 (12:00 -0300)
committerAbel Vesa <abel.vesa@linaro.org>
Thu, 18 May 2023 10:24:58 +0000 (13:24 +0300)
commit370da75066e32bef008ca17290f4aa644500100c
tree51a0e0c3a6a30954f2034c8a9d8aac853e19e87e
parentac9a78681b921877518763ba0e89202254349d1b
clk: imx: imx6sx: Remove CLK_SET_RATE_PARENT from the LDB clocks

On the i.MX6SX, it is common to use the LDB and LCDIF with the same
parent clock, such as the IMX6SX_CLK_PLL5_VIDEO_DIV, for example.

Due to the CLK_SET_RATE_PARENT flag, the LDB clock would try to set the
clock parent rate, which can mess with the required clock rate calculated
from the eLCDIF driver.

To prevent this problem, remove the CLK_SET_RATE_PARENT flag from the
LDB clocks, so that a correct clock relationship can be achieved.

Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230416150004.16834-1-festevam@gmail.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx6sx.c