Skip to contentSkip to conversation

Xilinx TFT interface driver

PATCH In review Peter 'p2' De Schrijver 2 participants 2 messages Sep 4, 2002 – Sep 5, 2002

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

PATCH 1/1 Xilinx TFT interface driver

Hi,

Attached you will find a patch implementing a Linux framebuffer driver for the Xilinx TFT interface. It was tested on a Xilinx Virtex2Pro implementation.

Comments welcome,

Peter.

drivers/video/Config.in +6 -1
diff -urN -x CVS -x config -x modules -x mtd -x jffs2 -x jffs linuxppc_2_4_clean/drivers/video/Config.in linuxppc_2_4_xseg2.new.clean2/drivers/video/Config.in
@@ -216,6 +216,10 @@
    if [ "$CONFIG_NINO" = "y" ]; then
       bool '  TMPTX3912/PR31700 frame buffer support' CONFIG_FB_TX3912
    fi
+
+   if [ "$CONFIG_XSEG2" = "y" ]; then
+   	  bool '  Xilinx TFT core framebuffer support' CONFIG_FB_XILINX_TFT
+   fi
    if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
       tristate '  Virtual Frame Buffer support (ONLY FOR TESTING!)' CONFIG_FB_VIRTUAL
    fi
@@ -377,7 +381,8 @@
 	   "$CONFIG_FB_FM2" = "y" -o "$CONFIG_FB_SGIVW" = "y" -o \
 	   "$CONFIG_FB_RADEON" = "y" -o "$CONFIG_FB_PVR2" = "y" -o \
 	   "$CONFIG_FB_3DFX" = "y" -o "$CONFIG_FB_SIS" = "y" -o \
-	   "$CONFIG_FB_VOODOO1" = "y" -o "$CONFIG_FB_CYBER2000" = "y" ]; then
+	   "$CONFIG_FB_VOODOO1" = "y" -o "$CONFIG_FB_CYBER2000" = "y" -o \
+	   "$CONFIG_FB_XILINX_TFT" = "y" ]; then
 	 define_tristate CONFIG_FBCON_CFB32 y
       else
 	 if [ "$CONFIG_FB_ATARI" = "m" -o "$CONFIG_FB_ATY" = "m" -o \
drivers/video/Makefile +1 -1
diff -urN -x CVS -x config -x modules -x mtd -x jffs2 -x jffs linuxppc_2_4_clean/drivers/video/Makefile linuxppc_2_4_xseg2.new.clean2/drivers/video/Makefile
@@ -89,7 +89,7 @@
 obj-$(CONFIG_FB_MAXINE)           += maxinefb.o
 obj-$(CONFIG_FB_TX3912)           += tx3912fb.o
 obj-$(CONFIG_FB_RPX)              += rpxfb.o
-
+obj-$(CONFIG_FB_XILINX_TFT)       += xilinx_tft.o
 
 subdir-$(CONFIG_FB_MATROX)	  += matrox
 ifeq ($(CONFIG_FB_MATROX),y)
drivers/video/fbmem.c +5 -0
diff -urN -x CVS -x config -x modules -x mtd -x jffs2 -x jffs linuxppc_2_4_clean/drivers/video/fbmem.c linuxppc_2_4_xseg2.new.clean2/drivers/video/fbmem.c
@@ -136,6 +136,7 @@
 extern int pvr2fb_setup(char*);
 extern int sstfb_init(void);
 extern int sstfb_setup(char*);
+extern int xtftfb_init(void);
 
 static struct {
 	const char *name;
@@ -227,6 +228,10 @@
 #ifdef CONFIG_FB_VOODOO1
 	{ "sst", sstfb_init, sstfb_setup },
 #endif
+#ifdef CONFIG_FB_XILINX_TFT
+     { "xilinxtft", xtftfb_init, NULL },
+#endif
+
 
 	/*
 	 * Generic drivers that are used as fallbacks
drivers/video/xilinx_tft.c +286 -0

286 lines not on this page · raw message

#1 lore raw

Peter,

all the devices for which you posted patches are supported in the linuxppc_2_4_devel tree for more than a month. The tree contains device drivers/support for the following Xilinx devices

- Interrupt Controller
- 10/100 Mbit Ethernet
- PS2 port (mouse/keyboard)
- Uart (actually, the standare Linux Uart driver)
- TFT
- GPIO
- IIC

More drivers will be added soon.

- Peter

Quoted 6 lines · Peter 'p2' De Schrijver wrote:

Hi,

Attached you will find a patch implementing a Linux framebuffer driver for the Xilinx TFT interface. It was tested on a Xilinx Virtex2Pro implementation.

Quoted 8 lines

Comments welcome,

Peter.

------------------------------------------------------------------------

xtft-patchName: xtft-patch
Type: Plain Text (text/plain)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/