]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbcb0e845a46354204b766fcc54f7e80ad28abeeb
tree5c807c91f0dec47e650227f4c1c915b22dc43039
parent4ef06048af0f82447c0524fae66c2f5303abc1fb
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