diff options
author | Archit Taneja <archit@ti.com> | 2012-08-08 04:58:54 -0400 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-13 06:14:39 -0400 |
commit | c499144c3b69a657b5dfd707b35871e066fabd3a (patch) | |
tree | 8de519506a07041ee0a2f0f0f8e8d7a8207d042f /drivers/video/omap2/displays/panel-picodlp.c | |
parent | e19d659bbf040823048101c31e3b213d13dd815f (diff) |
OMAPDSS: DPI: Maintain our own timings field in driver data
The DPI driver currently relies on the timings in omap_dss_device struct to
configure the DISPC accordingly. This makes the DPI interface driver dependent
on the omap_dss_device struct.
Make the DPI driver data maintain it's own timings field. The panel driver is
expected to call dpi_set_timings()(renamed to omapdss_dpi_set_timings) to set
these timings before the panel is enabled.
In the set_timings() op, we still ensure that the omap_dss_device timings
(dssdev->panel.timings) are configured. This will later be configured only by
the DPI panel drivers.
Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'drivers/video/omap2/displays/panel-picodlp.c')
-rw-r--r-- | drivers/video/omap2/displays/panel-picodlp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/displays/panel-picodlp.c b/drivers/video/omap2/displays/panel-picodlp.c index 2d35bd388860..0d7a8ff50f16 100644 --- a/drivers/video/omap2/displays/panel-picodlp.c +++ b/drivers/video/omap2/displays/panel-picodlp.c | |||
@@ -377,6 +377,9 @@ static int picodlp_panel_power_on(struct omap_dss_device *dssdev) | |||
377 | * then only i2c commands can be successfully sent to dpp2600 | 377 | * then only i2c commands can be successfully sent to dpp2600 |
378 | */ | 378 | */ |
379 | msleep(1000); | 379 | msleep(1000); |
380 | |||
381 | omapdss_dpi_set_timings(dssdev, &dssdev->panel.timings); | ||
382 | |||
380 | r = omapdss_dpi_display_enable(dssdev); | 383 | r = omapdss_dpi_display_enable(dssdev); |
381 | if (r) { | 384 | if (r) { |
382 | dev_err(&dssdev->dev, "failed to enable DPI\n"); | 385 | dev_err(&dssdev->dev, "failed to enable DPI\n"); |