Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272760
b: refs/heads/master
c: 58e241f
h: refs/heads/master
v: v3
  • Loading branch information
Patrick Titiano authored and Kevin Hilman committed Sep 15, 2011
1 parent a3105a9 commit becc4fd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 42b43945e0f115412dd0b7f0c3609a8b6f24f5e5
refs/heads/master: 58e241f7be8dfbb19fa8f5bf8b2e56bb6d655752
14 changes: 7 additions & 7 deletions trunk/arch/arm/mach-omap2/omap_twl.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ static unsigned long twl6030_vsel_to_uv(const u8 vsel)
return 1350000;

if (smps_offset & 0x8)
return ((((vsel - 1) * 125) + 7000)) * 100;
return ((((vsel - 1) * 1266) + 70900)) * 10;
else
return ((((vsel - 1) * 125) + 6000)) * 100;
return ((((vsel - 1) * 1266) + 60770)) * 10;
}

static u8 twl6030_uv_to_vsel(unsigned long uv)
Expand Down Expand Up @@ -138,9 +138,9 @@ static u8 twl6030_uv_to_vsel(unsigned long uv)
return 0x3A;

if (smps_offset & 0x8)
return DIV_ROUND_UP(uv - 700000, 12500) + 1;
return DIV_ROUND_UP(uv - 709000, 12660) + 1;
else
return DIV_ROUND_UP(uv - 600000, 12500) + 1;
return DIV_ROUND_UP(uv - 607700, 12660) + 1;
}

static struct omap_voltdm_pmic omap3_mpu_pmic = {
Expand Down Expand Up @@ -187,7 +187,7 @@ static struct omap_voltdm_pmic omap3_core_pmic = {

static struct omap_voltdm_pmic omap4_mpu_pmic = {
.slew_rate = 4000,
.step_size = 12500,
.step_size = 12660,
.on_volt = 1350000,
.onlp_volt = 1350000,
.ret_volt = 837500,
Expand All @@ -208,7 +208,7 @@ static struct omap_voltdm_pmic omap4_mpu_pmic = {

static struct omap_voltdm_pmic omap4_iva_pmic = {
.slew_rate = 4000,
.step_size = 12500,
.step_size = 12660,
.on_volt = 1100000,
.onlp_volt = 1100000,
.ret_volt = 837500,
Expand All @@ -229,7 +229,7 @@ static struct omap_voltdm_pmic omap4_iva_pmic = {

static struct omap_voltdm_pmic omap4_core_pmic = {
.slew_rate = 4000,
.step_size = 12500,
.step_size = 12660,
.on_volt = 1100000,
.onlp_volt = 1100000,
.ret_volt = 837500,
Expand Down

0 comments on commit becc4fd

Please sign in to comment.