aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-07-05 17:11:12 +0530
committerArchit Taneja <archit@ti.com>2012-08-15 15:48:45 +0530
commitc7833f7bc049dfd844ce3042798cf48551b5f14d (patch)
tree3f57eb443e028ce3d4d2feb3fa0bfed5f94bc345 /include
parented1aa9003bc359a3139cbd6c31eb834fa71b26d9 (diff)
OMAPDSS: SDI: Create a function to set timings
Create function omapdss_sdi_set_timings(). Configuring new timings is done the same way as before, SDI is disabled, and re-enabled with the new timings in dssdev. This just moves the code from the panel drivers to the SDI driver. The panel drivers shouldn't be aware of how SDI manages to configure a new set of timings. This should be taken care of by the SDI driver itself. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/video/omapdss.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 0898c2fad9a..a06a9ba3872 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -744,6 +744,8 @@ int dpi_check_timings(struct omap_dss_device *dssdev,
int omapdss_sdi_display_enable(struct omap_dss_device *dssdev);
void omapdss_sdi_display_disable(struct omap_dss_device *dssdev);
+void omapdss_sdi_set_timings(struct omap_dss_device *dssdev,
+ struct omap_video_timings *timings);
int omapdss_rfbi_display_enable(struct omap_dss_device *dssdev);
void omapdss_rfbi_display_disable(struct omap_dss_device *dssdev);