]> git.sur5r.net Git - u-boot/commit
imx: clock: gate clk before changing pix clk mux
authorPeng Fan <peng.fan@nxp.com>
Sun, 11 Dec 2016 11:24:28 +0000 (19:24 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 16 Dec 2016 10:38:24 +0000 (11:38 +0100)
commit708f69275329d4e23ed2f927cee7674ca25c1544
tree69e0a4e1f2e9fff2c87985733ba6ac23cffd7531
parente332623b0328f91c76d99c356c350fc04b1fc8dc
imx: clock: gate clk before changing pix clk mux

The LCDIF Pixel clock mux is not glitchless, so need
to gate before changing mux.

Also change enable_lcdif_clock prototype with a new input
parameter to indicate disable or enable.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/cpu/armv7/mx6/clock.c
arch/arm/include/asm/arch-mx6/clock.h
board/freescale/mx6sxsabresd/mx6sxsabresd.c
board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c