summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-mx6/clock.h
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-10-29 15:54:47 +0800
committerStefano Babic <sbabic@denx.de>2015-11-12 17:40:53 +0100
commitad153782e07ee3a95ccef6b6eeddaaaec918421f (patch)
treec52238c91cfc5e44007fddc14c42b26eba297228 /arch/arm/include/asm/arch-mx6/clock.h
parent64ffef05e0deac5a388836e16aa8496b59e5ed5f (diff)
downloadu-boot-imx-ad153782e07ee3a95ccef6b6eeddaaaec918421f.zip
u-boot-imx-ad153782e07ee3a95ccef6b6eeddaaaec918421f.tar.gz
u-boot-imx-ad153782e07ee3a95ccef6b6eeddaaaec918421f.tar.bz2
imx: mx6: add clock api for lcdif
Implement mxs_set_lcdclk, enable_lcdif_clock and enable_pll_video. The three API can be used to configure lcdif related clock when CONFIG_VIDEO_MXS enabled. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm/include/asm/arch-mx6/clock.h')
-rw-r--r--arch/arm/include/asm/arch-mx6/clock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx6/clock.h b/arch/arm/include/asm/arch-mx6/clock.h
index 2b220d6..1450523 100644
--- a/arch/arm/include/asm/arch-mx6/clock.h
+++ b/arch/arm/include/asm/arch-mx6/clock.h
@@ -66,6 +66,8 @@ 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);
void enable_qspi_clk(int qspi_num);
void enable_thermal_clk(void);
+void mxs_set_lcdclk(u32 base_addr, u32 freq);
#endif /* __ASM_ARCH_CLOCK_H */