diff options
author | Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com> | 2021-04-19 15:02:50 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-20 15:47:32 +0000 |
commit | 85f9bbe65c4e791c3377a119795b0e6c498e0bd9 (patch) | |
tree | 806f55ba646670ad48ace017c7ab46fe5f6a3de8 | |
parent | a687150a3ac7c62df02e34de17d23566082b8e8a (diff) | |
download | chrome-ec-85f9bbe65c4e791c3377a119795b0e6c498e0bd9.tar.gz |
copano: Enable AP-driven alt mode entry
Wait for the AP to direct the EC to enter USB PD alternate modes.
BUG=b:183773805
TEST=make buildall
BRANCH=firmware-volteer-13672.B
Signed-off-by: Michael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com>
Change-Id: Ifc436f4043430f70ddba8563210b0a09cd5daf18
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2835256
Reviewed-by: Zhuohao Lee <zhuohao@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Commit-Queue: Zhuohao Lee <zhuohao@chromium.org>
(cherry picked from commit 0d669d95d4b9062290cfd30acdb32c69f5f396cd)
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2838745
Commit-Queue: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r-- | board/copano/board.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/board/copano/board.h b/board/copano/board.h index 1e3ae118c5..68529d987c 100644 --- a/board/copano/board.h +++ b/board/copano/board.h @@ -74,6 +74,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 |