diff options
author | Gwendal Grignou <gwendal@chromium.org> | 2020-11-03 17:33:04 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-05 21:49:54 +0000 |
commit | 00844d592d2db088abb32bbfdafa7e1cf3832561 (patch) | |
tree | 9d475a3ff78c7b014b9f97af9e735fff52f4261b /include/ec_commands.h | |
parent | 0d05b3eed45e684f37eb49d1e6cce69d32ccc0b7 (diff) | |
download | chrome-ec-00844d592d2db088abb32bbfdafa7e1cf3832561.tar.gz |
ec_commands: unify comments from kernel ec_command
Merge changes from crrev.com/c/2044498 into ec code base.
Fixes a8b2362e82e1 ("TCPMv1: Cleanup sending TBT control flags to host")
Fixes 340804c765a2 ("usb_pd: Sending Thunderbolts-compatible host notification")
BUG=b:147460168,b:148114593,b:140644242
BRANCH=none
TEST=Compile
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Change-Id: I0a08c21d375d055eb010a6752807d82f5e8e0003
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2520296
Reviewed-by: Vijay P Hiremath <vijay.p.hiremath@intel.com>
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include/ec_commands.h')
-rw-r--r-- | include/ec_commands.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 05f470f12a..50e5268165 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -5405,10 +5405,6 @@ enum pd_cc_states { /* Active Link Uni-Direction */ #define USB_PD_CTRL_ACTIVE_LINK_UNIDIR BIT(3) -/* - * Underdevelopement : - * Please remove this tag if using _v2 outside platform/ec - */ struct ec_response_usb_pd_control_v2 { uint8_t enabled; uint8_t role; @@ -5418,8 +5414,7 @@ struct ec_response_usb_pd_control_v2 { uint8_t dp_mode; /* Current DP pin mode (MODE_DP_PIN_[A-E]) */ uint8_t reserved; /* Reserved for future use */ uint8_t control_flags; /* USB_PD_CTRL_*flags */ - /* TODO: b:158234949 Add definitions for cable speed */ - uint8_t cable_speed; /* USB_R30_SS/TBT_SS_* cable speed */ + uint8_t cable_speed; /* TBT_SS_* cable speed */ uint8_t cable_gen; /* TBT_GEN3_* cable rounded support */ } __ec_align1; |