summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-06-12 19:47:27 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 14:43:24 +0800
commita31dcdafb0963381e7213c59f79a340ef27ec2e2 (patch)
tree1432885a159c451c092d2360a551a16d7b738e68 /include
parent92295fafcdbaa3a3fe0a63ede15f896dfc9ce0b0 (diff)
downloadu-boot-imx-a31dcdafb0963381e7213c59f79a340ef27ec2e2.zip
u-boot-imx-a31dcdafb0963381e7213c59f79a340ef27ec2e2.tar.gz
u-boot-imx-a31dcdafb0963381e7213c59f79a340ef27ec2e2.tar.bz2
ENGR00315894-81 gis: Add gis module
Add gis module, current gis is support vadc input. Add power down function to lcdif driver. Signed-off-by: Sandor Yu <R01008@freescale.com> Signed-off-by: Ye.Li <B37916@freescale.com> (cherry picked from commit a007b00dd8ef9f773dfdebef0b1deb0990281793) Conflicts: drivers/video/Makefile
Diffstat (limited to 'include')
-rw-r--r--include/gis.h19
-rw-r--r--include/mxsfb.h10
2 files changed, 29 insertions, 0 deletions
diff --git a/include/gis.h b/include/gis.h
new file mode 100644
index 0000000..e156743
--- /dev/null
+++ b/include/gis.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2014 Freescale Semiconductor, Inc. All Rights Reserved.
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#ifndef GIS_H
+#define GIS_H
+
+#define FMT_YUV444 0
+#define FMT_YUYV 1
+#define FMT_UYVY 2
+#define FMT_RGB565 3
+#define FMT_RGB888 4
+
+void mxc_enable_gis(void);
+void mxc_disable_gis(void);
+
+#endif
diff --git a/include/mxsfb.h b/include/mxsfb.h
index a4e27a8..ddea7aa 100644
--- a/include/mxsfb.h
+++ b/include/mxsfb.h
@@ -8,6 +8,16 @@
#define __MXSFB_H__
#ifdef CONFIG_VIDEO_MXS
+struct display_panel {
+ unsigned int reg_base;
+ unsigned int width;
+ unsigned int height;
+ unsigned int gdfindex;
+ unsigned int gdfbytespp;
+};
+
+void mxs_lcd_get_panel(struct display_panel *panel);
+void lcdif_power_down(void);
int mxs_lcd_panel_setup(struct fb_videomode mode, int bpp,
uint32_t base_addr);
#endif