summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2020-02-14 10:38:35 -0700
committerCommit Bot <commit-bot@chromium.org>2020-02-14 23:50:38 +0000
commitb55607c5df6e4a8f1b80b5bcbb0a938b3674b464 (patch)
tree1618bfc6ee2f5539761dc0e42f2de4d347c61f93 /include
parent27e3b57d2f37edd49b04bfa89ca6dd9c14c6c1ea (diff)
downloadchrome-ec-b55607c5df6e4a8f1b80b5bcbb0a938b3674b464.tar.gz
tcpci: Rename TCPC_FLAGS_TCPCI_V2_0 to TCPC_FLAGS_TCPCI_REV2_0
Align naming of TCPC_FLAGS_TCPCI_V2_0 to match spec: "USB Type-C Port Controller Interface Specification" "Revision 2.0, Version 1.0" BUG=none BRANCH=none TEST=none Change-Id: I27752847581e449c3a2f6be438704d3e514c937d Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2057375 Reviewed-by: Diana Z <dzigterman@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/usb_pd_tcpm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h
index 20d812d37b..9c9753ad90 100644
--- a/include/usb_pd_tcpm.h
+++ b/include/usb_pd_tcpm.h
@@ -413,12 +413,12 @@ struct tcpm_drv {
* Bit 0 --> Polarity for TCPC alert. Set to 1 if alert is active high.
* Bit 1 --> Set to 1 if TCPC alert line is open-drain instead of push-pull.
* Bit 2 --> Polarity for TCPC reset. Set to 1 if reset line is active high.
- * Bit 3 --> Set to 1 if TCPC is using TCPCI Version 2.0
+ * Bit 3 --> Set to 1 if TCPC is using TCPCI Revision 2.0
*/
#define TCPC_FLAGS_ALERT_ACTIVE_HIGH BIT(0)
#define TCPC_FLAGS_ALERT_OD BIT(1)
#define TCPC_FLAGS_RESET_ACTIVE_HIGH BIT(2)
-#define TCPC_FLAGS_TCPCI_V2_0 BIT(3)
+#define TCPC_FLAGS_TCPCI_REV2_0 BIT(3)
struct tcpc_config_t {
enum ec_bus_type bus_type; /* enum ec_bus_type */