diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /arch/arm/mach-pxa/balloon3.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'arch/arm/mach-pxa/balloon3.c')
-rw-r--r-- | arch/arm/mach-pxa/balloon3.c | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/arch/arm/mach-pxa/balloon3.c b/arch/arm/mach-pxa/balloon3.c index f23138b8fca3..f3b5ace815e5 100644 --- a/arch/arm/mach-pxa/balloon3.c +++ b/arch/arm/mach-pxa/balloon3.c | |||
@@ -132,6 +132,14 @@ static void __init balloon3_init_irq(void) | |||
132 | "enabled\n", __func__, BALLOON3_AUX_NIRQ); | 132 | "enabled\n", __func__, BALLOON3_AUX_NIRQ); |
133 | } | 133 | } |
134 | 134 | ||
135 | static unsigned long balloon3_ac97_pin_config[] = { | ||
136 | GPIO28_AC97_BITCLK, | ||
137 | GPIO29_AC97_SDATA_IN_0, | ||
138 | GPIO30_AC97_SDATA_OUT, | ||
139 | GPIO31_AC97_SYNC, | ||
140 | GPIO113_AC97_nRESET, | ||
141 | }; | ||
142 | |||
135 | static void balloon3_backlight_power(int on) | 143 | static void balloon3_backlight_power(int on) |
136 | { | 144 | { |
137 | pr_debug("%s: power is %s\n", __func__, on ? "on" : "off"); | 145 | pr_debug("%s: power is %s\n", __func__, on ? "on" : "off"); |
@@ -140,26 +148,7 @@ static void balloon3_backlight_power(int on) | |||
140 | 148 | ||
141 | static unsigned long balloon3_lcd_pin_config[] = { | 149 | static unsigned long balloon3_lcd_pin_config[] = { |
142 | /* LCD - 16bpp Active TFT */ | 150 | /* LCD - 16bpp Active TFT */ |
143 | GPIO58_LCD_LDD_0, | 151 | GPIOxx_LCD_TFT_16BPP, |
144 | GPIO59_LCD_LDD_1, | ||
145 | GPIO60_LCD_LDD_2, | ||
146 | GPIO61_LCD_LDD_3, | ||
147 | GPIO62_LCD_LDD_4, | ||
148 | GPIO63_LCD_LDD_5, | ||
149 | GPIO64_LCD_LDD_6, | ||
150 | GPIO65_LCD_LDD_7, | ||
151 | GPIO66_LCD_LDD_8, | ||
152 | GPIO67_LCD_LDD_9, | ||
153 | GPIO68_LCD_LDD_10, | ||
154 | GPIO69_LCD_LDD_11, | ||
155 | GPIO70_LCD_LDD_12, | ||
156 | GPIO71_LCD_LDD_13, | ||
157 | GPIO72_LCD_LDD_14, | ||
158 | GPIO73_LCD_LDD_15, | ||
159 | GPIO74_LCD_FCLK, | ||
160 | GPIO75_LCD_LCLK, | ||
161 | GPIO76_LCD_PCLK, | ||
162 | GPIO77_LCD_BIAS, | ||
163 | 152 | ||
164 | GPIO99_GPIO, /* Backlight */ | 153 | GPIO99_GPIO, /* Backlight */ |
165 | }; | 154 | }; |
@@ -306,9 +295,15 @@ static void __init balloon3_init(void) | |||
306 | */ | 295 | */ |
307 | ARB_CNTRL = ARB_CORE_PARK | 0x234; | 296 | ARB_CNTRL = ARB_CORE_PARK | 0x234; |
308 | 297 | ||
298 | pxa_set_ffuart_info(NULL); | ||
299 | pxa_set_btuart_info(NULL); | ||
300 | pxa_set_stuart_info(NULL); | ||
301 | |||
309 | pxa_set_i2c_info(NULL); | 302 | pxa_set_i2c_info(NULL); |
310 | if (balloon3_has(BALLOON3_FEATURE_AUDIO)) | 303 | if (balloon3_has(BALLOON3_FEATURE_AUDIO)) { |
304 | pxa2xx_mfp_config(ARRAY_AND_SIZE(balloon3_ac97_pin_config)); | ||
311 | pxa_set_ac97_info(NULL); | 305 | pxa_set_ac97_info(NULL); |
306 | } | ||
312 | 307 | ||
313 | if (balloon3_has(BALLOON3_FEATURE_TOPPOLY)) { | 308 | if (balloon3_has(BALLOON3_FEATURE_TOPPOLY)) { |
314 | pxa2xx_mfp_config(ARRAY_AND_SIZE(balloon3_lcd_pin_config)); | 309 | pxa2xx_mfp_config(ARRAY_AND_SIZE(balloon3_lcd_pin_config)); |