summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWang Huan <b18965@freescale.com>2014-09-05 13:52:48 +0800
committerYork Sun <yorksun@freescale.com>2014-09-08 10:30:35 -0700
commit327def5060d03648801b8c92b3235b0c9426af47 (patch)
tree97d6b9a3e747699c86a6d268ab7cfa07bc0668ac /include
parent6209e14cb026c20614c388020eb74b8972a16747 (diff)
downloadu-boot-imx-327def5060d03648801b8c92b3235b0c9426af47.zip
u-boot-imx-327def5060d03648801b8c92b3235b0c9426af47.tar.gz
u-boot-imx-327def5060d03648801b8c92b3235b0c9426af47.tar.bz2
video: dcu: Add DCU driver support
This patch is to add DCU driver support. DCU also named 2D-ACE(Two Dimensional Animation and Compositing Engine) is a system master that fetches graphics stored in internal or external memory and displays them on a TFT LCD panel. Signed-off-by: Alison Wang <alison.wang@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/fsl_dcu_fb.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/fsl_dcu_fb.h b/include/fsl_dcu_fb.h
new file mode 100644
index 0000000..4263298
--- /dev/null
+++ b/include/fsl_dcu_fb.h
@@ -0,0 +1,16 @@
+/*
+ * Copyright 2014 Freescale Semiconductor, Inc.
+ *
+ * FSL DCU Framebuffer driver
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+#include <linux/fb.h>
+
+int fsl_dcu_init(unsigned int xres, unsigned int yres,
+ unsigned int pixel_format);
+
+/* Prototypes for external board-specific functions */
+int platform_dcu_init(unsigned int xres, unsigned int yres,
+ const char *port, struct fb_videomode *dcu_fb_videomode);
+unsigned int dcu_set_pixel_clock(unsigned int pixclock);