diff options
author | eric miao <eric.miao@marvell.com> | 2008-04-30 03:52:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:31 -0400 |
commit | 0454bd09de7380aac464c09018e6a533f7247b0d (patch) | |
tree | 64e9016c788357f081cb93066c85761c78a7f85b /arch/arm | |
parent | 84f43c308b73a6a12128288721a1007ba4f1a8da (diff) |
pxafb: make lubbock/mainstone/zylonite/littleton to use new LCD connection type
Signed-off-by: eric miao <eric.miao@marvell.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-pxa/littleton.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-pxa/lubbock.c | 4 | ||||
-rw-r--r-- | arch/arm/mach-pxa/mainstone.c | 3 | ||||
-rw-r--r-- | arch/arm/mach-pxa/zylonite.c | 6 |
4 files changed, 6 insertions, 10 deletions
diff --git a/arch/arm/mach-pxa/littleton.c b/arch/arm/mach-pxa/littleton.c index 03396063b561..530654474bb2 100644 --- a/arch/arm/mach-pxa/littleton.c +++ b/arch/arm/mach-pxa/littleton.c | |||
@@ -301,8 +301,7 @@ static struct pxafb_mode_info tpo_tdo24mtea1_modes[] = { | |||
301 | static struct pxafb_mach_info littleton_lcd_info = { | 301 | static struct pxafb_mach_info littleton_lcd_info = { |
302 | .modes = tpo_tdo24mtea1_modes, | 302 | .modes = tpo_tdo24mtea1_modes, |
303 | .num_modes = 2, | 303 | .num_modes = 2, |
304 | .lccr0 = LCCR0_Act, | 304 | .lcd_conn = LCD_COLOR_TFT_16BPP, |
305 | .lccr3 = LCCR3_HSP | LCCR3_VSP, | ||
306 | .pxafb_lcd_power = littleton_lcd_power, | 305 | .pxafb_lcd_power = littleton_lcd_power, |
307 | }; | 306 | }; |
308 | 307 | ||
diff --git a/arch/arm/mach-pxa/lubbock.c b/arch/arm/mach-pxa/lubbock.c index ca209c443f34..0993f4d1a0bc 100644 --- a/arch/arm/mach-pxa/lubbock.c +++ b/arch/arm/mach-pxa/lubbock.c | |||
@@ -395,8 +395,8 @@ static struct pxafb_mach_info sharp_lm8v31 = { | |||
395 | .num_modes = 1, | 395 | .num_modes = 1, |
396 | .cmap_inverse = 0, | 396 | .cmap_inverse = 0, |
397 | .cmap_static = 0, | 397 | .cmap_static = 0, |
398 | .lccr0 = LCCR0_SDS, | 398 | .lcd_conn = LCD_COLOR_DSTN_16BPP | LCD_PCLK_EDGE_FALL | |
399 | .lccr3 = LCCR3_PCP | LCCR3_Acb(255), | 399 | LCD_AC_BIAS_FREQ(255); |
400 | }; | 400 | }; |
401 | 401 | ||
402 | #define MMC_POLL_RATE msecs_to_jiffies(1000) | 402 | #define MMC_POLL_RATE msecs_to_jiffies(1000) |
diff --git a/arch/arm/mach-pxa/mainstone.c b/arch/arm/mach-pxa/mainstone.c index 18d47cfa2a18..7399fb34da4e 100644 --- a/arch/arm/mach-pxa/mainstone.c +++ b/arch/arm/mach-pxa/mainstone.c | |||
@@ -434,8 +434,7 @@ static struct pxafb_mode_info toshiba_ltm035a776c_mode = { | |||
434 | 434 | ||
435 | static struct pxafb_mach_info mainstone_pxafb_info = { | 435 | static struct pxafb_mach_info mainstone_pxafb_info = { |
436 | .num_modes = 1, | 436 | .num_modes = 1, |
437 | .lccr0 = LCCR0_Act, | 437 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL, |
438 | .lccr3 = LCCR3_PCP, | ||
439 | }; | 438 | }; |
440 | 439 | ||
441 | static int mainstone_mci_init(struct device *dev, irq_handler_t mstone_detect_int, void *data) | 440 | static int mainstone_mci_init(struct device *dev, irq_handler_t mstone_detect_int, void *data) |
diff --git a/arch/arm/mach-pxa/zylonite.c b/arch/arm/mach-pxa/zylonite.c index dbb546216be1..4a0028087ea6 100644 --- a/arch/arm/mach-pxa/zylonite.c +++ b/arch/arm/mach-pxa/zylonite.c | |||
@@ -97,8 +97,7 @@ static struct pxafb_mode_info toshiba_ltm04c380k_mode = { | |||
97 | 97 | ||
98 | static struct pxafb_mach_info zylonite_toshiba_lcd_info = { | 98 | static struct pxafb_mach_info zylonite_toshiba_lcd_info = { |
99 | .num_modes = 1, | 99 | .num_modes = 1, |
100 | .lccr0 = LCCR0_Act, | 100 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL, |
101 | .lccr3 = LCCR3_PCP, | ||
102 | .pxafb_backlight_power = zylonite_backlight_power, | 101 | .pxafb_backlight_power = zylonite_backlight_power, |
103 | }; | 102 | }; |
104 | 103 | ||
@@ -134,8 +133,7 @@ static struct pxafb_mode_info sharp_ls037_modes[] = { | |||
134 | static struct pxafb_mach_info zylonite_sharp_lcd_info = { | 133 | static struct pxafb_mach_info zylonite_sharp_lcd_info = { |
135 | .modes = sharp_ls037_modes, | 134 | .modes = sharp_ls037_modes, |
136 | .num_modes = 2, | 135 | .num_modes = 2, |
137 | .lccr0 = LCCR0_Act, | 136 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_PCLK_EDGE_FALL, |
138 | .lccr3 = LCCR3_PCP | LCCR3_HSP | LCCR3_VSP, | ||
139 | .pxafb_backlight_power = zylonite_backlight_power, | 137 | .pxafb_backlight_power = zylonite_backlight_power, |
140 | }; | 138 | }; |
141 | 139 | ||