diff options
Diffstat (limited to 'arch/arm/mach-pxa/palmtc.c')
-rw-r--r-- | arch/arm/mach-pxa/palmtc.c | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/arch/arm/mach-pxa/palmtc.c b/arch/arm/mach-pxa/palmtc.c index 0b92291a58f6..717d7a638675 100644 --- a/arch/arm/mach-pxa/palmtc.c +++ b/arch/arm/mach-pxa/palmtc.c | |||
@@ -84,26 +84,7 @@ static unsigned long palmtc_pin_config[] __initdata = { | |||
84 | GPIO36_GPIO, /* pullup */ | 84 | GPIO36_GPIO, /* pullup */ |
85 | 85 | ||
86 | /* LCD */ | 86 | /* LCD */ |
87 | GPIO58_LCD_LDD_0, | 87 | GPIOxx_LCD_TFT_16BPP, |
88 | GPIO59_LCD_LDD_1, | ||
89 | GPIO60_LCD_LDD_2, | ||
90 | GPIO61_LCD_LDD_3, | ||
91 | GPIO62_LCD_LDD_4, | ||
92 | GPIO63_LCD_LDD_5, | ||
93 | GPIO64_LCD_LDD_6, | ||
94 | GPIO65_LCD_LDD_7, | ||
95 | GPIO66_LCD_LDD_8, | ||
96 | GPIO67_LCD_LDD_9, | ||
97 | GPIO68_LCD_LDD_10, | ||
98 | GPIO69_LCD_LDD_11, | ||
99 | GPIO70_LCD_LDD_12, | ||
100 | GPIO71_LCD_LDD_13, | ||
101 | GPIO72_LCD_LDD_14, | ||
102 | GPIO73_LCD_LDD_15, | ||
103 | GPIO74_LCD_FCLK, | ||
104 | GPIO75_LCD_LCLK, | ||
105 | GPIO76_LCD_PCLK, | ||
106 | GPIO77_LCD_BIAS, | ||
107 | 88 | ||
108 | /* MATRIX KEYPAD */ | 89 | /* MATRIX KEYPAD */ |
109 | GPIO0_GPIO | WAKEUP_ON_EDGE_BOTH, /* in 0 */ | 90 | GPIO0_GPIO | WAKEUP_ON_EDGE_BOTH, /* in 0 */ |
@@ -185,7 +166,7 @@ err: | |||
185 | return ret; | 166 | return ret; |
186 | } | 167 | } |
187 | 168 | ||
188 | static int palmtc_backlight_notify(int brightness) | 169 | static int palmtc_backlight_notify(struct device *dev, int brightness) |
189 | { | 170 | { |
190 | /* backlight is on when GPIO16 AF0 is high */ | 171 | /* backlight is on when GPIO16 AF0 is high */ |
191 | gpio_set_value(GPIO_NR_PALMTC_BL_POWER, brightness); | 172 | gpio_set_value(GPIO_NR_PALMTC_BL_POWER, brightness); |
@@ -416,6 +397,11 @@ static void __init palmtc_init(void) | |||
416 | { | 397 | { |
417 | pxa2xx_mfp_config(ARRAY_AND_SIZE(palmtc_pin_config)); | 398 | pxa2xx_mfp_config(ARRAY_AND_SIZE(palmtc_pin_config)); |
418 | 399 | ||
400 | pxa_set_ffuart_info(NULL); | ||
401 | pxa_set_btuart_info(NULL); | ||
402 | pxa_set_stuart_info(NULL); | ||
403 | pxa_set_hwuart_info(NULL); | ||
404 | |||
419 | set_pxa_fb_info(&palmtc_lcd_screen); | 405 | set_pxa_fb_info(&palmtc_lcd_screen); |
420 | pxa_set_mci_info(&palmtc_mci_platform_data); | 406 | pxa_set_mci_info(&palmtc_mci_platform_data); |
421 | pxa_set_udc_info(&palmtc_udc_info); | 407 | pxa_set_udc_info(&palmtc_udc_info); |