diff options
Diffstat (limited to 'arch/arm/mach-pxa/palmtx.c')
-rw-r--r-- | arch/arm/mach-pxa/palmtx.c | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/arch/arm/mach-pxa/palmtx.c b/arch/arm/mach-pxa/palmtx.c index 76a2b37eaf30..007b58c11f8d 100644 --- a/arch/arm/mach-pxa/palmtx.c +++ b/arch/arm/mach-pxa/palmtx.c | |||
@@ -110,26 +110,7 @@ static unsigned long palmtx_pin_config[] __initdata = { | |||
110 | GPIO105_KP_MKOUT_2, | 110 | GPIO105_KP_MKOUT_2, |
111 | 111 | ||
112 | /* LCD */ | 112 | /* LCD */ |
113 | GPIO58_LCD_LDD_0, | 113 | GPIOxx_LCD_TFT_16BPP, |
114 | GPIO59_LCD_LDD_1, | ||
115 | GPIO60_LCD_LDD_2, | ||
116 | GPIO61_LCD_LDD_3, | ||
117 | GPIO62_LCD_LDD_4, | ||
118 | GPIO63_LCD_LDD_5, | ||
119 | GPIO64_LCD_LDD_6, | ||
120 | GPIO65_LCD_LDD_7, | ||
121 | GPIO66_LCD_LDD_8, | ||
122 | GPIO67_LCD_LDD_9, | ||
123 | GPIO68_LCD_LDD_10, | ||
124 | GPIO69_LCD_LDD_11, | ||
125 | GPIO70_LCD_LDD_12, | ||
126 | GPIO71_LCD_LDD_13, | ||
127 | GPIO72_LCD_LDD_14, | ||
128 | GPIO73_LCD_LDD_15, | ||
129 | GPIO74_LCD_FCLK, | ||
130 | GPIO75_LCD_LCLK, | ||
131 | GPIO76_LCD_PCLK, | ||
132 | GPIO77_LCD_BIAS, | ||
133 | 114 | ||
134 | /* FFUART */ | 115 | /* FFUART */ |
135 | GPIO34_FFUART_RXD, | 116 | GPIO34_FFUART_RXD, |
@@ -269,7 +250,7 @@ err: | |||
269 | return ret; | 250 | return ret; |
270 | } | 251 | } |
271 | 252 | ||
272 | static int palmtx_backlight_notify(int brightness) | 253 | static int palmtx_backlight_notify(struct device *dev, int brightness) |
273 | { | 254 | { |
274 | gpio_set_value(GPIO_NR_PALMTX_BL_POWER, brightness); | 255 | gpio_set_value(GPIO_NR_PALMTX_BL_POWER, brightness); |
275 | gpio_set_value(GPIO_NR_PALMTX_LCD_POWER, brightness); | 256 | gpio_set_value(GPIO_NR_PALMTX_LCD_POWER, brightness); |
@@ -570,6 +551,10 @@ static void __init palmtx_init(void) | |||
570 | { | 551 | { |
571 | pxa2xx_mfp_config(ARRAY_AND_SIZE(palmtx_pin_config)); | 552 | pxa2xx_mfp_config(ARRAY_AND_SIZE(palmtx_pin_config)); |
572 | 553 | ||
554 | pxa_set_ffuart_info(NULL); | ||
555 | pxa_set_btuart_info(NULL); | ||
556 | pxa_set_stuart_info(NULL); | ||
557 | |||
573 | palmtx_pm_init(); | 558 | palmtx_pm_init(); |
574 | set_pxa_fb_info(&palmtx_lcd_screen); | 559 | set_pxa_fb_info(&palmtx_lcd_screen); |
575 | pxa_set_mci_info(&palmtx_mci_platform_data); | 560 | pxa_set_mci_info(&palmtx_mci_platform_data); |