2 * drivers/video/tx3912fb.h
4 * Copyright (C) 2001 Steven Hill (sjhill@realitydiluted.com)
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file COPYING in the main directory of this archive for
10 * Includes for TMPR3912/05 and PR31700 LCD controller registers
12 #include <linux/config.h>
15 * Begin platform specific configurations
17 #if defined(CONFIG_NINO_4MB) || defined(CONFIG_NINO_8MB)
20 #if defined(CONFIG_FBCON_CFB4)
23 #if defined(CONFIG_FBCON_CFB2)
30 #define FB_IS_INVERSE 0
33 #ifdef CONFIG_NINO_16MB
38 #define FB_IS_INVERSE 0
42 * Define virtual resolutions if necessary
44 #ifndef FB_X_VIRTUAL_RES
45 #define FB_X_VIRTUAL_RES FB_X_RES
47 #ifndef FB_Y_VIRTUAL_RES
48 #define FB_Y_VIRTUAL_RES FB_Y_RES
52 * Framebuffer address and size
54 u_long tx3912fb_paddr = 0;
55 u_long tx3912fb_vaddr = 0;
56 u_long tx3912fb_size = (FB_X_RES * FB_Y_RES * FB_BPP / 8);
59 * Framebuffer info structure
61 static struct fb_var_screeninfo tx3912fb_info = {
63 FB_X_VIRTUAL_RES, FB_Y_VIRTUAL_RES,
66 {0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0},
69 64, 64, 32, 32, 64, 2,
70 0, FB_VMODE_NONINTERLACED,
77 static char TX3912FB_NAME[16] = "tx3912fb";