diff options
author | Diana Z <dzigterman@chromium.org> | 2021-06-23 14:46:19 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-01 17:15:24 +0000 |
commit | 61dc921ce1b8487e45cd162979350d6849faa016 (patch) | |
tree | a39eaceec9b7dbd3b0233a64ee481ffe0fd5a047 /include | |
parent | 1042855d09befb5e13499ee4ec34c88f5480730e (diff) | |
download | chrome-ec-61dc921ce1b8487e45cd162979350d6849faa016.tar.gz |
Typec: Add disconnected status event
Add an event bit to represent that the port has been disconnected.
BRANCH=None
BUG=b:188330043
TEST=make -j buildall
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: Ia0975cae66d81a3ef066e62632d8cd0b453b9a3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2983991
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-by: Prashant Malani <pmalani@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 1aa48273c9..bda9bb5378 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -6691,6 +6691,7 @@ enum tcpc_cc_polarity { #define PD_STATUS_EVENT_SOP_DISC_DONE BIT(0) #define PD_STATUS_EVENT_SOP_PRIME_DISC_DONE BIT(1) #define PD_STATUS_EVENT_HARD_RESET BIT(2) +#define PD_STATUS_EVENT_DISCONNECTED BIT(3) /* * Encode and decode for BCD revision response |