Skip to content

Commit 67880f1

Browse files
Prashant MalaniEnric Balletbo i Serra
authored andcommitted
platform/chrome: cros_ec: Add Type C hard reset
Update the EC command header to include the new event bit. This bit is included in the latest version of the Chrome EC headers[1]. [1] https://chromium.googlesource.com/chromiumos/platform/ec/+/refs/heads/main/include/ec_commands.h Signed-off-by: Prashant Malani <[email protected]> Signed-off-by: Enric Balletbo i Serra <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 670160f commit 67880f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/platform_data/cros_ec_commands.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5678,6 +5678,7 @@ enum tcpc_cc_polarity {
56785678

56795679
#define PD_STATUS_EVENT_SOP_DISC_DONE BIT(0)
56805680
#define PD_STATUS_EVENT_SOP_PRIME_DISC_DONE BIT(1)
5681+
#define PD_STATUS_EVENT_HARD_RESET BIT(2)
56815682

56825683
struct ec_params_typec_status {
56835684
uint8_t port;

0 commit comments

Comments
 (0)