Skip to contentSkip to conversation

atmel_lcdfb: AT91/AT32 LCD Controller framebuffer driver

PATCH New Antonino A. Daplas 1 participant 1 message May 9, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/5 atmel_lcdfb: AT91/AT32 LCD Controller framebuffer driver

From: Nicolas Ferre <[email protected]>

Adds a framebuffer driver to ATMEL AT91SAM9x and AT32 aka AVR32 platforms. Those chips share quite the same IP and this code is suitable for both architectures.

---

 drivers/video/Kconfig       |   16 +
 drivers/video/Makefile      |    1 
 drivers/video/atmel_lcdfb.c |  752 +++++++++++++++++++++++++++++++++++++++++++
 include/video/atmel_lcdc.h  |  196 +++++++++++
 4 files changed, 965 insertions(+), 0 deletions(-)
drivers/video/Kconfig +16 -0
index 0788f23..6f31842 100644
@@ -747,6 +747,22 @@ config FB_S1D13XXX
 	  working with S1D13806). Product specs at
 	  <http://www.erd.epson.com/vdc/html/legacy_13xxx.htm>
 
+config FB_ATMEL
+	tristate "AT91/AT32 LCD Controller support"
+	depends on FB && (ARCH_AT91SAM9261 || ARCH_AT91SAM9263 || AVR32)
+	select FB_CFB_FILLRECT
+	select FB_CFB_COPYAREA
+	select FB_CFB_IMAGEBLIT
+	help
+	  This enables support for the AT91/AT32 LCD Controller.
+
+config FB_INTSRAM
+	bool "Frame Buffer in internal SRAM"
+	depends on FB_ATMEL && ARCH_AT91SAM9261
+	help
+	  Say Y if you want to map Frame Buffer in internal SRAM. Say N if you want
+	  to let frame buffer in external SDRAM.
+
 config FB_NVIDIA
 	tristate "nVidia Framebuffer Support"
 	depends on FB && PCI
drivers/video/Makefile +1 -0
index 0b70567..bd8b052 100644
@@ -87,6 +87,7 @@ obj-$(CONFIG_FB_G364)             += g36
 obj-$(CONFIG_FB_SA1100)           += sa1100fb.o
 obj-$(CONFIG_FB_HIT)              += hitfb.o
 obj-$(CONFIG_FB_EPSON1355)	  += epson1355fb.o
+obj-$(CONFIG_FB_ATMEL)		  += atmel_lcdfb.o
 obj-$(CONFIG_FB_PVR2)             += pvr2fb.o
 obj-$(CONFIG_FB_VOODOO1)          += sstfb.o
 obj-$(CONFIG_FB_ARMCLCD)	  += amba-clcd.o
drivers/video/atmel_lcdfb.c new file +752 -0

752 lines not on this page · raw message

include/video/atmel_lcdc.h new file +196 -0

196 lines not on this page · raw message

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/