summaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2012-08-13 14:17:30 +0530
committerArchit Taneja <archit@ti.com>2012-08-13 15:44:39 +0530
commite67458a831e280d346c87d22eed87e3e8697e077 (patch)
tree684a11d9a7e9d5664141601cbfb7aafb46af790e /include/video
parentbdcae3cc39e8232eca81504a2ff9c60f4cc8f22d (diff)
downloadop-kernel-dev-e67458a831e280d346c87d22eed87e3e8697e077.zip
op-kernel-dev-e67458a831e280d346c87d22eed87e3e8697e077.tar.gz
OMAPDSS: DSI: Maintain own copy of timings in driver data
The DSI driver currently relies on the timings in omap_dss_device struct to configure the DISPC and DSI blocks accordingly. This makes the DSI interface driver dependent on the omap_dss_device struct. Make the DSI driver data maintain it's own timings field. A DSI video mode panel driver is expected to call omapdss_dsi_set_timings() to set these timings before the panel is enabled. Signed-off-by: Archit Taneja <archit@ti.com>
Diffstat (limited to 'include/video')
-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 be2cb6b7..47cfc17 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -719,6 +719,8 @@ int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask,
void omapdss_dsi_vc_enable_hs(struct omap_dss_device *dssdev, int channel,
bool enable);
int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable);
+void omapdss_dsi_set_timings(struct omap_dss_device *dssdev,
+ struct omap_video_timings *timings);
int omap_dsi_update(struct omap_dss_device *dssdev, int channel,
void (*callback)(int, void *), void *data);
OpenPOWER on IntegriCloud