summaryrefslogtreecommitdiff
path: root/board/kunimitsu/board.h
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2016-03-22 16:09:35 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-04-03 10:27:36 -0700
commit33fd731ca10e72664acb20196c2cfb7573e4ae4c (patch)
tree881280f00f4a29ba4807b2ddc0b8928298c406b3 /board/kunimitsu/board.h
parentbe731e262cc1061ab6f8b5e648ed7bfc792b681a (diff)
downloadchrome-ec-33fd731ca10e72664acb20196c2cfb7573e4ae4c.tar.gz
charge_manager: Report UNKNOWN USB charger for 2 seconds after change
After a charger is attached, we may set a charge limit based upon BC1.2 or USB-C Rp before PD negotiation completes. Therefore, allow 2 seconds for all negotiation to complete. Previously this behavior was implicit when using SW charge ramp. BUG=chrome-os-partner:51280 BRANCH=glados TEST=Manual on chell. Insert stock charger, verify that it is detected as TYPE_UNKNOWN until timeout. Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Change-Id: I52f02de46fa92b66a9fbaddb94a062310688f028 Reviewed-on: https://chromium-review.googlesource.com/334312 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board/kunimitsu/board.h')
-rw-r--r--board/kunimitsu/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/kunimitsu/board.h b/board/kunimitsu/board.h
index 126ce385e9..e3ac065e21 100644
--- a/board/kunimitsu/board.h
+++ b/board/kunimitsu/board.h
@@ -134,7 +134,7 @@
#define I2C_PORT_USB_CHARGER_2 MEC1322_I2C0_0
#undef DEFERRABLE_MAX_COUNT
-#define DEFERRABLE_MAX_COUNT 16
+#define DEFERRABLE_MAX_COUNT 17
#define CONFIG_ALS
#define CONFIG_ALS_OPT3001