summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohan Palsson <johan.palsson@stericsson.com>2011-07-07 11:45:03 +0200
committerRobert Marklund <robert.marklund@stericsson.com>2011-10-05 12:52:55 +0200
commit38307e8f5a0e97d41f5ecf7045fc5d4f3a11ffb3 (patch)
treee71ebd24458a101d0c57a4187f21e920a0bd2270 /include
parentd8282e28b4d4668b52a4a4ff735bf66e07a6f6ca (diff)
power: ab8500_bm: Measure battery temperature when not charging
Battery temperature is now measured even when no charger is connected. ST-Ericsson ID: 342846 ST-Ericsson Linux next: Not tested ST-Ericsson FOSS-OUT ID: Trivial Change-Id: Ia861437635bcdcdc32b259aff05d889b449ee682 Signed-off-by: Johan Palsson <johan.palsson@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/26608 Reviewed-by: QATEST Reviewed-by: Mattias WALLIN <mattias.wallin@stericsson.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/ab8500/bm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/mfd/ab8500/bm.h b/include/linux/mfd/ab8500/bm.h
index 2ca4d8779cb..acde23b2a19 100644
--- a/include/linux/mfd/ab8500/bm.h
+++ b/include/linux/mfd/ab8500/bm.h
@@ -394,6 +394,8 @@ struct ab8500_bm_charger_parameters {
* @temp_low between this temp and temp_under charging is reduced
* @temp_high between this temp and temp_over charging is reduced
* @temp_over over this temp, charging is stopped
+ * @temp_interval_chg temperature measurement interval in s when charging
+ * @temp_interval_nochg temperature measurement interval in s when not charging
* @main_safety_tmr_h safety timer for main charger
* @usb_safety_tmr_h safety timer for usb charger
* @bkup_bat_v voltage which we charge the backup battery with
@@ -419,6 +421,8 @@ struct ab8500_bm_data {
int temp_low;
int temp_high;
int temp_over;
+ int temp_interval_chg;
+ int temp_interval_nochg;
int main_safety_tmr_h;
int usb_safety_tmr_h;
int bkup_bat_v;