summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHyongbin Kim <hyongbink@nvidia.com>2013-08-06 18:11:17 +0900
committerGabby Lee <galee@nvidia.com>2013-08-07 23:30:04 -0700
commitc63908df1cd20586cb2481ee8371092416581ae8 (patch)
tree9499fa13d69c5975e60ae69029b98f63e7bc70aa /include
parentb530ca75905cf10cfb436de78f0130d3d1a13d4b (diff)
power: max17048: apply RCOMP for temp compensation
Fuel gauge need to compensate the RCOMP value according to Battery temperature chaging. For best performance, reduce period to 10sec and apply new RCOMP when temperature is changed over 1.5C. Bug 1304204 Bug 1317331 Change-Id: I4e74d1e39d68297c5df9fccad0cb2879b7663e34 Signed-off-by: Hyongbin Kim <hyongbink@nvidia.com> Reviewed-on: http://git-master/r/258671 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bo Kim <bok@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Gabby Lee <galee@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/max17048_battery.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/max17048_battery.h b/include/linux/max17048_battery.h
index f56cf0fea8cc..4950f35f29b0 100644
--- a/include/linux/max17048_battery.h
+++ b/include/linux/max17048_battery.h
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2009 Samsung Electronics
- * Copyright (C) 2012 Nvidia Cooperation
+ * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved.
* Minkyu Kang <mk7.kang@samsung.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -27,6 +27,8 @@ struct max17048_battery_model {
uint16_t vreset;
uint16_t valert;
uint16_t ocvtest;
+ int t_co_hot;
+ int t_co_cold;
uint8_t data_tbl[MAX17048_DATA_SIZE];
};