aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/board-mop500.c
diff options
context:
space:
mode:
authorArun Murthy <arun.murthy@stericsson.com>2010-05-13 09:37:51 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:19 -0600
commit854f513da7dbd113dc4913a8ba42dc8c6453f9e6 (patch)
tree61b1f82116f42420422af7a8e6804b082a363305 /arch/arm/mach-ux500/board-mop500.c
parentd6473bc3892208dc4e41e29cb19faed1aa5229f9 (diff)
ER:260350 CorePl: Battery type is not detected.
Battery detection supported for the below batteries Nokia BL-5F Li-Ion Nokia BP-5M Li-Poly Change-Id: I08b567d572c17fa2046419b1f2d1fc1d13749038 Signed-off-by: Arun Murthy <arun.murthy@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/board-mop500.c')
-rwxr-xr-xarch/arm/mach-ux500/board-mop500.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c
index 65472750e68..4595e74ae09 100755
--- a/arch/arm/mach-ux500/board-mop500.c
+++ b/arch/arm/mach-ux500/board-mop500.c
@@ -971,7 +971,10 @@ static struct platform_device ab8500_gpadc_device = {
};
static struct ab8500_bm_platform_data ab8500_bm_plat_data = {
- .name = POWER_SUPPLY_TECHNOLOGY_LION,
+ .bat_type = {
+ {POWER_SUPPLY_TECHNOLOGY_LION, BATTERY_NOKIA_BL_5F},
+ {POWER_SUPPLY_TECHNOLOGY_LIPO, BATTERY_NOKIA_BP_5M},
+ },
.termination_vol = 4200,
.op_cur_lvl = CH_OP_CUR_LVL_0P9,
.ip_vol_lvl = CH_VOL_LVL_4P2,