summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2013-07-17 15:07:24 -0700
committerChromeBot <chrome-bot@google.com>2013-07-18 10:33:09 -0700
commitb725561ef678bc34777e3491d4454d3220f86608 (patch)
treebad46e49d7b8a8b6f6ed57292a2e3e76f8d5153f
parenta1014712c4b18ef3b2ccfa9413d3ba1ccff82b35 (diff)
downloadchrome-ec-b725561ef678bc34777e3491d4454d3220f86608.tar.gz
spring: set fast charge timeout to 10 hours
We don't want the TPS65090 to cut the charge too early due to the fast charge safety timer expiring, so set the timeout value to the maximum : 10 hours as depending on the charger (and system current draw) the charge might be long. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=spring BUG=chrome-os-partner:20768 TEST=monitor the AC power draw in S5 as described in the issue. Change-Id: I0a1cc49bf9baccdeb826941b087a1b39f6035853 Reviewed-on: https://gerrit.chromium.org/gerrit/62405 Reviewed-by: Todd Broch <tbroch@chromium.org> Reviewed-by: Vic Yang <victoryang@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--board/spring/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/spring/board.c b/board/spring/board.c
index 2b80f462b7..9882063a9b 100644
--- a/board/spring/board.c
+++ b/board/spring/board.c
@@ -284,9 +284,9 @@ int board_pmu_init(void)
failure |= pmu_set_term_voltage(RANGE_T34, TERM_V2100);
failure |= pmu_set_term_voltage(RANGE_T40, TERM_V2100);
- /* Set fast charging timeout to 6 hours*/
+ /* Set fast charging timeout to 10 hours*/
if (!failure)
- failure = pmu_set_fastcharge(TIMEOUT_6HRS);
+ failure = pmu_set_fastcharge(TIMEOUT_10HRS);
/* Enable external gpio CHARGER_EN control */
if (!failure)
failure = pmu_enable_ext_control(1);