diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2021-04-01 16:53:52 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-04-15 00:19:15 +0000 |
commit | 483e42d53b0ffe78b1d24607d39eb31bc7e80c79 (patch) | |
tree | 6caef22707a2db1f3939bf9743801a258f6c5c3d /include/ec_commands.h | |
parent | 0e30757012ae4daaa97593a781f74d1bfd83e13d (diff) | |
download | chrome-ec-483e42d53b0ffe78b1d24607d39eb31bc7e80c79.tar.gz |
TCPMv2: Generate Hard Reset event
Inform the AP when the PRL completes a Hard Reset.
BUG=b:183946291
TEST=Observe event during transition-to-default states
TEST=With kernel patch, observe mode reentry after Hard Reset
BRANCH=firmware-volteer-13672.B-main
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: I4af576bd3a8fb57d820bd91d74817040214eaa5b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2799924
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 2df691b3f8..df690e65ac 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -6649,6 +6649,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) /* * Encode and decode for BCD revision response |