OMAPDSS: DSI: Maintain copy of video mode timings in driver data
authorArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 16:43:39 +0000 (22:13 +0530)
committerArchit Taneja <archit@ti.com>
Thu, 16 Aug 2012 12:35:56 +0000 (18:05 +0530)
commit0b3ffe397ab2cfae526568880ab4621ff8f113c9
treef66bf0c6726ce3be0bf18b063b2e32cc387219d8
parent6b84937577486a79cbc2196573ff7387a9f75cb0
OMAPDSS: DSI: Maintain copy of video mode timings in driver data

The DSI driver currently relies on the omap_dss_device struct to receive the
video mode timings requested by the panel driver. This makes the DSI interface
driver dependent on the omap_dss_device struct.

Make the DSI driver data maintain it's own video mode timings field. The panel
driver is expected to call omapdss_dsi_set_videomode_timings() to configure the
video mode timings before the interface is enabled.

Signed-off-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dsi.c
include/video/omapdss.h