diff options
Diffstat (limited to 'include/video/da8xx-fb.h')
-rw-r--r-- | include/video/da8xx-fb.h | 25 |
1 files changed, 4 insertions, 21 deletions
diff --git a/include/video/da8xx-fb.h b/include/video/da8xx-fb.h index 5a0e4f9efb53..f88825928dd1 100644 --- a/include/video/da8xx-fb.h +++ b/include/video/da8xx-fb.h | |||
@@ -12,10 +12,6 @@ | |||
12 | #ifndef DA8XX_FB_H | 12 | #ifndef DA8XX_FB_H |
13 | #define DA8XX_FB_H | 13 | #define DA8XX_FB_H |
14 | 14 | ||
15 | enum panel_type { | ||
16 | QVGA = 0 | ||
17 | }; | ||
18 | |||
19 | enum panel_shade { | 15 | enum panel_shade { |
20 | MONOCHROME = 0, | 16 | MONOCHROME = 0, |
21 | COLOR_ACTIVE, | 17 | COLOR_ACTIVE, |
@@ -27,13 +23,6 @@ enum raster_load_mode { | |||
27 | LOAD_PALETTE, | 23 | LOAD_PALETTE, |
28 | }; | 24 | }; |
29 | 25 | ||
30 | struct display_panel { | ||
31 | enum panel_type panel_type; /* QVGA */ | ||
32 | int max_bpp; | ||
33 | int min_bpp; | ||
34 | enum panel_shade panel_shade; | ||
35 | }; | ||
36 | |||
37 | struct da8xx_lcdc_platform_data { | 26 | struct da8xx_lcdc_platform_data { |
38 | const char manu_name[10]; | 27 | const char manu_name[10]; |
39 | void *controller_data; | 28 | void *controller_data; |
@@ -42,7 +31,7 @@ struct da8xx_lcdc_platform_data { | |||
42 | }; | 31 | }; |
43 | 32 | ||
44 | struct lcd_ctrl_config { | 33 | struct lcd_ctrl_config { |
45 | const struct display_panel *p_disp_panel; | 34 | enum panel_shade panel_shade; |
46 | 35 | ||
47 | /* AC Bias Pin Frequency */ | 36 | /* AC Bias Pin Frequency */ |
48 | int ac_bias; | 37 | int ac_bias; |
@@ -68,18 +57,9 @@ struct lcd_ctrl_config { | |||
68 | /* Mono 8-bit Mode: 1=D0-D7 or 0=D0-D3 */ | 57 | /* Mono 8-bit Mode: 1=D0-D7 or 0=D0-D3 */ |
69 | unsigned char mono_8bit_mode; | 58 | unsigned char mono_8bit_mode; |
70 | 59 | ||
71 | /* Invert line clock */ | ||
72 | unsigned char invert_line_clock; | ||
73 | |||
74 | /* Invert frame clock */ | ||
75 | unsigned char invert_frm_clock; | ||
76 | |||
77 | /* Horizontal and Vertical Sync Edge: 0=rising 1=falling */ | 60 | /* Horizontal and Vertical Sync Edge: 0=rising 1=falling */ |
78 | unsigned char sync_edge; | 61 | unsigned char sync_edge; |
79 | 62 | ||
80 | /* Horizontal and Vertical Sync: Control: 0=ignore */ | ||
81 | unsigned char sync_ctrl; | ||
82 | |||
83 | /* Raster Data Order Select: 1=Most-to-least 0=Least-to-most */ | 63 | /* Raster Data Order Select: 1=Most-to-least 0=Least-to-most */ |
84 | unsigned char raster_order; | 64 | unsigned char raster_order; |
85 | 65 | ||
@@ -103,5 +83,8 @@ struct lcd_sync_arg { | |||
103 | #define FBIPUT_HSYNC _IOW('F', 9, int) | 83 | #define FBIPUT_HSYNC _IOW('F', 9, int) |
104 | #define FBIPUT_VSYNC _IOW('F', 10, int) | 84 | #define FBIPUT_VSYNC _IOW('F', 10, int) |
105 | 85 | ||
86 | /* Proprietary FB_SYNC_ flags */ | ||
87 | #define FB_SYNC_CLK_INVERT 0x40000000 | ||
88 | |||
106 | #endif /* ifndef DA8XX_FB_H */ | 89 | #endif /* ifndef DA8XX_FB_H */ |
107 | 90 | ||