diff options
Diffstat (limited to 'arch/arm/mach-pxa/balloon3.c')
| -rw-r--r-- | arch/arm/mach-pxa/balloon3.c | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/arch/arm/mach-pxa/balloon3.c b/arch/arm/mach-pxa/balloon3.c index b8cd07ca9380..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 | }; |
| @@ -311,8 +300,10 @@ static void __init balloon3_init(void) | |||
| 311 | pxa_set_stuart_info(NULL); | 300 | pxa_set_stuart_info(NULL); |
| 312 | 301 | ||
| 313 | pxa_set_i2c_info(NULL); | 302 | pxa_set_i2c_info(NULL); |
| 314 | if (balloon3_has(BALLOON3_FEATURE_AUDIO)) | 303 | if (balloon3_has(BALLOON3_FEATURE_AUDIO)) { |
| 304 | pxa2xx_mfp_config(ARRAY_AND_SIZE(balloon3_ac97_pin_config)); | ||
| 315 | pxa_set_ac97_info(NULL); | 305 | pxa_set_ac97_info(NULL); |
| 306 | } | ||
| 316 | 307 | ||
| 317 | if (balloon3_has(BALLOON3_FEATURE_TOPPOLY)) { | 308 | if (balloon3_has(BALLOON3_FEATURE_TOPPOLY)) { |
| 318 | pxa2xx_mfp_config(ARRAY_AND_SIZE(balloon3_lcd_pin_config)); | 309 | pxa2xx_mfp_config(ARRAY_AND_SIZE(balloon3_lcd_pin_config)); |
