Skip to contentSkip to conversation

Add i.MX5 framebuffer driver

PATCH New weitway at gmail.com 1 participant 1 message Apr 25, 2011 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 3/9 Add i.MX5 framebuffer driver

From: Jason Chen <[email protected]>

This patch adds framebuffer support to the Freescale i.MX SoCs equipped with an IPU v3, so far these are the i.MX51/53.

This driver has been tested on the i.MX51 babbage board with both DVI and analog VGA in different resolutions and color depths. It has also been tested on a custom i.MX51 board using a fixed resolution panel.

On i.MX53, it has been tested on the i.MX51 loco board with WVGA LCD panel.

---
 drivers/video/Kconfig  |   11 +
 drivers/video/Makefile |    1 +
 drivers/video/mx5fb.c  |  952 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 964 insertions(+), 0 deletions(-)
drivers/video/Kconfig +11 -0
index ef502b8..ab92938 100644
@@ -2297,6 +2297,17 @@ config FB_MX3
 	  far only synchronous displays are supported. If you plan to use
 	  an LCD display with your i.MX31 system, say Y here.
 
+config FB_MX5
+	tristate "MX5 Framebuffer support"
+	depends on FB && FB_IMX_IPU_V3
+	select FB_CFB_FILLRECT
+	select FB_CFB_COPYAREA
+	select FB_CFB_IMAGEBLIT
+	select FB_MODE_HELPERS
+	help
+	  This is a framebuffer device for the i.MX5 LCD Controller. If you
+	  plan to use an LCD display with your i.MX5 system, say Y here.
+
 config FB_BROADSHEET
 	tristate "E-Ink Broadsheet/Epson S1D13521 controller support"
 	depends on FB
drivers/video/Makefile +1 -0
index d40faf5..554b051 100644
@@ -153,6 +153,7 @@ obj-$(CONFIG_FB_BFIN_LQ035Q1)     += bfin-lq035q1-fb.o
 obj-$(CONFIG_FB_BFIN_T350MCQB)	  += bfin-t350mcqb-fb.o
 obj-$(CONFIG_FB_BFIN_7393)        += bfin_adv7393fb.o
 obj-$(CONFIG_FB_MX3)		  += mx3fb.o
+obj-$(CONFIG_FB_MX5)		  += mx5fb.o
 obj-$(CONFIG_FB_DA8XX)		  += da8xx-fb.o
 obj-$(CONFIG_FB_MXS)		  += mxsfb.o
 obj-$(CONFIG_FB_IMX_IPU_V3)	  += imx-ipu-v3/
drivers/video/mx5fb.c new file +952 -0

952 lines not on this page · raw message

Signature · 1 line
1.7.1