aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-07-06 06:00:52 -0400
committerArchit Taneja <archit@ti.com>2012-08-16 08:30:55 -0400
commitc6b393d4bc8bc076589bf03433728c1fc2a44d4c (patch)
treebd7f95efe75d2117411e33bd7353921483e5e969 /include/video
parent475989b763668f0794d6a8ee34a1ca0e784831e2 (diff)
OMAPDSS: DPI: Maintain copy of number of data lines in driver data
The DPI driver currently relies on the omap_dss_device struct to configure the number of data lines as specified by the panel. This makes the DPI interface driver dependent on the omap_dss_device struct. Make the DPI driver data maintain it's own data lines field. A panel driver is expected to call omapdss_dpi_set_data_lines() before enabling the interface. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 2e8bb087feff..38633b29195d 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -743,6 +743,7 @@ void omapdss_dpi_set_timings(struct omap_dss_device *dssdev,
743 struct omap_video_timings *timings); 743 struct omap_video_timings *timings);
744int dpi_check_timings(struct omap_dss_device *dssdev, 744int dpi_check_timings(struct omap_dss_device *dssdev,
745 struct omap_video_timings *timings); 745 struct omap_video_timings *timings);
746void omapdss_dpi_set_data_lines(struct omap_dss_device *dssdev, int data_lines);
746 747
747int omapdss_sdi_display_enable(struct omap_dss_device *dssdev); 748int omapdss_sdi_display_enable(struct omap_dss_device *dssdev);
748void omapdss_sdi_display_disable(struct omap_dss_device *dssdev); 749void omapdss_sdi_display_disable(struct omap_dss_device *dssdev);