diff options
author | Archit Taneja <archit@ti.com> | 2012-08-13 04:47:30 -0400 |
---|---|---|
committer | Archit Taneja <archit@ti.com> | 2012-08-13 06:14:39 -0400 |
commit | e67458a831e280d346c87d22eed87e3e8697e077 (patch) | |
tree | 684a11d9a7e9d5664141601cbfb7aafb46af790e /include/video | |
parent | bdcae3cc39e8232eca81504a2ff9c60f4cc8f22d (diff) |
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index be2cb6b7fba5..47cfc170100e 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, | |||
719 | void omapdss_dsi_vc_enable_hs(struct omap_dss_device *dssdev, int channel, | 719 | void omapdss_dsi_vc_enable_hs(struct omap_dss_device *dssdev, int channel, |
720 | bool enable); | 720 | bool enable); |
721 | int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); | 721 | int omapdss_dsi_enable_te(struct omap_dss_device *dssdev, bool enable); |
722 | void omapdss_dsi_set_timings(struct omap_dss_device *dssdev, | ||
723 | struct omap_video_timings *timings); | ||
722 | 724 | ||
723 | int omap_dsi_update(struct omap_dss_device *dssdev, int channel, | 725 | int omap_dsi_update(struct omap_dss_device *dssdev, int channel, |
724 | void (*callback)(int, void *), void *data); | 726 | void (*callback)(int, void *), void *data); |