diff options
author | Eric Miao <eric.miao@marvell.com> | 2008-08-08 02:17:57 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-09-26 18:43:21 -0400 |
commit | bea95d2a1295684d5e6c2754616eb7f5941c5a34 (patch) | |
tree | 9954dd1f99f9fcaa58b6fec1f233c447866fe0e7 /arch/arm/mach-pxa/idp.c | |
parent | 399ba6268b6ecf6466c7b223a3f1982c53b6870e (diff) |
[ARM] pxa/idp: make use of "lcd_conn", add LCD pin configurations
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Cc: Cliff Brake <cliff.brake@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/idp.c')
-rw-r--r-- | arch/arm/mach-pxa/idp.c | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/arch/arm/mach-pxa/idp.c b/arch/arm/mach-pxa/idp.c index 7289363be47f..cbb14deea1a4 100644 --- a/arch/arm/mach-pxa/idp.c +++ b/arch/arm/mach-pxa/idp.c | |||
@@ -47,6 +47,27 @@ | |||
47 | */ | 47 | */ |
48 | 48 | ||
49 | static unsigned long idp_pin_config[] __initdata = { | 49 | static unsigned long idp_pin_config[] __initdata = { |
50 | /* LCD */ | ||
51 | GPIO58_LCD_LDD_0, | ||
52 | GPIO59_LCD_LDD_1, | ||
53 | GPIO60_LCD_LDD_2, | ||
54 | GPIO61_LCD_LDD_3, | ||
55 | GPIO62_LCD_LDD_4, | ||
56 | GPIO63_LCD_LDD_5, | ||
57 | GPIO64_LCD_LDD_6, | ||
58 | GPIO65_LCD_LDD_7, | ||
59 | GPIO66_LCD_LDD_8, | ||
60 | GPIO67_LCD_LDD_9, | ||
61 | GPIO68_LCD_LDD_10, | ||
62 | GPIO69_LCD_LDD_11, | ||
63 | GPIO70_LCD_LDD_12, | ||
64 | GPIO71_LCD_LDD_13, | ||
65 | GPIO72_LCD_LDD_14, | ||
66 | GPIO73_LCD_LDD_15, | ||
67 | GPIO74_LCD_FCLK, | ||
68 | GPIO75_LCD_LCLK, | ||
69 | GPIO76_LCD_PCLK, | ||
70 | |||
50 | /* BTUART */ | 71 | /* BTUART */ |
51 | GPIO42_BTUART_RXD, | 72 | GPIO42_BTUART_RXD, |
52 | GPIO43_BTUART_TXD, | 73 | GPIO43_BTUART_TXD, |
@@ -141,8 +162,8 @@ static struct pxafb_mach_info sharp_lm8v31 = { | |||
141 | .num_modes = 1, | 162 | .num_modes = 1, |
142 | .cmap_inverse = 0, | 163 | .cmap_inverse = 0, |
143 | .cmap_static = 0, | 164 | .cmap_static = 0, |
144 | .lccr0 = LCCR0_SDS, | 165 | .lcd_conn = LCD_COLOR_DSTN_16BPP | LCD_PCLK_EDGE_FALL | |
145 | .lccr3 = LCCR3_PCP | LCCR3_Acb(255), | 166 | LCD_AC_BIAS_FREQ(255), |
146 | .pxafb_backlight_power = &idp_backlight_power, | 167 | .pxafb_backlight_power = &idp_backlight_power, |
147 | .pxafb_lcd_power = &idp_lcd_power | 168 | .pxafb_lcd_power = &idp_lcd_power |
148 | }; | 169 | }; |