summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Richardson <wfrichar@chromium.org>2013-10-30 10:29:06 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2013-10-30 19:44:40 +0000
commitea71b8c2a7f5fd55717f6dc65a996e8e0bcf0ebb (patch)
treec467fb8c370e81718854072cc494ec0ec1f4933b
parent8eacb8ffe21dbadb963d9cd9be958c8678346591 (diff)
downloadchrome-ec-ea71b8c2a7f5fd55717f6dc65a996e8e0bcf0ebb.tar.gz
samus: set max input current to something safe
If the input current limit is too high the EC sees the AC_PRESENT signal toggle rapidly, probably due to the adapter browning out. By trial-and-error, we found a value that seems to stop that happening. BUG=chrome-os-partner:23449 BRANCH=samus TEST=emerge-samus chromeos-ec Let the battery run down a bit, plug the adapter in, watch the EC console to see what happens. Make sure it doesn't go nuts. Change-Id: I812685efd312fce82eb117bb722425ae6276fdd1 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/175037 Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
-rw-r--r--board/samus/board.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/samus/board.h b/board/samus/board.h
index 3bf2f4621a..f93a8b42dc 100644
--- a/board/samus/board.h
+++ b/board/samus/board.h
@@ -34,8 +34,7 @@
/* 10mOhm sense resitors. */
#define CONFIG_CHARGER_SENSE_RESISTOR 10
#define CONFIG_CHARGER_SENSE_RESISTOR_AC 10
-/* HEY: what value for External Charger maximum current? */
-#define CONFIG_CHARGER_INPUT_CURRENT 5000
+#define CONFIG_CHARGER_INPUT_CURRENT 2000
#define CONFIG_FAN
#define CONFIG_FAN_CH_CPU 2
#define CONFIG_FAN_RPM_MIN 1000