diff options
author | Johan Palsson <johan.palsson@stericsson.com> | 2011-02-10 10:47:36 +0100 |
---|---|---|
committer | Linus WALLEIJ <linus.walleij@stericsson.com> | 2011-02-11 13:41:25 +0100 |
commit | 47ac188054c357ffbe309eced1a63eec26c4f7de (patch) | |
tree | 8aea236484507a1165428d723c389c84fa1625b0 | |
parent | e1a442f719d13b4e095fd0fdd2258dc0331f28c6 (diff) |
ARM: ux500: New battery type for Li-ion batteryu8500-android-2.3_v0.12
A new battery type is added to support different identification
resistance for the battery BL-5F (Li-ion)
ST-Ericsson ID: ER323321
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: Ie990b5b84699e7ff0c16a5653d902682ad831436
Signed-off-by: Johan Palsson <johan.palsson@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14908
Reviewed-by: Karl KOMIEROWSKI <karl.komierowski@stericsson.com>
Reviewed-by: Linus WALLEIJ <linus.walleij@stericsson.com>
-rw-r--r-- | arch/arm/mach-ux500/board-mop500.c | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index b5009cc9f3e..ea4b6e2167d 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -986,6 +986,28 @@ static struct battery_type bat_type[] = { }, { .name = POWER_SUPPLY_TECHNOLOGY_LION, + .resis_high = 30000, + .resis_low = 10000, + .battery_resistance = 300, + .charge_full_design = 950, + .nominal_voltage = 3700, + .termination_vol = 4200, + .termination_curr = 100, + .normal_op_cur_lvl = 700, + .normal_ip_vol_lvl = 4200, + .maint_a_op_cur_lvl = 600, + .maint_a_ip_vol_lvl = 4150, + .maint_a_chg_timer_h = 60, + .maint_b_op_cur_lvl = 600, + .maint_b_ip_vol_lvl = 4100, + .maint_b_chg_timer_h = 200, + .low_high_op_cur_lvl = 300, + .low_high_ip_vol_lvl = 4000, + .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl_type_N), + .v_to_cap_tbl = cap_tbl_type_N, + }, + { + .name = POWER_SUPPLY_TECHNOLOGY_LION, .resis_high = 95000, .resis_low = 76001, .battery_resistance = 300, @@ -1005,7 +1027,7 @@ static struct battery_type bat_type[] = { .low_high_ip_vol_lvl = 4000, .n_v_cap_tbl_elements = ARRAY_SIZE(cap_tbl_type_N), .v_to_cap_tbl = cap_tbl_type_N, - } + }, #endif }; |