kernel-ark/drivers/video/omap2
Tomi Valkeinen 5f42f2ce63 OMAP: DSS2: Delay regulator_get() calls
DSS submodules DPI/SDI/DSI/VENC require a regulator to function.
However, if the board doesn't use, say, SDI, the board shouldn't need to
configure vdds_sdi regulator required by the SDI module.

Currently the regulators are acquired when the DSS driver is loaded.
This means that if the kernel is configured with SDI, vdds_sdi regulator
is needed for all boards.

This patch changes the DSS driver to acquire the regulators only when a
display of particular type is initialized. For example, vdds_sdi is
acquired when sdi_init_display() is called.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2011-03-11 15:46:23 +02:00
..
displays Merge git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6 2011-01-13 10:39:14 -08:00
dss OMAP: DSS2: Delay regulator_get() calls 2011-03-11 15:46:23 +02:00
omapfb OMAP2PLUS: DSS2: Add OMAP4 Kconfig support 2011-03-11 15:46:22 +02:00
Kconfig OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
Makefile OMAP: DSS2: Add generic and Sharp panel drivers 2009-12-09 18:19:42 +02:00
vram.c OMAP: DSS: VRAM: Align start & size of vram to 2M 2010-12-15 11:16:08 +02:00
vrfb.c