summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-11-16 05:22:25 -0500
committerRohan Somvanshi <rsomvanshi@nvidia.com>2012-11-26 04:03:59 -0800
commite48808b12899d42b75888f993c2458f5883a5fb4 (patch)
treeb422cffffbb14a238e70ef619738de8c75eaf343 /arch
parent2d59237f80af7f13e85d2e852bcd47bc9c8ade15 (diff)
ARM: tegra: roth: Set core supply from smps457
Reviewed-on: http://git-master/r/164316 (cherry picked from commit c8556fc31f6c5549ec20cdc2d2328739bbf32371) Change-Id: I816364cbca273fbf5fe8e0b1eac56278546acd4d Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Vikram Kanigiri <vkanigiri@nvidia.com> Reviewed-on: http://git-master/r/164900 Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-tegra/board-roth-power.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board-roth-power.c b/arch/arm/mach-tegra/board-roth-power.c
index 2c97fccad303..7d4d326b952d 100644
--- a/arch/arm/mach-tegra/board-roth-power.c
+++ b/arch/arm/mach-tegra/board-roth-power.c
@@ -118,6 +118,8 @@ static struct regulator_consumer_supply palmas_smps45_supply[] = {
REGULATOR_SUPPLY("vdd_core", NULL),
};
+#define palmas_smps457_supply palmas_smps45_supply
+
static struct regulator_consumer_supply palmas_smps8_supply[] = {
REGULATOR_SUPPLY("avdd_plla_p_c", NULL),
REGULATOR_SUPPLY("avdd_pllx", NULL),
@@ -214,6 +216,7 @@ static struct regulator_consumer_supply palmas_regen2_supply[] = {
PALMAS_PDATA_INIT(smps12, 1200, 1500, NULL, 0, 0, 0);
PALMAS_PDATA_INIT(smps3, 1800, 1800, NULL, 0, 0, 0);
PALMAS_PDATA_INIT(smps45, 900, 1400, NULL, 1, 1, 0);
+PALMAS_PDATA_INIT(smps457, 900, 1400, NULL, 1, 1, 0);
PALMAS_PDATA_INIT(smps8, 1050, 1050, NULL, 0, 1, 1);
PALMAS_PDATA_INIT(smps9, 2800, 2800, NULL, 0, 0, 0);
PALMAS_PDATA_INIT(smps10, 5000, 5000, NULL, 0, 0, 0);
@@ -232,7 +235,7 @@ static struct regulator_init_data *roth_reg_data[PALMAS_NUM_REGS] = {
NULL,
PALMAS_REG_PDATA(smps3),
PALMAS_REG_PDATA(smps45),
- NULL,
+ PALMAS_REG_PDATA(smps457),
NULL,
NULL,
PALMAS_REG_PDATA(smps8),
@@ -270,7 +273,7 @@ PALMAS_REG_INIT(smps12, 0, 0, 0, 0, 0);
PALMAS_REG_INIT(smps123, 0, 0, 0, 0, 0);
PALMAS_REG_INIT(smps3, 0, 0, 0, 0, 0);
PALMAS_REG_INIT(smps45, 0, PALMAS_EXT_CONTROL_NSLEEP, 0, 0, 0);
-PALMAS_REG_INIT(smps457, 0, 0, 0, 0, 0);
+PALMAS_REG_INIT(smps457, 0, PALMAS_EXT_CONTROL_NSLEEP, 0, 0, 0);
PALMAS_REG_INIT(smps6, 0, 0, 0, 0, 0);
PALMAS_REG_INIT(smps7, 0, 0, 0, 0, 0);
PALMAS_REG_INIT(smps8, 0, 0, 0, 0, 0);