aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/video/omap2/displays/panel-acx565akm.c1
-rw-r--r--drivers/video/omap2/displays/panel-generic-dpi.c29
-rw-r--r--drivers/video/omap2/displays/panel-lgphilips-lb035q02.c1
-rw-r--r--drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c2
-rw-r--r--drivers/video/omap2/displays/panel-picodlp.c2
-rw-r--r--drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c1
-rw-r--r--drivers/video/omap2/displays/panel-tpo-td043mtea1.c2
-rw-r--r--drivers/video/omap2/dss/hdmi_panel.c2
-rw-r--r--drivers/video/omap2/dss/sdi.c2
-rw-r--r--include/video/omapdss.h11
10 files changed, 0 insertions, 53 deletions
diff --git a/drivers/video/omap2/displays/panel-acx565akm.c b/drivers/video/omap2/displays/panel-acx565akm.c
index acfaa40b932e..eaeed4340e04 100644
--- a/drivers/video/omap2/displays/panel-acx565akm.c
+++ b/drivers/video/omap2/displays/panel-acx565akm.c
@@ -505,7 +505,6 @@ static int acx_panel_probe(struct omap_dss_device *dssdev)
505 struct backlight_properties props; 505 struct backlight_properties props;
506 506
507 dev_dbg(&dssdev->dev, "%s\n", __func__); 507 dev_dbg(&dssdev->dev, "%s\n", __func__);
508 dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS;
509 508
510 /* FIXME AC bias ? */ 509 /* FIXME AC bias ? */
511 dssdev->panel.timings = acx_panel_timings; 510 dssdev->panel.timings = acx_panel_timings;
diff --git a/drivers/video/omap2/displays/panel-generic-dpi.c b/drivers/video/omap2/displays/panel-generic-dpi.c
index 6cdd97c64330..bc5af2500eb9 100644
--- a/drivers/video/omap2/displays/panel-generic-dpi.c
+++ b/drivers/video/omap2/displays/panel-generic-dpi.c
@@ -40,8 +40,6 @@
40struct panel_config { 40struct panel_config {
41 struct omap_video_timings timings; 41 struct omap_video_timings timings;
42 42
43 enum omap_panel_config config;
44
45 int power_on_delay; 43 int power_on_delay;
46 int power_off_delay; 44 int power_off_delay;
47 45
@@ -76,8 +74,6 @@ static struct panel_config generic_dpi_panels[] = {
76 .de_level = OMAPDSS_SIG_ACTIVE_LOW, 74 .de_level = OMAPDSS_SIG_ACTIVE_LOW,
77 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 75 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
78 }, 76 },
79 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
80 OMAP_DSS_LCD_IEO,
81 .power_on_delay = 50, 77 .power_on_delay = 50,
82 .power_off_delay = 100, 78 .power_off_delay = 100,
83 .name = "sharp_lq", 79 .name = "sharp_lq",
@@ -105,7 +101,6 @@ static struct panel_config generic_dpi_panels[] = {
105 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 101 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
106 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 102 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
107 }, 103 },
108 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS,
109 .power_on_delay = 50, 104 .power_on_delay = 50,
110 .power_off_delay = 100, 105 .power_off_delay = 100,
111 .name = "sharp_ls", 106 .name = "sharp_ls",
@@ -133,9 +128,6 @@ static struct panel_config generic_dpi_panels[] = {
133 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 128 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
134 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE, 129 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_FALLING_EDGE,
135 }, 130 },
136 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
137 OMAP_DSS_LCD_IPC |
138 OMAP_DSS_LCD_ONOFF,
139 .power_on_delay = 0, 131 .power_on_delay = 0,
140 .power_off_delay = 0, 132 .power_off_delay = 0,
141 .name = "toppoly_tdo35s", 133 .name = "toppoly_tdo35s",
@@ -163,7 +155,6 @@ static struct panel_config generic_dpi_panels[] = {
163 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 155 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
164 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 156 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
165 }, 157 },
166 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS,
167 .power_on_delay = 0, 158 .power_on_delay = 0,
168 .power_off_delay = 0, 159 .power_off_delay = 0,
169 .name = "samsung_lte430wq_f0c", 160 .name = "samsung_lte430wq_f0c",
@@ -191,7 +182,6 @@ static struct panel_config generic_dpi_panels[] = {
191 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 182 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
192 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 183 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
193 }, 184 },
194 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS,
195 .power_on_delay = 0, 185 .power_on_delay = 0,
196 .power_off_delay = 0, 186 .power_off_delay = 0,
197 .name = "seiko_70wvw1tz3", 187 .name = "seiko_70wvw1tz3",
@@ -219,8 +209,6 @@ static struct panel_config generic_dpi_panels[] = {
219 .de_level = OMAPDSS_SIG_ACTIVE_LOW, 209 .de_level = OMAPDSS_SIG_ACTIVE_LOW,
220 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 210 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
221 }, 211 },
222 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
223 OMAP_DSS_LCD_IEO,
224 .power_on_delay = 0, 212 .power_on_delay = 0,
225 .power_off_delay = 0, 213 .power_off_delay = 0,
226 .name = "powertip_ph480272t", 214 .name = "powertip_ph480272t",
@@ -248,7 +236,6 @@ static struct panel_config generic_dpi_panels[] = {
248 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 236 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
249 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 237 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
250 }, 238 },
251 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS,
252 .power_on_delay = 0, 239 .power_on_delay = 0,
253 .power_off_delay = 0, 240 .power_off_delay = 0,
254 .name = "innolux_at070tn83", 241 .name = "innolux_at070tn83",
@@ -276,7 +263,6 @@ static struct panel_config generic_dpi_panels[] = {
276 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 263 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
277 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 264 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
278 }, 265 },
279 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS,
280 .name = "nec_nl2432dr22-11b", 266 .name = "nec_nl2432dr22-11b",
281 }, 267 },
282 268
@@ -327,8 +313,6 @@ static struct panel_config generic_dpi_panels[] = {
327 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 313 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
328 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 314 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
329 }, 315 },
330 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS,
331
332 .name = "apollon", 316 .name = "apollon",
333 }, 317 },
334 /* FocalTech ETM070003DH6 */ 318 /* FocalTech ETM070003DH6 */
@@ -353,7 +337,6 @@ static struct panel_config generic_dpi_panels[] = {
353 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 337 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
354 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 338 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
355 }, 339 },
356 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS,
357 .name = "focaltech_etm070003dh6", 340 .name = "focaltech_etm070003dh6",
358 }, 341 },
359 342
@@ -379,8 +362,6 @@ static struct panel_config generic_dpi_panels[] = {
379 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 362 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
380 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 363 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
381 }, 364 },
382 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
383 OMAP_DSS_LCD_IPC,
384 .power_on_delay = 0, 365 .power_on_delay = 0,
385 .power_off_delay = 0, 366 .power_off_delay = 0,
386 .name = "microtips_umsh_8173md", 367 .name = "microtips_umsh_8173md",
@@ -433,9 +414,6 @@ static struct panel_config generic_dpi_panels[] = {
433 .de_level = OMAPDSS_SIG_ACTIVE_LOW, 414 .de_level = OMAPDSS_SIG_ACTIVE_LOW,
434 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 415 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
435 }, 416 },
436 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
437 OMAP_DSS_LCD_IEO,
438
439 .name = "innolux_at080tn52", 417 .name = "innolux_at080tn52",
440 }, 418 },
441 419
@@ -508,8 +486,6 @@ static struct panel_config generic_dpi_panels[] = {
508 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 486 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
509 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 487 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
510 }, 488 },
511 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
512 OMAP_DSS_LCD_IPC,
513 .name = "primeview_pd050vl1", 489 .name = "primeview_pd050vl1",
514 }, 490 },
515 491
@@ -535,8 +511,6 @@ static struct panel_config generic_dpi_panels[] = {
535 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 511 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
536 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 512 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
537 }, 513 },
538 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
539 OMAP_DSS_LCD_IPC,
540 .name = "primeview_pm070wl4", 514 .name = "primeview_pm070wl4",
541 }, 515 },
542 516
@@ -562,8 +536,6 @@ static struct panel_config generic_dpi_panels[] = {
562 .de_level = OMAPDSS_SIG_ACTIVE_HIGH, 536 .de_level = OMAPDSS_SIG_ACTIVE_HIGH,
563 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES, 537 .sync_pclk_edge = OMAPDSS_DRIVE_SIG_OPPOSITE_EDGES,
564 }, 538 },
565 .config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
566 OMAP_DSS_LCD_IPC,
567 .name = "primeview_pd104slf", 539 .name = "primeview_pd104slf",
568 }, 540 },
569}; 541};
@@ -653,7 +625,6 @@ static int generic_dpi_panel_probe(struct omap_dss_device *dssdev)
653 if (!panel_config) 625 if (!panel_config)
654 return -EINVAL; 626 return -EINVAL;
655 627
656 dssdev->panel.config = panel_config->config;
657 dssdev->panel.timings = panel_config->timings; 628 dssdev->panel.timings = panel_config->timings;
658 629
659 drv_data = kzalloc(sizeof(*drv_data), GFP_KERNEL); 630 drv_data = kzalloc(sizeof(*drv_data), GFP_KERNEL);
diff --git a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c
index fc57ed63b08b..802807798846 100644
--- a/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c
+++ b/drivers/video/omap2/displays/panel-lgphilips-lb035q02.c
@@ -88,7 +88,6 @@ static int lb035q02_panel_probe(struct omap_dss_device *dssdev)
88 struct lb035q02_data *ld; 88 struct lb035q02_data *ld;
89 int r; 89 int r;
90 90
91 dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS;
92 dssdev->panel.timings = lb035q02_timings; 91 dssdev->panel.timings = lb035q02_timings;
93 92
94 ld = kzalloc(sizeof(*ld), GFP_KERNEL); 93 ld = kzalloc(sizeof(*ld), GFP_KERNEL);
diff --git a/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c b/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c
index 9eab0dda2f33..b122b0f31c43 100644
--- a/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c
+++ b/drivers/video/omap2/displays/panel-nec-nl8048hl11-01b.c
@@ -122,8 +122,6 @@ static int nec_8048_panel_probe(struct omap_dss_device *dssdev)
122 struct backlight_properties props; 122 struct backlight_properties props;
123 int r; 123 int r;
124 124
125 dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS |
126 OMAP_DSS_LCD_RF | OMAP_DSS_LCD_ONOFF;
127 dssdev->panel.timings = nec_8048_panel_timings; 125 dssdev->panel.timings = nec_8048_panel_timings;
128 126
129 necd = kzalloc(sizeof(*necd), GFP_KERNEL); 127 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 9363cf4ab740..2d35bd388860 100644
--- a/drivers/video/omap2/displays/panel-picodlp.c
+++ b/drivers/video/omap2/displays/panel-picodlp.c
@@ -420,8 +420,6 @@ static int picodlp_panel_probe(struct omap_dss_device *dssdev)
420 struct i2c_client *picodlp_i2c_client; 420 struct i2c_client *picodlp_i2c_client;
421 int r = 0, picodlp_adapter_id; 421 int r = 0, picodlp_adapter_id;
422 422
423 dssdev->panel.config = OMAP_DSS_LCD_ONOFF | OMAP_DSS_LCD_IHS |
424 OMAP_DSS_LCD_IVS;
425 dssdev->panel.timings = pico_ls_timings; 423 dssdev->panel.timings = pico_ls_timings;
426 424
427 picod = kzalloc(sizeof(struct picodlp_data), GFP_KERNEL); 425 picod = kzalloc(sizeof(struct picodlp_data), GFP_KERNEL);
diff --git a/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c b/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c
index 6b7b43c808e2..bd86ba9ccf76 100644
--- a/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c
+++ b/drivers/video/omap2/displays/panel-sharp-ls037v7dw01.c
@@ -92,7 +92,6 @@ static int sharp_ls_panel_probe(struct omap_dss_device *dssdev)
92 struct sharp_data *sd; 92 struct sharp_data *sd;
93 int r; 93 int r;
94 94
95 dssdev->panel.config = OMAP_DSS_LCD_IVS | OMAP_DSS_LCD_IHS;
96 dssdev->panel.timings = sharp_ls_timings; 95 dssdev->panel.timings = sharp_ls_timings;
97 96
98 sd = kzalloc(sizeof(*sd), GFP_KERNEL); 97 sd = kzalloc(sizeof(*sd), GFP_KERNEL);
diff --git a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
index e627c6c5c551..fa7baa650ae0 100644
--- a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
+++ b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c
@@ -429,8 +429,6 @@ static int tpo_td043_probe(struct omap_dss_device *dssdev)
429 return -ENODEV; 429 return -ENODEV;
430 } 430 }
431 431
432 dssdev->panel.config = OMAP_DSS_LCD_IHS | OMAP_DSS_LCD_IVS |
433 OMAP_DSS_LCD_IPC;
434 dssdev->panel.timings = tpo_td043_timings; 432 dssdev->panel.timings = tpo_td043_timings;
435 dssdev->ctrl.pixel_size = 24; 433 dssdev->ctrl.pixel_size = 24;
436 434
diff --git a/drivers/video/omap2/dss/hdmi_panel.c b/drivers/video/omap2/dss/hdmi_panel.c
index 5bf3a84d89cd..723a13788476 100644
--- a/drivers/video/omap2/dss/hdmi_panel.c
+++ b/drivers/video/omap2/dss/hdmi_panel.c
@@ -43,8 +43,6 @@ 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_IVS | OMAP_DSS_LCD_IHS;
47
48 dssdev->panel.timings = (struct omap_video_timings) 46 dssdev->panel.timings = (struct omap_video_timings)
49 { 640, 480, 25175, 96, 16, 48, 2, 11, 31, 47 { 640, 480, 25175, 96, 16, 48, 2, 11, 31,
50 OMAPDSS_SIG_ACTIVE_LOW, OMAPDSS_SIG_ACTIVE_LOW, 48 OMAPDSS_SIG_ACTIVE_LOW, OMAPDSS_SIG_ACTIVE_LOW,
diff --git a/drivers/video/omap2/dss/sdi.c b/drivers/video/omap2/dss/sdi.c
index 59992a3ed0ee..0fcd4d7e202e 100644
--- a/drivers/video/omap2/dss/sdi.c
+++ b/drivers/video/omap2/dss/sdi.c
@@ -78,8 +78,6 @@ int omapdss_sdi_display_enable(struct omap_dss_device *dssdev)
78 sdi_basic_init(dssdev); 78 sdi_basic_init(dssdev);
79 79
80 /* 15.5.9.1.2 */ 80 /* 15.5.9.1.2 */
81 dssdev->panel.config |= OMAP_DSS_LCD_RF | OMAP_DSS_LCD_ONOFF;
82
83 dssdev->panel.timings.data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE; 81 dssdev->panel.timings.data_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE;
84 dssdev->panel.timings.sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE; 82 dssdev->panel.timings.sync_pclk_edge = OMAPDSS_DRIVE_SIG_RISING_EDGE;
85 83
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index be6590dc66a5..14f261b584fa 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -121,15 +121,6 @@ enum omap_rfbi_te_mode {
121 OMAP_DSS_RFBI_TE_MODE_2 = 2, 121 OMAP_DSS_RFBI_TE_MODE_2 = 2,
122}; 122};
123 123
124enum omap_panel_config {
125 OMAP_DSS_LCD_IVS = 1<<0,
126 OMAP_DSS_LCD_IHS = 1<<1,
127 OMAP_DSS_LCD_IPC = 1<<2,
128 OMAP_DSS_LCD_IEO = 1<<3,
129 OMAP_DSS_LCD_RF = 1<<4,
130 OMAP_DSS_LCD_ONOFF = 1<<5,
131};
132
133enum omap_dss_signal_level { 124enum omap_dss_signal_level {
134 OMAPDSS_SIG_ACTIVE_HIGH = 0, 125 OMAPDSS_SIG_ACTIVE_HIGH = 0,
135 OMAPDSS_SIG_ACTIVE_LOW = 1, 126 OMAPDSS_SIG_ACTIVE_LOW = 1,
@@ -572,8 +563,6 @@ struct omap_dss_device {
572 /* Unit: line clocks */ 563 /* Unit: line clocks */
573 int acb; /* ac-bias pin frequency */ 564 int acb; /* ac-bias pin frequency */
574 565
575 enum omap_panel_config config;
576
577 enum omap_dss_dsi_pixel_format dsi_pix_fmt; 566 enum omap_dss_dsi_pixel_format dsi_pix_fmt;
578 enum omap_dss_dsi_mode dsi_mode; 567 enum omap_dss_dsi_mode dsi_mode;
579 struct omap_dss_dsi_videomode_data dsi_vm_data; 568 struct omap_dss_dsi_videomode_data dsi_vm_data;