[RFC] clk: imx6: Mark imx_clk_mux as glitchy by default

2018-08-22 Thread Leonard Crestez
With some exceptions clk muxes on imx6 are "glitchy": If the output is not gated before reparenting then high-frequency pulses can occur and cause unpredictable behavior. Only a very small subset of muxes are listed as "glitchless" in the reference manual. Adapt to this by adding the CLK_SET_PAREN

Re: [RFC] clk: imx6: Mark imx_clk_mux as glitchy by default

2018-08-22 Thread Leonard Crestez
On Tue, 2018-08-21 at 19:42 -0300, Fabio Estevam wrote: > Hi Leonard, > > On Tue, Aug 21, 2018 at 4:34 PM, Leonard Crestez > wrote: > > > More concretely on 6qp-sdb blanking the display happens like this: > > * imx_ldb_encoder_disable switches ipu1_di0_sel to ipu1_di0_pre from > > ldb_di1_podf

Re: [RFC] clk: imx6: Mark imx_clk_mux as glitchy by default

2018-08-21 Thread Fabio Estevam
Hi Leonard, On Tue, Aug 21, 2018 at 4:34 PM, Leonard Crestez wrote: > More concretely on 6qp-sdb blanking the display happens like this: > * imx_ldb_encoder_disable switches ipu1_di0_sel to ipu1_di0_pre from > ldb_di1_podf > * reparenting to ipu1_di0_pre enables it and its parents up to pll5