diff options
Diffstat (limited to 'arch/arm/mach-pxa/lpd270.c')
-rw-r--r-- | arch/arm/mach-pxa/lpd270.c | 42 |
1 files changed, 36 insertions, 6 deletions
diff --git a/arch/arm/mach-pxa/lpd270.c b/arch/arm/mach-pxa/lpd270.c index 12479ae26db2..eff2a91b2565 100644 --- a/arch/arm/mach-pxa/lpd270.c +++ b/arch/arm/mach-pxa/lpd270.c | |||
@@ -248,7 +248,7 @@ static void lpd270_backlight_power(int on) | |||
248 | } | 248 | } |
249 | 249 | ||
250 | /* 5.7" TFT QVGA (LoLo display number 1) */ | 250 | /* 5.7" TFT QVGA (LoLo display number 1) */ |
251 | static struct pxafb_mach_info sharp_lq057q3dc02 __initdata = { | 251 | static struct pxafb_mode_info sharp_lq057q3dc02_mode = { |
252 | .pixclock = 150000, | 252 | .pixclock = 150000, |
253 | .xres = 320, | 253 | .xres = 320, |
254 | .yres = 240, | 254 | .yres = 240, |
@@ -260,13 +260,18 @@ static struct pxafb_mach_info sharp_lq057q3dc02 __initdata = { | |||
260 | .upper_margin = 0x08, | 260 | .upper_margin = 0x08, |
261 | .lower_margin = 0x14, | 261 | .lower_margin = 0x14, |
262 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | 262 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, |
263 | }; | ||
264 | |||
265 | static struct pxafb_mach_info sharp_lq057q3dc02 = { | ||
266 | .modes = &sharp_lq057q3dc02_mode, | ||
267 | .num_modes = 1, | ||
263 | .lccr0 = 0x07800080, | 268 | .lccr0 = 0x07800080, |
264 | .lccr3 = 0x00400000, | 269 | .lccr3 = 0x00400000, |
265 | .pxafb_backlight_power = lpd270_backlight_power, | 270 | .pxafb_backlight_power = lpd270_backlight_power, |
266 | }; | 271 | }; |
267 | 272 | ||
268 | /* 12.1" TFT SVGA (LoLo display number 2) */ | 273 | /* 12.1" TFT SVGA (LoLo display number 2) */ |
269 | static struct pxafb_mach_info sharp_lq121s1dg31 __initdata = { | 274 | static struct pxafb_mode_info sharp_lq121s1dg31_mode = { |
270 | .pixclock = 50000, | 275 | .pixclock = 50000, |
271 | .xres = 800, | 276 | .xres = 800, |
272 | .yres = 600, | 277 | .yres = 600, |
@@ -278,13 +283,18 @@ static struct pxafb_mach_info sharp_lq121s1dg31 __initdata = { | |||
278 | .upper_margin = 0x14, | 283 | .upper_margin = 0x14, |
279 | .lower_margin = 0x0a, | 284 | .lower_margin = 0x0a, |
280 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | 285 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, |
286 | }; | ||
287 | |||
288 | static struct pxafb_mach_info sharp_lq121s1dg31 = { | ||
289 | .modes = &sharp_lq121s1dg31_mode, | ||
290 | .num_modes = 1, | ||
281 | .lccr0 = 0x07800080, | 291 | .lccr0 = 0x07800080, |
282 | .lccr3 = 0x00400000, | 292 | .lccr3 = 0x00400000, |
283 | .pxafb_backlight_power = lpd270_backlight_power, | 293 | .pxafb_backlight_power = lpd270_backlight_power, |
284 | }; | 294 | }; |
285 | 295 | ||
286 | /* 3.6" TFT QVGA (LoLo display number 3) */ | 296 | /* 3.6" TFT QVGA (LoLo display number 3) */ |
287 | static struct pxafb_mach_info sharp_lq036q1da01 __initdata = { | 297 | static struct pxafb_mode_info sharp_lq036q1da01_mode = { |
288 | .pixclock = 150000, | 298 | .pixclock = 150000, |
289 | .xres = 320, | 299 | .xres = 320, |
290 | .yres = 240, | 300 | .yres = 240, |
@@ -296,13 +306,18 @@ static struct pxafb_mach_info sharp_lq036q1da01 __initdata = { | |||
296 | .upper_margin = 0x03, | 306 | .upper_margin = 0x03, |
297 | .lower_margin = 0x03, | 307 | .lower_margin = 0x03, |
298 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | 308 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, |
309 | }; | ||
310 | |||
311 | static struct pxafb_mach_info sharp_lq036q1da01 = { | ||
312 | .modes = &sharp_lq036q1da01_mode, | ||
313 | .num_modes = 1, | ||
299 | .lccr0 = 0x07800080, | 314 | .lccr0 = 0x07800080, |
300 | .lccr3 = 0x00400000, | 315 | .lccr3 = 0x00400000, |
301 | .pxafb_backlight_power = lpd270_backlight_power, | 316 | .pxafb_backlight_power = lpd270_backlight_power, |
302 | }; | 317 | }; |
303 | 318 | ||
304 | /* 6.4" TFT VGA (LoLo display number 5) */ | 319 | /* 6.4" TFT VGA (LoLo display number 5) */ |
305 | static struct pxafb_mach_info sharp_lq64d343 __initdata = { | 320 | static struct pxafb_mode_info sharp_lq64d343_mode = { |
306 | .pixclock = 25000, | 321 | .pixclock = 25000, |
307 | .xres = 640, | 322 | .xres = 640, |
308 | .yres = 480, | 323 | .yres = 480, |
@@ -314,13 +329,18 @@ static struct pxafb_mach_info sharp_lq64d343 __initdata = { | |||
314 | .upper_margin = 0x22, | 329 | .upper_margin = 0x22, |
315 | .lower_margin = 0x00, | 330 | .lower_margin = 0x00, |
316 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | 331 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, |
332 | }; | ||
333 | |||
334 | static struct pxafb_mach_info sharp_lq64d343 = { | ||
335 | .modes = &sharp_lq64d343_mode, | ||
336 | .num_modes = 1, | ||
317 | .lccr0 = 0x07800080, | 337 | .lccr0 = 0x07800080, |
318 | .lccr3 = 0x00400000, | 338 | .lccr3 = 0x00400000, |
319 | .pxafb_backlight_power = lpd270_backlight_power, | 339 | .pxafb_backlight_power = lpd270_backlight_power, |
320 | }; | 340 | }; |
321 | 341 | ||
322 | /* 10.4" TFT VGA (LoLo display number 7) */ | 342 | /* 10.4" TFT VGA (LoLo display number 7) */ |
323 | static struct pxafb_mach_info sharp_lq10d368 __initdata = { | 343 | static struct pxafb_mode_info sharp_lq10d368_mode = { |
324 | .pixclock = 25000, | 344 | .pixclock = 25000, |
325 | .xres = 640, | 345 | .xres = 640, |
326 | .yres = 480, | 346 | .yres = 480, |
@@ -332,13 +352,18 @@ static struct pxafb_mach_info sharp_lq10d368 __initdata = { | |||
332 | .upper_margin = 0x22, | 352 | .upper_margin = 0x22, |
333 | .lower_margin = 0x00, | 353 | .lower_margin = 0x00, |
334 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | 354 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, |
355 | }; | ||
356 | |||
357 | static struct pxafb_mach_info sharp_lq10d368 = { | ||
358 | .modes = &sharp_lq10d368_mode, | ||
359 | .num_modes = 1, | ||
335 | .lccr0 = 0x07800080, | 360 | .lccr0 = 0x07800080, |
336 | .lccr3 = 0x00400000, | 361 | .lccr3 = 0x00400000, |
337 | .pxafb_backlight_power = lpd270_backlight_power, | 362 | .pxafb_backlight_power = lpd270_backlight_power, |
338 | }; | 363 | }; |
339 | 364 | ||
340 | /* 3.5" TFT QVGA (LoLo display number 8) */ | 365 | /* 3.5" TFT QVGA (LoLo display number 8) */ |
341 | static struct pxafb_mach_info sharp_lq035q7db02_20 __initdata = { | 366 | static struct pxafb_mode_info sharp_lq035q7db02_20_mode = { |
342 | .pixclock = 150000, | 367 | .pixclock = 150000, |
343 | .xres = 240, | 368 | .xres = 240, |
344 | .yres = 320, | 369 | .yres = 320, |
@@ -350,6 +375,11 @@ static struct pxafb_mach_info sharp_lq035q7db02_20 __initdata = { | |||
350 | .upper_margin = 0x05, | 375 | .upper_margin = 0x05, |
351 | .lower_margin = 0x14, | 376 | .lower_margin = 0x14, |
352 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, | 377 | .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT, |
378 | }; | ||
379 | |||
380 | static struct pxafb_mach_info sharp_lq035q7db02_20 = { | ||
381 | .modes = &sharp_lq035q7db02_20_mode, | ||
382 | .num_modes = 1, | ||
353 | .lccr0 = 0x07800080, | 383 | .lccr0 = 0x07800080, |
354 | .lccr3 = 0x00400000, | 384 | .lccr3 = 0x00400000, |
355 | .pxafb_backlight_power = lpd270_backlight_power, | 385 | .pxafb_backlight_power = lpd270_backlight_power, |