[PATCH 3/8] ARM: PXA: Z2: Fix battery pdata

Marek Vasut marek.vasut at gmail.com
Fri Mar 11 16:39:53 EST 2011


On Friday 11 March 2011 11:23:38 Vasily Khoruzhick wrote:
> Fix coefficients to get actual voltage, and make
> voltage_max/voltage_min looks like values for LiIon battery.
> 
> Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>

You can have my:

Acked-by: Marek Vasut <marek.vasut at gmail.com>

on this one.
> ---
>  arch/arm/mach-pxa/z2.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/arch/arm/mach-pxa/z2.c b/arch/arm/mach-pxa/z2.c
> index dde3f1c..bffb920 100644
> --- a/arch/arm/mach-pxa/z2.c
> +++ b/arch/arm/mach-pxa/z2.c
> @@ -463,9 +463,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",



More information about the linux-arm-kernel mailing list