diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-12-11 19:24:28 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2016-12-16 11:38:24 +0100 |
commit | 708f69275329d4e23ed2f927cee7674ca25c1544 (patch) | |
tree | 69e0a4e1f2e9fff2c87985733ba6ac23cffd7531 /arch/arm/include/asm | |
parent | e332623b0328f91c76d99c356c350fc04b1fc8dc (diff) | |
download | u-boot-imx-708f69275329d4e23ed2f927cee7674ca25c1544.zip u-boot-imx-708f69275329d4e23ed2f927cee7674ca25c1544.tar.gz u-boot-imx-708f69275329d4e23ed2f927cee7674ca25c1544.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r-- | arch/arm/include/asm/arch-mx6/clock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx6/clock.h b/arch/arm/include/asm/arch-mx6/clock.h index ed1433e..2d9c45e 100644 --- a/arch/arm/include/asm/arch-mx6/clock.h +++ b/arch/arm/include/asm/arch-mx6/clock.h @@ -74,7 +74,7 @@ int enable_spi_clk(unsigned char enable, unsigned spi_num); void enable_ipu_clock(void); int enable_fec_anatop_clock(int fec_id, enum enet_freq freq); void enable_enet_clk(unsigned char enable); -int enable_lcdif_clock(u32 base_addr); +int enable_lcdif_clock(u32 base_addr, bool enable); void enable_qspi_clk(int qspi_num); void enable_thermal_clk(void); void mxs_set_lcdclk(u32 base_addr, u32 freq); |