OMAPDSS: DSI: delay dispc initialization
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 22 Feb 2013 10:58:35 +0000 (12:58 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 3 Apr 2013 12:19:01 +0000 (15:19 +0300)
commitb7dec9b66f49304470291a95ea3855c9c9fe193b
tree5c807c91f0dec47e650227f4c1c915b22dc43039
parent2eea5ae6c102a5088e39733115ff7762a4674887
OMAPDSS: DSI: delay dispc initialization

We currently setup both DSI and DISPC related things when the DSI bus is
enabled. There's no need for DISPC related thing at that point, though,
but only later when the video output is enabled.

To make it possible to use the DSI bus before DISPC overlay manager is
selected, this patch moves DSI's DISPC initialization to
dsi_enable_video_output(), from omapdss_dsi_display_enable(). We also
move the selection of DISPC's LCD clock to dsi_enable_video_output.

This way there are no DISPC dependencies until the video output is
enabled.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
drivers/video/omap2/dss/dsi.c