From 61dc921ce1b8487e45cd162979350d6849faa016 Mon Sep 17 00:00:00 2001 From: Diana Z Date: Wed, 23 Jun 2021 14:46:19 -0600 Subject: 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 Change-Id: Ia0975cae66d81a3ef066e62632d8cd0b453b9a3a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2983991 Reviewed-by: Abe Levkoy Reviewed-by: Prashant Malani --- include/ec_commands.h | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.1