summaryrefslogtreecommitdiff
path: root/include/ec_commands.h
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2020-10-15 11:27:13 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-26 18:22:44 +0000
commit8a4a98641799f54ce93ef707288d1fc1a7d35db0 (patch)
tree95f36160b1aace0fda796b4298cd239ff10a4196 /include/ec_commands.h
parentaf21737a0eac063700e6b9bab4c50be82f66bbaf (diff)
downloadchrome-ec-8a4a98641799f54ce93ef707288d1fc1a7d35db0.tar.gz
features: Define AP-driven mode entry
Add EC_FEATURE_TYPEC_REQURE_AP_MODE_ENTRY. BUG=b:168030639 TEST=make buildall BRANCH=none Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Change-Id: I413abdfb123b3b7119fa1862b018557de81c2cbd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2411181 Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r--include/ec_commands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index c378847904..05f470f12a 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -1402,6 +1402,11 @@ enum ec_feature_code {
EC_FEATURE_ISH = 40,
/* New TCPMv2 TYPEC_ prefaced commands supported */
EC_FEATURE_TYPEC_CMD = 41,
+ /*
+ * The EC will wait for direction from the AP to enter Type-C alternate
+ * modes or USB4.
+ */
+ EC_FEATURE_TYPEC_REQUIRE_AP_MODE_ENTRY = 42,
};
#define EC_FEATURE_MASK_0(event_code) BIT(event_code % 32)