diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2016-03-22 16:09:35 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-04-03 10:27:36 -0700 |
commit | 33fd731ca10e72664acb20196c2cfb7573e4ae4c (patch) | |
tree | 881280f00f4a29ba4807b2ddc0b8928298c406b3 /board/strago/board.h | |
parent | be731e262cc1061ab6f8b5e648ed7bfc792b681a (diff) | |
download | chrome-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/strago/board.h')
-rw-r--r-- | board/strago/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/strago/board.h b/board/strago/board.h index 77f26afdb3..f16126d979 100644 --- a/board/strago/board.h +++ b/board/strago/board.h @@ -91,7 +91,7 @@ #define CONFIG_BUTTON_COUNT 2 #undef DEFERRABLE_MAX_COUNT -#define DEFERRABLE_MAX_COUNT 12 +#define DEFERRABLE_MAX_COUNT 13 #define CONFIG_ADC |