diff options
Diffstat (limited to 'arch/arm/mach-pxa/cm-x2xx.c')
-rw-r--r-- | arch/arm/mach-pxa/cm-x2xx.c | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/arch/arm/mach-pxa/cm-x2xx.c b/arch/arm/mach-pxa/cm-x2xx.c index 0b3ce3b6d896..d99fd9e4d888 100644 --- a/arch/arm/mach-pxa/cm-x2xx.c +++ b/arch/arm/mach-pxa/cm-x2xx.c | |||
@@ -210,10 +210,8 @@ static struct pxafb_mode_info generic_stn_320x240_mode = { | |||
210 | static struct pxafb_mach_info generic_stn_320x240 = { | 210 | static struct pxafb_mach_info generic_stn_320x240 = { |
211 | .modes = &generic_stn_320x240_mode, | 211 | .modes = &generic_stn_320x240_mode, |
212 | .num_modes = 1, | 212 | .num_modes = 1, |
213 | .lccr0 = 0, | 213 | .lcd_conn = LCD_COLOR_STN_8BPP | LCD_PCLK_EDGE_FALL |\ |
214 | .lccr3 = (LCCR3_PixClkDiv(0x03) | | 214 | LCD_AC_BIAS_FREQ(0xff), |
215 | LCCR3_Acb(0xff) | | ||
216 | LCCR3_PCP), | ||
217 | .cmap_inverse = 0, | 215 | .cmap_inverse = 0, |
218 | .cmap_static = 0, | 216 | .cmap_static = 0, |
219 | }; | 217 | }; |
@@ -236,10 +234,8 @@ static struct pxafb_mode_info generic_tft_640x480_mode = { | |||
236 | static struct pxafb_mach_info generic_tft_640x480 = { | 234 | static struct pxafb_mach_info generic_tft_640x480 = { |
237 | .modes = &generic_tft_640x480_mode, | 235 | .modes = &generic_tft_640x480_mode, |
238 | .num_modes = 1, | 236 | .num_modes = 1, |
239 | .lccr0 = (LCCR0_PAS), | 237 | .lcd_conn = LCD_COLOR_TFT_8BPP | LCD_PCLK_EDGE_FALL |\ |
240 | .lccr3 = (LCCR3_PixClkDiv(0x01) | | 238 | LCD_AC_BIAS_FREQ(0xff), |
241 | LCCR3_Acb(0xff) | | ||
242 | LCCR3_PCP), | ||
243 | .cmap_inverse = 0, | 239 | .cmap_inverse = 0, |
244 | .cmap_static = 0, | 240 | .cmap_static = 0, |
245 | }; | 241 | }; |
@@ -263,9 +259,7 @@ static struct pxafb_mode_info generic_crt_640x480_mode = { | |||
263 | static struct pxafb_mach_info generic_crt_640x480 = { | 259 | static struct pxafb_mach_info generic_crt_640x480 = { |
264 | .modes = &generic_crt_640x480_mode, | 260 | .modes = &generic_crt_640x480_mode, |
265 | .num_modes = 1, | 261 | .num_modes = 1, |
266 | .lccr0 = (LCCR0_PAS), | 262 | .lcd_conn = LCD_COLOR_TFT_8BPP | LCD_AC_BIAS_FREQ(0xff), |
267 | .lccr3 = (LCCR3_PixClkDiv(0x01) | | ||
268 | LCCR3_Acb(0xff)), | ||
269 | .cmap_inverse = 0, | 263 | .cmap_inverse = 0, |
270 | .cmap_static = 0, | 264 | .cmap_static = 0, |
271 | }; | 265 | }; |
@@ -289,9 +283,7 @@ static struct pxafb_mode_info generic_crt_800x600_mode = { | |||
289 | static struct pxafb_mach_info generic_crt_800x600 = { | 283 | static struct pxafb_mach_info generic_crt_800x600 = { |
290 | .modes = &generic_crt_800x600_mode, | 284 | .modes = &generic_crt_800x600_mode, |
291 | .num_modes = 1, | 285 | .num_modes = 1, |
292 | .lccr0 = (LCCR0_PAS), | 286 | .lcd_conn = LCD_COLOR_TFT_8BPP | LCD_AC_BIAS_FREQ(0xff), |
293 | .lccr3 = (LCCR3_PixClkDiv(0x02) | | ||
294 | LCCR3_Acb(0xff)), | ||
295 | .cmap_inverse = 0, | 287 | .cmap_inverse = 0, |
296 | .cmap_static = 0, | 288 | .cmap_static = 0, |
297 | }; | 289 | }; |
@@ -314,10 +306,7 @@ static struct pxafb_mode_info generic_tft_320x240_mode = { | |||
314 | static struct pxafb_mach_info generic_tft_320x240 = { | 306 | static struct pxafb_mach_info generic_tft_320x240 = { |
315 | .modes = &generic_tft_320x240_mode, | 307 | .modes = &generic_tft_320x240_mode, |
316 | .num_modes = 1, | 308 | .num_modes = 1, |
317 | .lccr0 = (LCCR0_PAS), | 309 | .lcd_conn = LCD_COLOR_TFT_16BPP | LCD_AC_BIAS_FREQ(0xff), |
318 | .lccr3 = (LCCR3_PixClkDiv(0x06) | | ||
319 | LCCR3_Acb(0xff) | | ||
320 | LCCR3_PCP), | ||
321 | .cmap_inverse = 0, | 310 | .cmap_inverse = 0, |
322 | .cmap_static = 0, | 311 | .cmap_static = 0, |
323 | }; | 312 | }; |
@@ -341,9 +330,7 @@ static struct pxafb_mode_info generic_stn_640x480_mode = { | |||
341 | static struct pxafb_mach_info generic_stn_640x480 = { | 330 | static struct pxafb_mach_info generic_stn_640x480 = { |
342 | .modes = &generic_stn_640x480_mode, | 331 | .modes = &generic_stn_640x480_mode, |
343 | .num_modes = 1, | 332 | .num_modes = 1, |
344 | .lccr0 = 0, | 333 | .lcd_conn = LCD_COLOR_STN_8BPP | LCD_AC_BIAS_FREQ(0xff), |
345 | .lccr3 = (LCCR3_PixClkDiv(0x02) | | ||
346 | LCCR3_Acb(0xff)), | ||
347 | .cmap_inverse = 0, | 334 | .cmap_inverse = 0, |
348 | .cmap_static = 0, | 335 | .cmap_static = 0, |
349 | }; | 336 | }; |