aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power/ab8500_bmdata.c
diff options
context:
space:
mode:
authorRajanikanth H.V <rajanikanth.hv@stericsson.com>2012-11-18 22:16:58 -0500
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-18 22:37:14 -0500
commitbd9e8ab2d58d2183aa723bf0eb8e07d4362b4975 (patch)
treeed60bb0d0582b425cbfea321f80a115a6dc10b36 /drivers/power/ab8500_bmdata.c
parente0f1abeba5c2d8a2183566717d99294fd1a29c2e (diff)
ab8500: Add devicetree support for btemp
This patch adds device tree support for battery-temperature-monitor driver Signed-off-by: Rajanikanth H.V <rajanikanth.hv@stericsson.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/ab8500_bmdata.c')
-rw-r--r--drivers/power/ab8500_bmdata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/ab8500_bmdata.c b/drivers/power/ab8500_bmdata.c
index e7639b6659f7..03cc528425cb 100644
--- a/drivers/power/ab8500_bmdata.c
+++ b/drivers/power/ab8500_bmdata.c
@@ -30,7 +30,7 @@ static struct abx500_res_to_temp temp_tbl_A_thermistor[] = {
30}; 30};
31 31
32static struct abx500_res_to_temp temp_tbl_B_thermistor[] = { 32static struct abx500_res_to_temp temp_tbl_B_thermistor[] = {
33 {-5, 165418}, 33 {-5, 200000},
34 { 0, 159024}, 34 { 0, 159024},
35 { 5, 151921}, 35 { 5, 151921},
36 {10, 144300}, 36 {10, 144300},
@@ -240,7 +240,7 @@ static struct abx500_battery_type bat_type_thermistor[] = {
240}, 240},
241{ 241{
242 .name = POWER_SUPPLY_TECHNOLOGY_LIPO, 242 .name = POWER_SUPPLY_TECHNOLOGY_LIPO,
243 .resis_high = 165418, 243 .resis_high = 200000,
244 .resis_low = 82869, 244 .resis_low = 82869,
245 .battery_resistance = 300, 245 .battery_resistance = 300,
246 .charge_full_design = 900, 246 .charge_full_design = 900,