1 /*******************************************************************
2 *Copyright (c) 2012 by Silicon Motion, Inc. (SMI)
3 *Permission is hereby granted, free of charge, to any person obtaining a copy
4 *of this software and associated documentation files (the "Software"), to deal
5 *in the Software without restriction, including without limitation the rights to
6 *use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7 *of the Software, and to permit persons to whom the Software is furnished to
8 *do so, subject to the following conditions:
10 *THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
11 *EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
12 *OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
13 *NONINFRINGEMENT. IN NO EVENT SHALL Mill.Chen and Monk.Liu OR COPYRIGHT
14 *HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
15 *WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
16 *FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
17 *OTHER DEALINGS IN THE SOFTWARE.
18 *******************************************************************/
19 static const struct fb_videomode modedb2
[] = {
21 /* 640x400 @ 70 Hz, 31.5 kHz hsync */
22 NULL
, 70, 640, 400, 39721, 40, 24, 39, 9, 96, 2,
23 0, FB_VMODE_NONINTERLACED
}, {
24 /* 640x480 @ 60 Hz, 31.5 kHz hsync */
25 NULL
, 60, 640, 480, 39721, 40, 24,
27 0, FB_VMODE_NONINTERLACED
}, {
28 /* 800x600 @ 56 Hz, 35.15 kHz hsync */
37 FB_VMODE_NONINTERLACED
},
39 /* 1024x768 @ 87 Hz interlaced, 35.5 kHz hsync */
40 NULL
, 87, 1024, 768, 22271, 56, 24, 33, 8, 160, 8,
41 0, FB_VMODE_INTERLACED
}, {
42 /* 640x400 @ 85 Hz, 37.86 kHz hsync */
43 NULL
, 85, 640, 400, 31746, 96, 32, 41,
45 FB_SYNC_VERT_HIGH_ACT
,
46 FB_VMODE_NONINTERLACED
}, {
47 /* 640x480 @ 72 Hz, 36.5 kHz hsync */
53 FB_VMODE_NONINTERLACED
},
55 /* 640x480 @ 75 Hz, 37.50 kHz hsync */
56 NULL
, 75, 640, 480, 31746, 120, 16, 16, 1, 64, 3,
57 0, FB_VMODE_NONINTERLACED
}, {
58 /* 800x600 @ 60 Hz, 37.8 kHz hsync */
59 NULL
, 60, 800, 600, 25000, 88, 40,
61 FB_SYNC_HOR_HIGH_ACT
|
62 FB_SYNC_VERT_HIGH_ACT
,
63 FB_VMODE_NONINTERLACED
}, {
64 /* 640x480 @ 85 Hz, 43.27 kHz hsync */
71 FB_VMODE_NONINTERLACED
},
73 /* 1152x864 @ 89 Hz interlaced, 44 kHz hsync */
74 NULL
, 69, 1152, 864, 15384, 96, 16, 110, 1, 216, 10,
75 0, FB_VMODE_INTERLACED
}, {
76 /* 800x600 @ 72 Hz, 48.0 kHz hsync */
77 NULL
, 72, 800, 600, 20000, 64, 56, 23,
79 FB_SYNC_HOR_HIGH_ACT
|
80 FB_SYNC_VERT_HIGH_ACT
,
81 FB_VMODE_NONINTERLACED
}, {
82 /* 1024x768 @ 60 Hz, 48.4 kHz hsync */
88 FB_VMODE_NONINTERLACED
},
90 /* 640x480 @ 100 Hz, 53.01 kHz hsync */
91 NULL
, 100, 640, 480, 21834, 96, 32, 36, 8, 96, 6,
92 0, FB_VMODE_NONINTERLACED
}, {
93 /* 1152x864 @ 60 Hz, 53.5 kHz hsync */
94 NULL
, 60, 1152, 864, 11123, 208, 64,
96 0, FB_VMODE_NONINTERLACED
}, {
97 /* 800x600 @ 85 Hz, 55.84 kHz hsync */
106 FB_VMODE_NONINTERLACED
},
108 /* 1024x768 @ 70 Hz, 56.5 kHz hsync */
109 NULL
, 70, 1024, 768, 13333, 144, 24, 29, 3, 136, 6,
110 0, FB_VMODE_NONINTERLACED
}, {
111 /* 1280x960-60 VESA */
112 NULL
, 60, 1280, 960, 9259, 312, 96,
114 FB_SYNC_HOR_HIGH_ACT
|
115 FB_SYNC_VERT_HIGH_ACT
,
116 FB_VMODE_NONINTERLACED
,
118 /* 1280x1024-60 VESA */
124 FB_SYNC_VERT_HIGH_ACT
,
125 FB_VMODE_NONINTERLACED
,
128 /* 1280x1024 @ 87 Hz interlaced, 51 kHz hsync */
129 NULL
, 87, 1280, 1024, 12500, 56, 16, 128, 1, 216, 12,
130 0, FB_VMODE_INTERLACED
}, {
131 /* 800x600 @ 100 Hz, 64.02 kHz hsync */
132 NULL
, 100, 800, 600, 14357, 160, 64, 30,
134 0, FB_VMODE_NONINTERLACED
}, {
135 /* 1024x768 @ 76 Hz, 62.5 kHz hsync */
142 FB_VMODE_NONINTERLACED
},
144 /* 1152x864 @ 70 Hz, 62.4 kHz hsync */
145 NULL
, 70, 1152, 864, 10869, 106, 56, 20, 1, 160, 10,
146 0, FB_VMODE_NONINTERLACED
}, {
147 /* 1280x1024 @ 61 Hz, 64.2 kHz hsync */
148 NULL
, 61, 1280, 1024, 9090, 200, 48,
150 0, FB_VMODE_NONINTERLACED
}, {
151 /* 1400x1050 @ 60Hz, 63.9 kHz hsync */
161 FB_VMODE_NONINTERLACED
},
163 /* 1400x1050 @ 75,107 Hz, 82,392 kHz +hsync +vsync */
164 NULL
, 75, 1400, 1050, 9271, 120, 56, 13, 0, 112, 3,
165 FB_SYNC_HOR_HIGH_ACT
| FB_SYNC_VERT_HIGH_ACT
,
166 FB_VMODE_NONINTERLACED
}, {
167 /* 1400x1050 @ 60 Hz, ? kHz +hsync +vsync */
168 NULL
, 60, 1400, 1050, 9259, 128, 40, 12,
170 FB_SYNC_HOR_HIGH_ACT
|
171 FB_SYNC_VERT_HIGH_ACT
,
172 FB_VMODE_NONINTERLACED
}, {
173 /* 1024x768 @ 85 Hz, 70.24 kHz hsync */
180 FB_VMODE_NONINTERLACED
},
182 /* 1152x864 @ 78 Hz, 70.8 kHz hsync */
183 NULL
, 78, 1152, 864, 9090, 228, 88, 32, 0, 84, 12,
184 0, FB_VMODE_NONINTERLACED
}, {
185 /* 1280x1024 @ 70 Hz, 74.59 kHz hsync */
186 NULL
, 70, 1280, 1024, 7905, 224, 32,
188 0, FB_VMODE_NONINTERLACED
}, {
189 /* 1600x1200 @ 60Hz, 75.00 kHz hsync */
200 FB_SYNC_VERT_HIGH_ACT
,
201 FB_VMODE_NONINTERLACED
},
203 /* 1152x864 @ 84 Hz, 76.0 kHz hsync */
204 NULL
, 84, 1152, 864, 7407, 184, 312, 32, 0, 128, 12,
205 0, FB_VMODE_NONINTERLACED
}, {
206 /* 1280x1024 @ 74 Hz, 78.85 kHz hsync */
207 NULL
, 74, 1280, 1024, 7407, 256, 32,
209 0, FB_VMODE_NONINTERLACED
}, {
210 /* 1024x768 @ 100Hz, 80.21 kHz hsync */
220 FB_VMODE_NONINTERLACED
},
222 /* 1280x1024 @ 76 Hz, 81.13 kHz hsync */
223 NULL
, 76, 1280, 1024, 7407, 248, 32, 34, 3, 104, 3,
224 0, FB_VMODE_NONINTERLACED
}, {
225 /* 1600x1200 @ 70 Hz, 87.50 kHz hsync */
226 NULL
, 70, 1600, 1200, 5291, 304, 64,
228 0, FB_VMODE_NONINTERLACED
}, {
229 /* 1152x864 @ 100 Hz, 89.62 kHz hsync */
239 FB_VMODE_NONINTERLACED
},
241 /* 1280x1024 @ 85 Hz, 91.15 kHz hsync */
242 NULL
, 85, 1280, 1024, 6349, 224, 64, 44, 1, 160, 3,
243 FB_SYNC_HOR_HIGH_ACT
| FB_SYNC_VERT_HIGH_ACT
,
244 FB_VMODE_NONINTERLACED
}, {
245 /* 1600x1200 @ 75 Hz, 93.75 kHz hsync */
246 NULL
, 75, 1600, 1200, 4938, 304, 64, 46,
248 FB_SYNC_HOR_HIGH_ACT
|
249 FB_SYNC_VERT_HIGH_ACT
,
250 FB_VMODE_NONINTERLACED
}, {
251 /* 1600x1200 @ 85 Hz, 105.77 kHz hsync */
258 FB_SYNC_VERT_HIGH_ACT
,
259 FB_VMODE_NONINTERLACED
},
261 /* 1280x1024 @ 100 Hz, 107.16 kHz hsync */
262 NULL
, 100, 1280, 1024, 5502, 256, 32, 26, 7, 128, 15,
263 0, FB_VMODE_NONINTERLACED
}, {
264 /* 1800x1440 @ 64Hz, 96.15 kHz hsync */
265 NULL
, 64, 1800, 1440, 4347, 304, 96,
267 FB_SYNC_HOR_HIGH_ACT
|
268 FB_SYNC_VERT_HIGH_ACT
,
269 FB_VMODE_NONINTERLACED
}, {
270 /* 1800x1440 @ 70Hz, 104.52 kHz hsync */
278 FB_SYNC_VERT_HIGH_ACT
,
279 FB_VMODE_NONINTERLACED
},
281 /* 512x384 @ 78 Hz, 31.50 kHz hsync */
282 NULL
, 78, 512, 384, 49603, 48, 16, 16, 1, 64, 3,
283 0, FB_VMODE_NONINTERLACED
}, {
284 /* 512x384 @ 85 Hz, 34.38 kHz hsync */
285 NULL
, 85, 512, 384, 45454, 48, 16,
287 0, FB_VMODE_NONINTERLACED
}, {
288 /* 320x200 @ 70 Hz, 31.5 kHz hsync, 8:5 aspect ratio */
299 /* 320x240 @ 60 Hz, 31.5 kHz hsync, 4:3 aspect ratio */
300 NULL
, 60, 320, 240, 79440, 16, 16, 16, 5, 48, 1,
301 0, FB_VMODE_DOUBLE
}, {
302 /* 320x240 @ 72 Hz, 36.5 kHz hsync */
303 NULL
, 72, 320, 240, 63492, 16, 16, 16, 4,
305 0, FB_VMODE_DOUBLE
}, {
306 /* 400x300 @ 56 Hz, 35.2 kHz hsync, 4:3 aspect ratio */
308 55555, 64, 16, 10, 1,
310 0, FB_VMODE_DOUBLE
}, {
311 /* 400x300 @ 60 Hz, 37.8 kHz hsync */
326 /* 400x300 @ 72 Hz, 48.0 kHz hsync */
327 NULL
, 72, 400, 300, 40000, 32, 24, 11, 19, 64, 3,
328 0, FB_VMODE_DOUBLE
}, {
329 /* 480x300 @ 56 Hz, 35.2 kHz hsync, 8:5 aspect ratio */
330 NULL
, 56, 480, 300, 46176, 80, 16, 10, 1,
332 0, FB_VMODE_DOUBLE
}, {
333 /* 480x300 @ 60 Hz, 37.8 kHz hsync */
335 41858, 56, 16, 11, 1,
337 0, FB_VMODE_DOUBLE
}, {
338 /* 480x300 @ 63 Hz, 39.6 kHz hsync */
353 /* 480x300 @ 72 Hz, 48.0 kHz hsync */
354 NULL
, 72, 480, 300, 33386, 40, 24, 11, 19, 80, 3,
357 static const int nmodedb2
= sizeof(modedb2
);