diff options
author | Archit Taneja <archit@ti.com> | 2012-06-21 00:11:10 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-06-29 03:10:03 -0400 |
commit | 5ae9eaa6dbeccab781cd9312371fad801a5ba1a2 (patch) | |
tree | b29f2444ab400c244e20c85e112ce5260e5678da /drivers/video | |
parent | 6d523e7b0e25e360ab55c283d9f8d49ce843c565 (diff) |
OMAPDSS: Remove passive matrix LCD support (part 2)
Remove OMAP_DSS_LCD_TFT as a omap_panel_config flag.
We don't support passive matrix displays any more. Remove this flag from all the
panel drivers.
Force the display_type to OMAP_DSS_LCD_DISPLAY_TFT in the interface drivers.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/omap2/displays/panel-acx565akm.c | 4 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-generic-dpi.c | 61 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-lgphilips-lb035q02.c | 3 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-n8x0.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c | 5 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-picodlp.c | 4 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c | 3 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-taal.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-tfp410.c | 1 | ||||
-rw-r--r-- | drivers/video/omap2/displays/panel-tpo-td043mtea1.c | 4 | ||||
-rw-r--r-- | drivers/video/omap2/dss/display.c | 4 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dpi.c | 8 | ||||
-rw-r--r-- | drivers/video/omap2/dss/hdmi_panel.c | 3 |
13 files changed, 37 insertions, 65 deletions
diff --git a/drivers/video/omap2/displays/panel-acx565akm.c b/drivers/video/omap2/displays/panel-acx565akm.c index ad741c3d1ae..9dc21ddc93d 100644 --- a/drivers/video/omap2/displays/panel-acx565akm.c +++ b/drivers/video/omap2/displays/panel-acx565akm.c | |||
@@ -498,8 +498,8 @@ static int acx_panel_probe(struct omap_dss_device *dssdev) | |||
498 | struct backlight_properties props; | 498 | struct backlight_properties props; |
499 | 499 | ||
500 | dev_dbg(&dssdev->dev, "%s\n", __func__); | 500 | dev_dbg(&dssdev->dev, "%s\n", __func__); |
501 | dssdev->panel.config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 501 | dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS; |
502 | OMAP_DSS_LCD_IHS; | 502 | |
503 | /* FIXME AC bias ? */ | 503 | /* FIXME AC bias ? */ |
504 | dssdev->panel.timings = acx_panel_timings; | 504 | dssdev->panel.timings = acx_panel_timings; |
505 | 505 | ||
diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c index e42f9dc2212..c17ba743792 100644 --- a/drivers/video/omap2/displays/panel-generic-dpi.c +++ b/drivers/video/omap2/displays/panel-generic-dpi.c | |||
@@ -76,8 +76,8 @@ static struct panel_config generic_dpi_panels[] = { | |||
76 | }, | 76 | }, |
77 | .acbi = 0x0, | 77 | .acbi = 0x0, |
78 | .acb = 0x0, | 78 | .acb = 0x0, |
79 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 79 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
80 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IEO, | 80 | OMAP_DSS_LCD_IEO, |
81 | .power_on_delay = 50, | 81 | .power_on_delay = 50, |
82 | .power_off_delay = 100, | 82 | .power_off_delay = 100, |
83 | .name = "sharp_lq", | 83 | .name = "sharp_lq", |
@@ -101,8 +101,7 @@ static struct panel_config generic_dpi_panels[] = { | |||
101 | }, | 101 | }, |
102 | .acbi = 0x0, | 102 | .acbi = 0x0, |
103 | .acb = 0x28, | 103 | .acb = 0x28, |
104 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 104 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS, |
105 | OMAP_DSS_LCD_IHS, | ||
106 | .power_on_delay = 50, | 105 | .power_on_delay = 50, |
107 | .power_off_delay = 100, | 106 | .power_off_delay = 100, |
108 | .name = "sharp_ls", | 107 | .name = "sharp_ls", |
@@ -126,9 +125,9 @@ static struct panel_config generic_dpi_panels[] = { | |||
126 | }, | 125 | }, |
127 | .acbi = 0x0, | 126 | .acbi = 0x0, |
128 | .acb = 0x0, | 127 | .acb = 0x0, |
129 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 128 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
130 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC | | 129 | OMAP_DSS_LCD_IPC | |
131 | OMAP_DSS_LCD_ONOFF, | 130 | OMAP_DSS_LCD_ONOFF, |
132 | .power_on_delay = 0, | 131 | .power_on_delay = 0, |
133 | .power_off_delay = 0, | 132 | .power_off_delay = 0, |
134 | .name = "toppoly_tdo35s", | 133 | .name = "toppoly_tdo35s", |
@@ -152,8 +151,7 @@ static struct panel_config generic_dpi_panels[] = { | |||
152 | }, | 151 | }, |
153 | .acbi = 0x0, | 152 | .acbi = 0x0, |
154 | .acb = 0x0, | 153 | .acb = 0x0, |
155 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 154 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS, |
156 | OMAP_DSS_LCD_IHS, | ||
157 | .power_on_delay = 0, | 155 | .power_on_delay = 0, |
158 | .power_off_delay = 0, | 156 | .power_off_delay = 0, |
159 | .name = "samsung_lte430wq_f0c", | 157 | .name = "samsung_lte430wq_f0c", |
@@ -177,8 +175,7 @@ static struct panel_config generic_dpi_panels[] = { | |||
177 | }, | 175 | }, |
178 | .acbi = 0x0, | 176 | .acbi = 0x0, |
179 | .acb = 0x0, | 177 | .acb = 0x0, |
180 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 178 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS, |
181 | OMAP_DSS_LCD_IHS, | ||
182 | .power_on_delay = 0, | 179 | .power_on_delay = 0, |
183 | .power_off_delay = 0, | 180 | .power_off_delay = 0, |
184 | .name = "seiko_70wvw1tz3", | 181 | .name = "seiko_70wvw1tz3", |
@@ -202,8 +199,8 @@ static struct panel_config generic_dpi_panels[] = { | |||
202 | }, | 199 | }, |
203 | .acbi = 0x0, | 200 | .acbi = 0x0, |
204 | .acb = 0x0, | 201 | .acb = 0x0, |
205 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 202 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
206 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IEO, | 203 | OMAP_DSS_LCD_IEO, |
207 | .power_on_delay = 0, | 204 | .power_on_delay = 0, |
208 | .power_off_delay = 0, | 205 | .power_off_delay = 0, |
209 | .name = "powertip_ph480272t", | 206 | .name = "powertip_ph480272t", |
@@ -227,8 +224,7 @@ static struct panel_config generic_dpi_panels[] = { | |||
227 | }, | 224 | }, |
228 | .acbi = 0x0, | 225 | .acbi = 0x0, |
229 | .acb = 0x28, | 226 | .acb = 0x28, |
230 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 227 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS, |
231 | OMAP_DSS_LCD_IHS, | ||
232 | .power_on_delay = 0, | 228 | .power_on_delay = 0, |
233 | .power_off_delay = 0, | 229 | .power_off_delay = 0, |
234 | .name = "innolux_at070tn83", | 230 | .name = "innolux_at070tn83", |
@@ -250,8 +246,7 @@ static struct panel_config generic_dpi_panels[] = { | |||
250 | .vfp = 2, | 246 | .vfp = 2, |
251 | .vbp = 7, | 247 | .vbp = 7, |
252 | }, | 248 | }, |
253 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 249 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS, |
254 | OMAP_DSS_LCD_IHS, | ||
255 | .name = "nec_nl2432dr22-11b", | 250 | .name = "nec_nl2432dr22-11b", |
256 | }, | 251 | }, |
257 | 252 | ||
@@ -271,8 +266,6 @@ static struct panel_config generic_dpi_panels[] = { | |||
271 | .vfp = 1, | 266 | .vfp = 1, |
272 | .vbp = 1, | 267 | .vbp = 1, |
273 | }, | 268 | }, |
274 | .config = OMAP_DSS_LCD_TFT, | ||
275 | |||
276 | .name = "h4", | 269 | .name = "h4", |
277 | }, | 270 | }, |
278 | 271 | ||
@@ -292,8 +285,7 @@ static struct panel_config generic_dpi_panels[] = { | |||
292 | .vfp = 2, | 285 | .vfp = 2, |
293 | .vbp = 2, | 286 | .vbp = 2, |
294 | }, | 287 | }, |
295 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 288 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS, |
296 | OMAP_DSS_LCD_IHS, | ||
297 | 289 | ||
298 | .name = "apollon", | 290 | .name = "apollon", |
299 | }, | 291 | }, |
@@ -313,8 +305,7 @@ static struct panel_config generic_dpi_panels[] = { | |||
313 | .vfp = 13, | 305 | .vfp = 13, |
314 | .vbp = 29, | 306 | .vbp = 29, |
315 | }, | 307 | }, |
316 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 308 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS, |
317 | OMAP_DSS_LCD_IHS, | ||
318 | .name = "focaltech_etm070003dh6", | 309 | .name = "focaltech_etm070003dh6", |
319 | }, | 310 | }, |
320 | 311 | ||
@@ -336,8 +327,8 @@ static struct panel_config generic_dpi_panels[] = { | |||
336 | }, | 327 | }, |
337 | .acbi = 0x0, | 328 | .acbi = 0x0, |
338 | .acb = 0x0, | 329 | .acb = 0x0, |
339 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 330 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
340 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC, | 331 | OMAP_DSS_LCD_IPC, |
341 | .power_on_delay = 0, | 332 | .power_on_delay = 0, |
342 | .power_off_delay = 0, | 333 | .power_off_delay = 0, |
343 | .name = "microtips_umsh_8173md", | 334 | .name = "microtips_umsh_8173md", |
@@ -359,8 +350,6 @@ static struct panel_config generic_dpi_panels[] = { | |||
359 | .vfp = 4, | 350 | .vfp = 4, |
360 | .vbp = 2, | 351 | .vbp = 2, |
361 | }, | 352 | }, |
362 | .config = OMAP_DSS_LCD_TFT, | ||
363 | |||
364 | .name = "ortustech_com43h4m10xtc", | 353 | .name = "ortustech_com43h4m10xtc", |
365 | }, | 354 | }, |
366 | 355 | ||
@@ -381,8 +370,8 @@ static struct panel_config generic_dpi_panels[] = { | |||
381 | .vbp = 23, | 370 | .vbp = 23, |
382 | }, | 371 | }, |
383 | .acb = 0x0, | 372 | .acb = 0x0, |
384 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 373 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
385 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IEO, | 374 | OMAP_DSS_LCD_IEO, |
386 | 375 | ||
387 | .name = "innolux_at080tn52", | 376 | .name = "innolux_at080tn52", |
388 | }, | 377 | }, |
@@ -402,7 +391,6 @@ static struct panel_config generic_dpi_panels[] = { | |||
402 | .vfp = 26, | 391 | .vfp = 26, |
403 | .vbp = 1, | 392 | .vbp = 1, |
404 | }, | 393 | }, |
405 | .config = OMAP_DSS_LCD_TFT, | ||
406 | .name = "mitsubishi_aa084sb01", | 394 | .name = "mitsubishi_aa084sb01", |
407 | }, | 395 | }, |
408 | /* EDT ET0500G0DH6 */ | 396 | /* EDT ET0500G0DH6 */ |
@@ -420,7 +408,6 @@ static struct panel_config generic_dpi_panels[] = { | |||
420 | .vfp = 35, | 408 | .vfp = 35, |
421 | .vbp = 10, | 409 | .vbp = 10, |
422 | }, | 410 | }, |
423 | .config = OMAP_DSS_LCD_TFT, | ||
424 | .name = "edt_et0500g0dh6", | 411 | .name = "edt_et0500g0dh6", |
425 | }, | 412 | }, |
426 | 413 | ||
@@ -440,8 +427,8 @@ static struct panel_config generic_dpi_panels[] = { | |||
440 | .vfp = 10, | 427 | .vfp = 10, |
441 | .vbp = 33, | 428 | .vbp = 33, |
442 | }, | 429 | }, |
443 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 430 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
444 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC, | 431 | OMAP_DSS_LCD_IPC, |
445 | .name = "primeview_pd050vl1", | 432 | .name = "primeview_pd050vl1", |
446 | }, | 433 | }, |
447 | 434 | ||
@@ -461,8 +448,8 @@ static struct panel_config generic_dpi_panels[] = { | |||
461 | .vfp = 10, | 448 | .vfp = 10, |
462 | .vbp = 33, | 449 | .vbp = 33, |
463 | }, | 450 | }, |
464 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 451 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
465 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC, | 452 | OMAP_DSS_LCD_IPC, |
466 | .name = "primeview_pm070wl4", | 453 | .name = "primeview_pm070wl4", |
467 | }, | 454 | }, |
468 | 455 | ||
@@ -482,8 +469,8 @@ static struct panel_config generic_dpi_panels[] = { | |||
482 | .vfp = 1, | 469 | .vfp = 1, |
483 | .vbp = 23, | 470 | .vbp = 23, |
484 | }, | 471 | }, |
485 | .config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 472 | .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
486 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IPC, | 473 | OMAP_DSS_LCD_IPC, |
487 | .name = "primeview_pd104slf", | 474 | .name = "primeview_pd104slf", |
488 | }, | 475 | }, |
489 | }; | 476 | }; |
diff --git a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c index 0841cc2b3f7..3b1877ce798 100644 --- a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c +++ b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c | |||
@@ -82,8 +82,7 @@ static int lb035q02_panel_probe(struct omap_dss_device *dssdev) | |||
82 | struct lb035q02_data *ld; | 82 | struct lb035q02_data *ld; |
83 | int r; | 83 | int r; |
84 | 84 | ||
85 | dssdev->panel.config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 85 | dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS; |
86 | OMAP_DSS_LCD_IHS; | ||
87 | dssdev->panel.timings = lb035q02_timings; | 86 | dssdev->panel.timings = lb035q02_timings; |
88 | 87 | ||
89 | ld = kzalloc(sizeof(*ld), GFP_KERNEL); | 88 | ld = kzalloc(sizeof(*ld), GFP_KERNEL); |
diff --git a/drivers/video/omap2/displays/panel-n8x0.c b/drivers/video/omap2/displays/panel-n8x0.c index 4a34cdc1371..e6c115373c0 100644 --- a/drivers/video/omap2/displays/panel-n8x0.c +++ b/drivers/video/omap2/displays/panel-n8x0.c | |||
@@ -473,7 +473,6 @@ static int n8x0_panel_probe(struct omap_dss_device *dssdev) | |||
473 | 473 | ||
474 | mutex_init(&ddata->lock); | 474 | mutex_init(&ddata->lock); |
475 | 475 | ||
476 | dssdev->panel.config = OMAP_DSS_LCD_TFT; | ||
477 | dssdev->panel.timings.x_res = 800; | 476 | dssdev->panel.timings.x_res = 800; |
478 | dssdev->panel.timings.y_res = 480; | 477 | dssdev->panel.timings.y_res = 480; |
479 | dssdev->ctrl.pixel_size = 16; | 478 | dssdev->ctrl.pixel_size = 16; |
diff --git a/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c b/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c index 8b38b39213f..53144087505 100644 --- a/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c +++ b/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c | |||
@@ -116,9 +116,8 @@ static int nec_8048_panel_probe(struct omap_dss_device *dssdev) | |||
116 | struct backlight_properties props; | 116 | struct backlight_properties props; |
117 | int r; | 117 | int r; |
118 | 118 | ||
119 | dssdev->panel.config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 119 | dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS | |
120 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_RF | | 120 | OMAP_DSS_LCD_RF | OMAP_DSS_LCD_ONOFF; |
121 | OMAP_DSS_LCD_ONOFF; | ||
122 | dssdev->panel.timings = nec_8048_panel_timings; | 121 | dssdev->panel.timings = nec_8048_panel_timings; |
123 | 122 | ||
124 | necd = kzalloc(sizeof(*necd), GFP_KERNEL); | 123 | necd = kzalloc(sizeof(*necd), GFP_KERNEL); |
diff --git a/drivers/video/omap2/displays/panel-picodlp.c b/drivers/video/omap2/displays/panel-picodlp.c index 98ebdaddab5..6563d85e00e 100644 --- a/drivers/video/omap2/displays/panel-picodlp.c +++ b/drivers/video/omap2/displays/panel-picodlp.c | |||
@@ -414,8 +414,8 @@ static int picodlp_panel_probe(struct omap_dss_device *dssdev) | |||
414 | struct i2c_client *picodlp_i2c_client; | 414 | struct i2c_client *picodlp_i2c_client; |
415 | int r = 0, picodlp_adapter_id; | 415 | int r = 0, picodlp_adapter_id; |
416 | 416 | ||
417 | dssdev->panel.config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_ONOFF | | 417 | dssdev->panel.config = OMAP_DSS_LCD_ONOFF | OMAP_DSS_LCD_IHS | |
418 | OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IVS; | 418 | OMAP_DSS_LCD_IVS; |
419 | dssdev->panel.acb = 0x0; | 419 | dssdev->panel.acb = 0x0; |
420 | dssdev->panel.timings = pico_ls_timings; | 420 | dssdev->panel.timings = pico_ls_timings; |
421 | 421 | ||
diff --git a/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c b/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c index ba38b3ad17d..d71386a864f 100644 --- a/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c +++ b/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c | |||
@@ -86,8 +86,7 @@ static int sharp_ls_panel_probe(struct omap_dss_device *dssdev) | |||
86 | struct sharp_data *sd; | 86 | struct sharp_data *sd; |
87 | int r; | 87 | int r; |
88 | 88 | ||
89 | dssdev->panel.config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IVS | | 89 | dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS; |
90 | OMAP_DSS_LCD_IHS; | ||
91 | dssdev->panel.acb = 0x28; | 90 | dssdev->panel.acb = 0x28; |
92 | dssdev->panel.timings = sharp_ls_timings; | 91 | dssdev->panel.timings = sharp_ls_timings; |
93 | 92 | ||
diff --git a/drivers/video/omap2/displays/panel-taal.c b/drivers/video/omap2/displays/panel-taal.c index 901576eb5a8..3f5acc7771d 100644 --- a/drivers/video/omap2/displays/panel-taal.c +++ b/drivers/video/omap2/displays/panel-taal.c | |||
@@ -882,7 +882,6 @@ static int taal_probe(struct omap_dss_device *dssdev) | |||
882 | goto err; | 882 | goto err; |
883 | } | 883 | } |
884 | 884 | ||
885 | dssdev->panel.config = OMAP_DSS_LCD_TFT; | ||
886 | dssdev->panel.timings = panel_config->timings; | 885 | dssdev->panel.timings = panel_config->timings; |
887 | dssdev->panel.dsi_pix_fmt = OMAP_DSS_DSI_FMT_RGB888; | 886 | dssdev->panel.dsi_pix_fmt = OMAP_DSS_DSI_FMT_RGB888; |
888 | 887 | ||
diff --git a/drivers/video/omap2/displays/panel-tfp410.c b/drivers/video/omap2/displays/panel-tfp410.c index bff306e041c..ab5b1d43ca1 100644 --- a/drivers/video/omap2/displays/panel-tfp410.c +++ b/drivers/video/omap2/displays/panel-tfp410.c | |||
@@ -95,7 +95,6 @@ static int tfp410_probe(struct omap_dss_device *dssdev) | |||
95 | return -ENOMEM; | 95 | return -ENOMEM; |
96 | 96 | ||
97 | dssdev->panel.timings = tfp410_default_timings; | 97 | dssdev->panel.timings = tfp410_default_timings; |
98 | dssdev->panel.config = OMAP_DSS_LCD_TFT; | ||
99 | 98 | ||
100 | ddata->dssdev = dssdev; | 99 | ddata->dssdev = dssdev; |
101 | mutex_init(&ddata->lock); | 100 | mutex_init(&ddata->lock); |
diff --git a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c index 4b6448b3c31..d9585c89505 100644 --- a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c +++ b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c | |||
@@ -423,8 +423,8 @@ static int tpo_td043_probe(struct omap_dss_device *dssdev) | |||
423 | return -ENODEV; | 423 | return -ENODEV; |
424 | } | 424 | } |
425 | 425 | ||
426 | dssdev->panel.config = OMAP_DSS_LCD_TFT | OMAP_DSS_LCD_IHS | | 426 | dssdev->panel.config = OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IVS | |
427 | OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IPC; | 427 | OMAP_DSS_LCD_IPC; |
428 | dssdev->panel.timings = tpo_td043_timings; | 428 | dssdev->panel.timings = tpo_td043_timings; |
429 | dssdev->ctrl.pixel_size = 24; | 429 | dssdev->ctrl.pixel_size = 24; |
430 | 430 | ||
diff --git a/drivers/video/omap2/dss/display.c b/drivers/video/omap2/dss/display.c index 24901063037..25be51e2282 100644 --- a/drivers/video/omap2/dss/display.c +++ b/drivers/video/omap2/dss/display.c | |||
@@ -327,10 +327,6 @@ bool dss_use_replication(struct omap_dss_device *dssdev, | |||
327 | if (mode != OMAP_DSS_COLOR_RGB12U && mode != OMAP_DSS_COLOR_RGB16) | 327 | if (mode != OMAP_DSS_COLOR_RGB12U && mode != OMAP_DSS_COLOR_RGB16) |
328 | return false; | 328 | return false; |
329 | 329 | ||
330 | if (dssdev->type == OMAP_DISPLAY_TYPE_DPI && | ||
331 | (dssdev->panel.config & OMAP_DSS_LCD_TFT) == 0) | ||
332 | return false; | ||
333 | |||
334 | switch (dssdev->type) { | 330 | switch (dssdev->type) { |
335 | case OMAP_DISPLAY_TYPE_DPI: | 331 | case OMAP_DISPLAY_TYPE_DPI: |
336 | bpp = dssdev->phy.dpi.data_lines; | 332 | bpp = dssdev->phy.dpi.data_lines; |
diff --git a/drivers/video/omap2/dss/dpi.c b/drivers/video/omap2/dss/dpi.c index 09dd2435df1..e6904b2b9fe 100644 --- a/drivers/video/omap2/dss/dpi.c +++ b/drivers/video/omap2/dss/dpi.c | |||
@@ -160,15 +160,11 @@ static int dpi_set_mode(struct omap_dss_device *dssdev) | |||
160 | 160 | ||
161 | static void dpi_basic_init(struct omap_dss_device *dssdev) | 161 | static void dpi_basic_init(struct omap_dss_device *dssdev) |
162 | { | 162 | { |
163 | bool is_tft; | ||
164 | |||
165 | is_tft = (dssdev->panel.config & OMAP_DSS_LCD_TFT) != 0; | ||
166 | |||
167 | dispc_mgr_set_io_pad_mode(DSS_IO_PAD_MODE_BYPASS); | 163 | dispc_mgr_set_io_pad_mode(DSS_IO_PAD_MODE_BYPASS); |
168 | dispc_mgr_enable_stallmode(dssdev->manager->id, false); | 164 | dispc_mgr_enable_stallmode(dssdev->manager->id, false); |
169 | 165 | ||
170 | dispc_mgr_set_lcd_display_type(dssdev->manager->id, is_tft ? | 166 | dispc_mgr_set_lcd_display_type(dssdev->manager->id, |
171 | OMAP_DSS_LCD_DISPLAY_TFT : OMAP_DSS_LCD_DISPLAY_STN); | 167 | OMAP_DSS_LCD_DISPLAY_TFT); |
172 | dispc_mgr_set_tft_data_lines(dssdev->manager->id, | 168 | dispc_mgr_set_tft_data_lines(dssdev->manager->id, |
173 | dssdev->phy.dpi.data_lines); | 169 | dssdev->phy.dpi.data_lines); |
174 | } | 170 | } |
diff --git a/drivers/video/omap2/dss/hdmi_panel.c b/drivers/video/omap2/dss/hdmi_panel.c index 1179e3c4b1c..788ebf001cb 100644 --- a/drivers/video/omap2/dss/hdmi_panel.c +++ b/drivers/video/omap2/dss/hdmi_panel.c | |||
@@ -43,8 +43,7 @@ static int hdmi_panel_probe(struct omap_dss_device *dssdev) | |||
43 | { | 43 | { |
44 | DSSDBG("ENTER hdmi_panel_probe\n"); | 44 | DSSDBG("ENTER hdmi_panel_probe\n"); |
45 | 45 | ||
46 | dssdev->panel.config = OMAP_DSS_LCD_TFT | | 46 | dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS; |
47 | OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS; | ||
48 | 47 | ||
49 | dssdev->panel.timings = (struct omap_video_timings){640, 480, 25175, 96, 16, 48, 2 , 11, 31}; | 48 | dssdev->panel.timings = (struct omap_video_timings){640, 480, 25175, 96, 16, 48, 2 , 11, 31}; |
50 | 49 | ||