summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-12 17:10:32 +0800
committerYe.Li <B37916@freescale.com>2014-06-17 11:14:03 +0800
commit054fed6bab5b05a054c7e3cb5362635a40e6ee18 (patch)
treed7d7f31d2916e46ab67eb6ad69641b64db92689c /include
parent8d03fa5976b871135a3cb428c2229d83e6355bc9 (diff)
downloadu-boot-imx-054fed6bab5b05a054c7e3cb5362635a40e6ee18.zip
u-boot-imx-054fed6bab5b05a054c7e3cb5362635a40e6ee18.tar.gz
u-boot-imx-054fed6bab5b05a054c7e3cb5362635a40e6ee18.tar.bz2
ENGR00315894-70 iMX6SX:Video Update MXS LCDIF driver
Add a new interface "mxs_lcd_panel_setup" to setup fb parameters and specifies the LCDIF controller for multiple controllers of iMX6SX. Pass fb parameters via "videomode" env remains work if the new interface is not called before video initialization. Modify LCDIF clock interface "mxs_set_lcdclk" to support multiple LCDIF controllers on iMX6SX. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/mxsfb.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/mxsfb.h b/include/mxsfb.h
new file mode 100644
index 0000000..a4e27a8
--- /dev/null
+++ b/include/mxsfb.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2014 Freescale Semiconductor, Inc.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef __MXSFB_H__
+#define __MXSFB_H__
+
+#ifdef CONFIG_VIDEO_MXS
+int mxs_lcd_panel_setup(struct fb_videomode mode, int bpp,
+ uint32_t base_addr);
+#endif
+
+#endif /* __MXSFB_H__ */