diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-09-11 03:59:23 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-26 18:43:22 -0400 |
commit | 0219e835815be36abacd293d356cbf53480b5644 (patch) | |
tree | 7b888f74610c9d99fedf3507f82e991267a4399c /arch/arm/mach-pxa | |
parent | fd90ff200012db86cb96294e2992edf15ec313b3 (diff) |
[ARM] pxa/lpd270: use new .lcd_conn to specify LCD info
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r-- | arch/arm/mach-pxa/lpd270.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/arch/arm/mach-pxa/lpd270.c b/arch/arm/mach-pxa/lpd270.c index 8ada6b0f4fb5..7b158e5248ad 100644 --- a/arch/arm/mach-pxa/lpd270.c +++ b/arch/arm/mach-pxa/lpd270.c | |||
@@ -302,8 +302,8 @@ static struct pxafb_mode_info sharp_lq057q3dc02_mode = { | |||
302 | static struct pxafb_mach_info sharp_lq057q3dc02 = { | 302 | static struct pxafb_mach_info sharp_lq057q3dc02 = { |
303 | .modes = &sharp_lq057q3dc02_mode, | 303 | .modes = &sharp_lq057q3dc02_mode, |
304 | .num_modes = 1, | 304 | .num_modes = 1, |
305 | .lccr0 = 0x07800080, | 305 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL | |
306 | .lccr3 = 0x00400000, | 306 | LCD_ALTERNATE_MAPPING, |
307 | }; | 307 | }; |
308 | 308 | ||
309 | /* 12.1" TFT SVGA (LoLo display number 2) */ | 309 | /* 12.1" TFT SVGA (LoLo display number 2) */ |
@@ -324,8 +324,8 @@ static struct pxafb_mode_info sharp_lq121s1dg31_mode = { | |||
324 | static struct pxafb_mach_info sharp_lq121s1dg31 = { | 324 | static struct pxafb_mach_info sharp_lq121s1dg31 = { |
325 | .modes = &sharp_lq121s1dg31_mode, | 325 | .modes = &sharp_lq121s1dg31_mode, |
326 | .num_modes = 1, | 326 | .num_modes = 1, |
327 | .lccr0 = 0x07800080, | 327 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL | |
328 | .lccr3 = 0x00400000, | 328 | LCD_ALTERNATE_MAPPING, |
329 | }; | 329 | }; |
330 | 330 | ||
331 | /* 3.6" TFT QVGA (LoLo display number 3) */ | 331 | /* 3.6" TFT QVGA (LoLo display number 3) */ |
@@ -346,8 +346,8 @@ static struct pxafb_mode_info sharp_lq036q1da01_mode = { | |||
346 | static struct pxafb_mach_info sharp_lq036q1da01 = { | 346 | static struct pxafb_mach_info sharp_lq036q1da01 = { |
347 | .modes = &sharp_lq036q1da01_mode, | 347 | .modes = &sharp_lq036q1da01_mode, |
348 | .num_modes = 1, | 348 | .num_modes = 1, |
349 | .lccr0 = 0x07800080, | 349 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL | |
350 | .lccr3 = 0x00400000, | 350 | LCD_ALTERNATE_MAPPING, |
351 | }; | 351 | }; |
352 | 352 | ||
353 | /* 6.4" TFT VGA (LoLo display number 5) */ | 353 | /* 6.4" TFT VGA (LoLo display number 5) */ |
@@ -368,8 +368,8 @@ static struct pxafb_mode_info sharp_lq64d343_mode = { | |||
368 | static struct pxafb_mach_info sharp_lq64d343 = { | 368 | static struct pxafb_mach_info sharp_lq64d343 = { |
369 | .modes = &sharp_lq64d343_mode, | 369 | .modes = &sharp_lq64d343_mode, |
370 | .num_modes = 1, | 370 | .num_modes = 1, |
371 | .lccr0 = 0x07800080, | 371 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL | |
372 | .lccr3 = 0x00400000, | 372 | LCD_ALTERNATE_MAPPING, |
373 | }; | 373 | }; |
374 | 374 | ||
375 | /* 10.4" TFT VGA (LoLo display number 7) */ | 375 | /* 10.4" TFT VGA (LoLo display number 7) */ |
@@ -390,8 +390,8 @@ static struct pxafb_mode_info sharp_lq10d368_mode = { | |||
390 | static struct pxafb_mach_info sharp_lq10d368 = { | 390 | static struct pxafb_mach_info sharp_lq10d368 = { |
391 | .modes = &sharp_lq10d368_mode, | 391 | .modes = &sharp_lq10d368_mode, |
392 | .num_modes = 1, | 392 | .num_modes = 1, |
393 | .lccr0 = 0x07800080, | 393 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL | |
394 | .lccr3 = 0x00400000, | 394 | LCD_ALTERNATE_MAPPING, |
395 | }; | 395 | }; |
396 | 396 | ||
397 | /* 3.5" TFT QVGA (LoLo display number 8) */ | 397 | /* 3.5" TFT QVGA (LoLo display number 8) */ |
@@ -412,8 +412,8 @@ static struct pxafb_mode_info sharp_lq035q7db02_20_mode = { | |||
412 | static struct pxafb_mach_info sharp_lq035q7db02_20 = { | 412 | static struct pxafb_mach_info sharp_lq035q7db02_20 = { |
413 | .modes = &sharp_lq035q7db02_20_mode, | 413 | .modes = &sharp_lq035q7db02_20_mode, |
414 | .num_modes = 1, | 414 | .num_modes = 1, |
415 | .lccr0 = 0x07800080, | 415 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL | |
416 | .lccr3 = 0x00400000, | 416 | LCD_ALTERNATE_MAPPING, |
417 | }; | 417 | }; |
418 | 418 | ||
419 | static struct pxafb_mach_info *lpd270_lcd_to_use; | 419 | static struct pxafb_mach_info *lpd270_lcd_to_use; |