aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/sa1100fb.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-14 05:56:06 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-21 06:56:19 -0500
commit9e6720fb0cfd6edda12b408a66f4ac88e8a82e32 (patch)
tree5f4cbef29c20e546da77aa4bc50283cf445d75dc /drivers/video/sa1100fb.h
parent531060fc1989a438fbc2c3198f5057c40121ff50 (diff)
FB: sa1100: move machine inf structures to <video/sa1100fb.h>
Move the LCD data structures to an include file which can be shared with the board code in arch/arm/mach-sa1100. Acked-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/video/sa1100fb.h')
-rw-r--r--drivers/video/sa1100fb.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/drivers/video/sa1100fb.h b/drivers/video/sa1100fb.h
index 77239b766e56..9ff9ba9a281a 100644
--- a/drivers/video/sa1100fb.h
+++ b/drivers/video/sa1100fb.h
@@ -10,48 +10,6 @@
10 * for more details. 10 * for more details.
11 */ 11 */
12 12
13#define RGB_4 0
14#define RGB_8 1
15#define RGB_16 2
16#define NR_RGB 3
17
18/* These are the bitfields for each display depth that we support. */
19struct sa1100fb_rgb {
20 struct fb_bitfield red;
21 struct fb_bitfield green;
22 struct fb_bitfield blue;
23 struct fb_bitfield transp;
24};
25
26/* This structure describes the machine which we are running on. */
27struct sa1100fb_mach_info {
28 u_long pixclock;
29
30 u_short xres;
31 u_short yres;
32
33 u_char bpp;
34 u_char hsync_len;
35 u_char left_margin;
36 u_char right_margin;
37
38 u_char vsync_len;
39 u_char upper_margin;
40 u_char lower_margin;
41 u_char sync;
42
43 u_int cmap_greyscale:1,
44 cmap_inverse:1,
45 cmap_static:1,
46 unused:29;
47
48 u_int lccr0;
49 u_int lccr3;
50
51 /* Overrides for the default RGB maps */
52 const struct sa1100fb_rgb *rgb[NR_RGB];
53};
54
55/* Shadows for LCD controller registers */ 13/* Shadows for LCD controller registers */
56struct sa1100fb_lcd_reg { 14struct sa1100fb_lcd_reg {
57 unsigned long lccr0; 15 unsigned long lccr0;