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

Stephen Boyd sboyd at kernel.org
Wed Nov 4 20:13:15 EST 2020


Quoting peng.fan at nxp.com (2020-11-01 03:23:54)
> 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>
> ---

Applied to clk-fixes



More information about the linux-arm-kernel mailing list