FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 04-23-2010, 02:29 AM
Bryan Wu
 
Default ENGR00121069: MX51: Complete the constraints for the various regulators.

From: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>

Completed intialization of mc13892 regulators. This was causing the
regulator API to leave many regulators enabled at boot and also print
error messages at boot.

Signed-off-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>
Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
---
arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c b/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
index 558bb00..dbbdc64 100644
--- a/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
+++ b/arch/arm/mach-mx51/mx51_babbage_pmic_mc13892.c
@@ -99,11 +99,6 @@ static struct regulator_consumer_supply vdig_consumers[] = {
.supply = "VDDA",
.dev_name = "1-000a",
},
- {
- /* sgtl5000 */
- .supply = "VDDD",
- .dev_name = "1-000a",
- },
};

static struct regulator_consumer_supply vvideo_consumers[] = {
@@ -215,6 +210,7 @@ static struct regulator_init_data vpll_init = {
.max_uV = mV_to_uV(1800),
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
.boot_on = 1,
+ .always_on = 1,
}
};

@@ -225,6 +221,7 @@ static struct regulator_init_data vusb2_init = {
.max_uV = mV_to_uV(2775),
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
.boot_on = 1,
+ .always_on = 1,
}
};

@@ -234,7 +231,6 @@ static struct regulator_init_data vvideo_init = {
.min_uV = mV_to_uV(2775),
.max_uV = mV_to_uV(2775),
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
- .always_on = 1,
.apply_uV =1,
},
.num_consumer_supplies = ARRAY_SIZE(vvideo_consumers),
@@ -285,6 +281,7 @@ static struct regulator_init_data vgen2_init = {
.min_uV = mV_to_uV(1200),
.max_uV = mV_to_uV(3150),
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
+ .always_on = 1,
}
};

@@ -294,6 +291,7 @@ static struct regulator_init_data vgen3_init = {
.min_uV = mV_to_uV(1800),
.max_uV = mV_to_uV(2900),
.valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
+ .always_on = 1,
}
};

@@ -387,6 +385,8 @@ static int mc13892_regulator_init(struct mc13892 *mc13892)
mc13892_register_regulator(mc13892, MC13892_GPO3, &gpo3_init);
mc13892_register_regulator(mc13892, MC13892_GPO4, &gpo4_init);

+ regulator_has_full_constraints();
+
return 0;
}

--
1.7.0.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 12:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org