aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-rx51-peripherals.c
diff options
context:
space:
mode:
authorJarkko Nikula <jhnikula@gmail.com>2010-12-21 12:25:35 -0500
committerTony Lindgren <tony@atomide.com>2010-12-22 14:06:24 -0500
commit31bbb4f035c13a73d1ebc2626663971723cbd28f (patch)
tree256568dbd576a2ec8d2a4692a4fc62686d1d821d /arch/arm/mach-omap2/board-rx51-peripherals.c
parentb5b9945b2b139ca922b49062053f34486ca64cca (diff)
omap: rx51: Add vdda_dac supply for tvout
Commmit 60d24ee "Added video data to support tvout on rx51" broke the DSS on RX51/N900 since it added DSS VENC support but a patch adding needed supply is missing from tree and no framebuffers are initialized. This patch is basically cleaned up version of original one: http://marc.info/?l=linux-omap&m=129070041402418&w=2 Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> Cc: Srikar <ext-srikar.1.bhavanarayana@nokia.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Tomi Valkeinen <tomi.valkeinen@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r--arch/arm/mach-omap2/board-rx51-peripherals.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c
index 768f0dcdc34e..e75e240cad67 100644
--- a/arch/arm/mach-omap2/board-rx51-peripherals.c
+++ b/arch/arm/mach-omap2/board-rx51-peripherals.c
@@ -363,6 +363,10 @@ static struct regulator_consumer_supply rx51_vaux1_consumers[] = {
363 REGULATOR_SUPPLY("vdds_sdi", "omapdss"), 363 REGULATOR_SUPPLY("vdds_sdi", "omapdss"),
364}; 364};
365 365
366static struct regulator_consumer_supply rx51_vdac_supply[] = {
367 REGULATOR_SUPPLY("vdda_dac", "omapdss"),
368};
369
366static struct regulator_init_data rx51_vaux1 = { 370static struct regulator_init_data rx51_vaux1 = {
367 .constraints = { 371 .constraints = {
368 .name = "V28", 372 .name = "V28",
@@ -480,14 +484,17 @@ static struct regulator_init_data rx51_vsim = {
480 484
481static struct regulator_init_data rx51_vdac = { 485static struct regulator_init_data rx51_vdac = {
482 .constraints = { 486 .constraints = {
487 .name = "VDAC",
483 .min_uV = 1800000, 488 .min_uV = 1800000,
484 .max_uV = 1800000, 489 .max_uV = 1800000,
490 .apply_uV = true,
485 .valid_modes_mask = REGULATOR_MODE_NORMAL 491 .valid_modes_mask = REGULATOR_MODE_NORMAL
486 | REGULATOR_MODE_STANDBY, 492 | REGULATOR_MODE_STANDBY,
487 .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE 493 .valid_ops_mask = REGULATOR_CHANGE_MODE
488 | REGULATOR_CHANGE_MODE
489 | REGULATOR_CHANGE_STATUS, 494 | REGULATOR_CHANGE_STATUS,
490 }, 495 },
496 .num_consumer_supplies = 1,
497 .consumer_supplies = rx51_vdac_supply,
491}; 498};
492 499
493static struct regulator_init_data rx51_vio = { 500static struct regulator_init_data rx51_vio = {