[PATCH V3] clk: imx8m: fix bus critical clk registration

Shawn Guo shawnguo at kernel.org
Mon Nov 2 19:06:57 EST 2020


On Sun, Nov 01, 2020 at 07:23:54PM +0800, peng.fan at nxp.com wrote:
> From: Peng Fan <peng.fan at nxp.com>
> 
> noc/axi/ahb are bus clk, not peripheral clk.
> Since peripheral clk has a limitation that for peripheral clock slice,
> IP clock slices must be stopped to change the clock source.
> 
> However if the bus clk is marked as critical clk peripheral, the
> assigned clock parent operation will fail.
> 
> So we added CLK_SET_PARENT_GATE flag to avoid glitch.
> 
> And add imx8m_clk_hw_composite_bus_critical for bus critical clock usage
> 
> Fixes: 936c383673b9e ("clk: imx: fix composite peripheral flags")
> Reviewed-by: Abel Vesa <abel.vesa at nxp.com>
> Reported-by: Abel Vesa <abel.vesa at nxp.com>
> Signed-off-by: Peng Fan <peng.fan at nxp.com>

Do you want this be picked up as a fix for 5.10-rc or non-critical stuff
for -next?

Shawn



More information about the linux-arm-kernel mailing list