OMAP: DSS2: enable VDDS_DSI when using DPI
commit8a2cfea8ccb6292dc43c37968fe08475ae7c2576
authorTomi Valkeinen <tomi.valkeinen@nokia.com>
Thu, 4 Feb 2010 15:03:41 +0000 (4 17:03 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Fri, 12 Feb 2010 10:46:08 +0000 (12 12:46 +0200)
tree880fb2f9e43172f84baa771c7060bb7c473f7816
parente721032785b72afbc3da14c5525ca570bc2ed108
OMAP: DSS2: enable VDDS_DSI when using DPI

It looks like on OMAP3 some DSS pins need VDDS_DSI to function properly.

This has not been confirmed from TI, but looking at figure 15-1 "Display
subsystem highlight" from the TRM, some data pins come near the DSI and SDI
blocks. This is not very hard evidence, but the fact remains that with the
power on, pixels are ok, and with the power off, pixels are not ok.

It may also be that VDDS_SDI is needed to power some pins, but as normally
both VDDS_SDI and VDDS_DSI come from the same power source, this hasn't
been shown.

It seems that a single driver can only get a regulator once. This patch
solves it by getting all the required regulators in one place, and from
which the submodules then get the regulators they need.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
drivers/video/omap2/dss/core.c
drivers/video/omap2/dss/dpi.c
drivers/video/omap2/dss/dsi.c
drivers/video/omap2/dss/dss.h
drivers/video/omap2/dss/venc.c