aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorBengt Jonsson <bengt.g.jonsson@stericsson.com>2011-02-25 13:09:30 +0100
committerJonas ABERG <jonas.aberg@stericsson.com>2011-02-28 13:11:56 +0100
commit90717dd11bc5712ff03dd2470675973bd6c0e7de (patch)
treef7c0b534c3ae1253c5711b87e0da0c172d1455bf /drivers/regulator
parentad550aad50e3ad2538037a788570d4704b19ec48 (diff)
regulators: Force off VextSupply3
VextSupply3 is forced off instead of HW control from sysclkreq1. Change-Id: I77dd7ace1eff3591c237ce4a4c258dcb0a7ebf00 Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/17060 Reviewed-by: QATOOLS Reviewed-by: Martin PERSSON <martin.persson@stericsson.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/ab8500-debug.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/drivers/regulator/ab8500-debug.c b/drivers/regulator/ab8500-debug.c
index 184826a9c62..24eebfba69b 100644
--- a/drivers/regulator/ab8500-debug.c
+++ b/drivers/regulator/ab8500-debug.c
@@ -132,28 +132,25 @@ static struct ab8500_force_reg ab8500_force_reg[] = {
/*
* ReguSysClkReq1HPValid2
* OTP: 0x03, HSI: 0x40, suspend: 0x60/0x70 (value/mask)
- * [ 6] VextSupply3SysClkReq1HPValid = Vext3 set by SysClkReq1
* [ 5] VextSupply2SysClkReq1HPValid = Vext2 set by SysClkReq1
- * [ 4] VextSupply1SysClkReq1HPValid = no connection
*/
.name = "ReguSysClkReq1HPValid2",
.bank = 0x03,
.addr = 0x08,
- .mask = 0x70, /* test and compare with 0x7f */
- .val = 0x60,
+ .mask = 0x20, /* test and compare with 0x7f */
+ .val = 0x20,
},
{
/*
* ReguRequestCtrl3
* OTP: 0x00, HSI: 0x00, suspend: 0x05/0x0f (value/mask)
- * [3:2] VExtSupply3RequestCtrl[1:0] = VExt3 set in HP/OFF mode
* [1:0] VExtSupply2RequestCtrl[1:0] = VExt2 set in HP/OFF mode
*/
.name = "ReguRequestCtrl3",
.bank = 0x03,
.addr = 0x05,
- .mask = 0x0f, /* test and compare with 0xff */
- .val = 0x05,
+ .mask = 0x03, /* test and compare with 0xff */
+ .val = 0x01,
},
{
/*
@@ -264,7 +261,7 @@ static struct ab8500_force_reg ab8500_force_reg[] = {
/*
* ExtSupplyRegu (HSI: 0x2a on v2-v40?)
* OTP: 0x15, HSI: 0x28, suspend: 0x28/0x3f (value/mask)
- * [5:4] VExtSupply3Regu[1:0] = 10 = Vext3 in HW control
+ * [5:4] VExtSupply3Regu[1:0] = 10 = Vext3 off
* [3:2] VExtSupply2Regu[1:0] = 10 = Vext2 in HW control
* [1:0] VExtSupply1Regu[1:0] = 00 = Vext1 off
*/
@@ -272,7 +269,7 @@ static struct ab8500_force_reg ab8500_force_reg[] = {
.bank = 0x04,
.addr = 0x08,
.mask = 0x3f,
- .val = 0x28,
+ .val = 0x08,
},
{
/*