Skip to content

Commit

Permalink
ARM: PXA: Z2: Fix battery pdata
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasily Khoruzhick authored and Marek Vasut committed Mar 16, 2011
1 parent 2e62344 commit 233cdbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/arm/mach-pxa/z2.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,9 +476,9 @@ static struct z2_battery_info batt_chip_info = {
.batt_I2C_addr = 0x55,
.batt_I2C_reg = 2,
.charge_gpio = GPIO0_ZIPITZ2_AC_DETECT,
.min_voltage = 2400000,
.max_voltage = 3700000,
.batt_div = 69,
.min_voltage = 3475000,
.max_voltage = 4190000,
.batt_div = 59,
.batt_mult = 1000000,
.batt_tech = POWER_SUPPLY_TECHNOLOGY_LION,
.batt_name = "Z2",
Expand Down

0 comments on commit 233cdbc

Please sign in to comment.