xilinxfb: Xilinx framebuffer device driver
Subsystems (2)
PATCH 20/20 xilinxfb: Xilinx framebuffer device driver
From: Andrei Konovalov <[email protected]>
Add support for the video controller IP block included into Xilinx ML300 and ML403 reference designs.
Signed-off-by Andrei Konovalov <[email protected]>
Signed-off-by Antonino Daplas <[email protected]>
---
arch/ppc/syslib/virtex_devices.h | 7 + drivers/video/Kconfig | 11 + drivers/video/Makefile | 1 drivers/video/xilinxfb.c | 381 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 400 insertions(+), 0 deletions(-)
arch/ppc/syslib/virtex_devices.h +7 -0
@@ -13,6 +13,13 @@ #define __ASM_VIRTEX_DEVICES_H__#include <linux/platform_device.h> +/* ML300/403 reference design framebuffer driver platform data struct */ +struct xilinxfb_platform_data { +u32 rotate_screen; +u32 screen_height_mm; +u32 screen_width_mm; +}; +void __init virtex_early_serial_map (void );/* Prototype for device fixup routine. Implement this routine in the
drivers/video/Kconfig +11 -0
@@ -1757,6 +1757,17 @@ config FB_PS3_DEFAULT_SIZE_M The default value can be overridden on the kernel command line using the "ps3fb" option (e.g. "ps3fb=9M"); +config FB_XILINX + tristate "Xilinx frame buffer support" + depends on FB && XILINX_VIRTEX + select FB_CFB_FILLRECT + select FB_CFB_COPYAREA + select FB_CFB_IMAGEBLIT + ---help--- + Include support for the Xilinx ML300/ML403 reference design + framebuffer. ML300 carries a 640*480 LCD display on the board, + ML403 uses a standard DB15 VGA connector. + config FB_VIRTUAL tristate "Virtual Frame Buffer support (ONLY FOR TESTING!)" depends on FB
drivers/video/Makefile +1 -0
@@ -109,6 +109,7 @@ obj-$(CONFIG_FB_PNX4008_DUM_RGB) += pnx obj-$(CONFIG_FB_IBM_GXT4500) += gxt4500.o obj-$(CONFIG_FB_PS3) += ps3fb.o obj-$(CONFIG_FB_SM501) += sm501fb.o +obj-$(CONFIG_FB_XILINX) += xilinxfb.o # Platform or fallback drivers go here obj-$(CONFIG_FB_VESA) += vesafb.o
drivers/video/xilinxfb.c new file +381 -0
381 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/