diff options
author | Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> | 2010-09-20 23:17:45 -0300 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2010-11-26 10:17:35 -0700 |
commit | 09278507df6b6054d3aa2c58d1f68f0a52450c6a (patch) | |
tree | 14f803c6d3fdadbb84062aac3c6b647d25c07714 | |
parent | 8af28529be4cb549d852f82862413b41b2161794 (diff) |
ARM: OMAP3: Adding vdd_sdi regulator supply to IGEPv2 board
When booting, the omapdss subsystem is looking for a regulator named
"vdds_sdi". When the regulator is not found the initialisation sequence
is aborted resulting in omapfb not finding a display to work with. This
patch allows the omapfb sub system to complete its initialisation
properly and enable DVI display. The problem was fixed by lumping a
"vdds_sdi" with the already existing "vdds_dsi" regulator. This fix
takes its root from work done on the Beagle board, Pandora board and
OMAP3EVM.
BugLink: https://bugs.launchpad.net/bugs/607250
Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
-rw-r--r-- | arch/arm/mach-omap2/board-igep0020.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/board-igep0020.c b/arch/arm/mach-omap2/board-igep0020.c index 6695f51ccdec..525dddf0585c 100644 --- a/arch/arm/mach-omap2/board-igep0020.c +++ b/arch/arm/mach-omap2/board-igep0020.c @@ -487,9 +487,10 @@ static struct regulator_init_data igep2_vdac = { .consumer_supplies = &igep2_vdda_dac_supply, }; -static struct regulator_consumer_supply igep2_vpll2_supply = { - .supply = "vdds_dsi", - .dev = &igep2_dss_device.dev, +/* VPLL2 for digital video outputs */ +static struct regulator_consumer_supply igep2_vdds_supplies[] = { + REGULATOR_SUPPLY("vdds_sdi", "omapdss"), + REGULATOR_SUPPLY("vdds_dsi", "omapdss"), }; static struct regulator_init_data igep2_vpll2 = { @@ -503,8 +504,8 @@ static struct regulator_init_data igep2_vpll2 = { .valid_ops_mask = REGULATOR_CHANGE_MODE | REGULATOR_CHANGE_STATUS, }, - .num_consumer_supplies = 1, - .consumer_supplies = &igep2_vpll2_supply, + .num_consumer_supplies = ARRAY_SIZE(igep2_vdds_supplies), + .consumer_supplies = igep2_vdds_supplies, }; static void __init igep2_display_init(void) |