OMAPDSS: DSI: Maintain own copy of timings in driver data
authorArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 08:47:30 +0000 (14:17 +0530)
committerArchit Taneja <archit@ti.com>
Mon, 13 Aug 2012 10:14:39 +0000 (15:44 +0530)
commite67458a831e280d346c87d22eed87e3e8697e077
tree684a11d9a7e9d5664141601cbfb7aafb46af790e
parentbdcae3cc39e8232eca81504a2ff9c60f4cc8f22d
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>
drivers/video/omap2/dss/dsi.c
include/video/omapdss.h