summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2021-02-25 16:58:40 -0700
committerCommit Bot <commit-bot@chromium.org>2021-03-04 19:37:59 +0000
commit492708fb1ba9fa1b9f2d6bee539259569c1e9796 (patch)
tree3c253bbc4b5dac468e93d48c331aaca205c815d7
parent756dc91b0a57aa6d557ee4cb486972d8a7b8106a (diff)
downloadchrome-ec-492708fb1ba9fa1b9f2d6bee539259569c1e9796.tar.gz
drobit: Enable AP-driven alt mode entry
Wait for the AP to direct the EC to enter USB PD alternate modes. BUG=b:150611251,b:181144682 TEST=make buildall; observe alt mode entry BRANCH=firmware-volteer-13672.B-main Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: Ia83043e30495861ebd4f0d2c8250d3755b61b851 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2727839 Tested-by: Prashant Malani <pmalani@chromium.org> Tested-by: Eric Herrmann <eherrmann@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
-rw-r--r--board/drobit/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/drobit/board.h b/board/drobit/board.h
index db01a25c8c..61c89442b0 100644
--- a/board/drobit/board.h
+++ b/board/drobit/board.h
@@ -61,6 +61,8 @@
#define PD_MAX_CURRENT_MA 3000
#define PD_MAX_VOLTAGE_MV 20000
+#define CONFIG_USB_PD_REQUIRE_AP_MODE_ENTRY
+
/* Enabling Thunderbolt-compatible mode */
#define CONFIG_USB_PD_TBT_COMPAT_MODE