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/palmld.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/palmld.c')
-rw-r--r-- | arch/arm/mach-pxa/palmld.c | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/arch/arm/mach-pxa/palmld.c b/arch/arm/mach-pxa/palmld.c index 1ad029dd4438..f70c75b38769 100644 --- a/arch/arm/mach-pxa/palmld.c +++ b/arch/arm/mach-pxa/palmld.c | |||
@@ -83,26 +83,7 @@ static unsigned long palmld_pin_config[] __initdata = { | |||
83 | GPIO105_KP_MKOUT_2, | 83 | GPIO105_KP_MKOUT_2, |
84 | 84 | ||
85 | /* LCD */ | 85 | /* LCD */ |
86 | GPIO58_LCD_LDD_0, | 86 | GPIOxx_LCD_TFT_16BPP, |
87 | GPIO59_LCD_LDD_1, | ||
88 | GPIO60_LCD_LDD_2, | ||
89 | GPIO61_LCD_LDD_3, | ||
90 | GPIO62_LCD_LDD_4, | ||
91 | GPIO63_LCD_LDD_5, | ||
92 | GPIO64_LCD_LDD_6, | ||
93 | GPIO65_LCD_LDD_7, | ||
94 | GPIO66_LCD_LDD_8, | ||
95 | GPIO67_LCD_LDD_9, | ||
96 | GPIO68_LCD_LDD_10, | ||
97 | GPIO69_LCD_LDD_11, | ||
98 | GPIO70_LCD_LDD_12, | ||
99 | GPIO71_LCD_LDD_13, | ||
100 | GPIO72_LCD_LDD_14, | ||
101 | GPIO73_LCD_LDD_15, | ||
102 | GPIO74_LCD_FCLK, | ||
103 | GPIO75_LCD_LCLK, | ||
104 | GPIO76_LCD_PCLK, | ||
105 | GPIO77_LCD_BIAS, | ||
106 | 87 | ||
107 | /* PWM */ | 88 | /* PWM */ |
108 | GPIO16_PWM0_OUT, | 89 | GPIO16_PWM0_OUT, |
@@ -270,7 +251,7 @@ err: | |||
270 | return ret; | 251 | return ret; |
271 | } | 252 | } |
272 | 253 | ||
273 | static int palmld_backlight_notify(int brightness) | 254 | static int palmld_backlight_notify(struct device *dev, int brightness) |
274 | { | 255 | { |
275 | gpio_set_value(GPIO_NR_PALMLD_BL_POWER, brightness); | 256 | gpio_set_value(GPIO_NR_PALMLD_BL_POWER, brightness); |
276 | gpio_set_value(GPIO_NR_PALMLD_LCD_POWER, brightness); | 257 | gpio_set_value(GPIO_NR_PALMLD_LCD_POWER, brightness); |
@@ -530,6 +511,10 @@ static void __init palmld_init(void) | |||
530 | { | 511 | { |
531 | pxa2xx_mfp_config(ARRAY_AND_SIZE(palmld_pin_config)); | 512 | pxa2xx_mfp_config(ARRAY_AND_SIZE(palmld_pin_config)); |
532 | 513 | ||
514 | pxa_set_ffuart_info(NULL); | ||
515 | pxa_set_btuart_info(NULL); | ||
516 | pxa_set_stuart_info(NULL); | ||
517 | |||
533 | palmld_pm_init(); | 518 | palmld_pm_init(); |
534 | set_pxa_fb_info(&palmld_lcd_screen); | 519 | set_pxa_fb_info(&palmld_lcd_screen); |
535 | pxa_set_mci_info(&palmld_mci_platform_data); | 520 | pxa_set_mci_info(&palmld_mci_platform_data); |