summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2014-05-22 15:02:13 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-05-23 04:50:19 +0000
commit113ea43a6986404132ce782288ee4ccb95ffe17d (patch)
tree2084d5a524ac6e65b5ea405473a878c9f77a97d0
parent45be37b5d9bb1f3d2e9c65e04c02ca8a906bdd54 (diff)
downloadchrome-ec-113ea43a6986404132ce782288ee4ccb95ffe17d.tar.gz
samus: limit input current to 2.5A to prevent over currenting zinger
Set maximum input current limit to ~2.5A to prevent over current faults on zinger. Note, we still get over current faults sometimes but it always clears in < 10seconds. BUG=chrome-os-partner:28611 BRANCH=none TEST=Test with a samus 1.9 and a zinger. Plug and unplug charger many times and make sure that we are eventually able to successfully negotiate for power and start charging. Change-Id: I5a7adf9fc7f5ed7a0c7dfdb620e0c1474f72a878 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/201154 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
-rw-r--r--driver/battery/samus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/battery/samus.c b/driver/battery/samus.c
index d0c67146a2..72b1035e97 100644
--- a/driver/battery/samus.c
+++ b/driver/battery/samus.c
@@ -52,7 +52,7 @@ const struct battery_info *battery_get_info(void)
* wanted it in the first place.
*/
/* FIXME(crosbug.com/p/24461): determine correct values for this */
-#define MAX_INPUT_CURRENT 3200
+#define MAX_INPUT_CURRENT 2432
#define INPUT_CURRENT_INCR 64
static int fast_charging_allowed;