summaryrefslogtreecommitdiff
path: root/board/copano
diff options
context:
space:
mode:
authorMichael5 Chen1 <michael5_chen1@pegatron.corp-partner.google.com>2021-04-19 15:02:50 +0800
committerCommit Bot <commit-bot@chromium.org>2021-04-19 16:12:47 +0000
commit0d669d95d4b9062290cfd30acdb32c69f5f396cd (patch)
tree2cee7cfbd99682916b13e33a7bf50f0cd264c2b2 /board/copano
parent621f34cce4ebd777b9c88c25fb26401ff2e7ea96 (diff)
downloadchrome-ec-0d669d95d4b9062290cfd30acdb32c69f5f396cd.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>
Diffstat (limited to 'board/copano')
-rw-r--r--board/copano/board.h2
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