aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorVasily Khoruzhick <anarsoul@gmail.com>2011-03-13 11:19:18 -0400
committerMarek Vasut <marek.vasut@gmail.com>2011-03-16 09:56:02 -0400
commit233cdbce55b8948b46fcd76ad77c1f33b8c01095 (patch)
treedae46491d69c3c9ea4bbdf96deb33f0d7a30da44 /arch/arm/mach-pxa
parent2e62344de8e2a7e402fe2a009c3d09bc6fd589e6 (diff)
ARM: PXA: Z2: Fix battery pdata
Fix coefficients to get actual voltage, and make voltage_max/voltage_min looks like values for LiIon battery. Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Marek Vasut <marek.vasut@gmail.com>
Diffstat (limited to 'arch/arm/mach-pxa')
-rw-r--r--arch/arm/mach-pxa/z2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-pxa/z2.c b/arch/arm/mach-pxa/z2.c
index db6199c74ebb..31db09bb0b5c 100644
--- a/arch/arm/mach-pxa/z2.c
+++ b/arch/arm/mach-pxa/z2.c
@@ -476,9 +476,9 @@ static struct z2_battery_info batt_chip_info = {
476 .batt_I2C_addr = 0x55, 476 .batt_I2C_addr = 0x55,
477 .batt_I2C_reg = 2, 477 .batt_I2C_reg = 2,
478 .charge_gpio = GPIO0_ZIPITZ2_AC_DETECT, 478 .charge_gpio = GPIO0_ZIPITZ2_AC_DETECT,
479 .min_voltage = 2400000, 479 .min_voltage = 3475000,
480 .max_voltage = 3700000, 480 .max_voltage = 4190000,
481 .batt_div = 69, 481 .batt_div = 59,
482 .batt_mult = 1000000, 482 .batt_mult = 1000000,
483 .batt_tech = POWER_SUPPLY_TECHNOLOGY_LION, 483 .batt_tech = POWER_SUPPLY_TECHNOLOGY_LION,
484 .batt_name = "Z2", 484 .batt_name = "Z2",