Re: [PATCH V3] clk: imx8m: fix bus critical clk registration
From: Stephen Boyd
Date: Wed Nov 04 2020 - 20:13:19 EST
Quoting peng.fan@xxxxxxx (2020-11-01 03:23:54)
> From: Peng Fan <peng.fan@xxxxxxx>
>
> 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@xxxxxxx>
> Reported-by: Abel Vesa <abel.vesa@xxxxxxx>
> Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
> ---
Applied to clk-fixes