summaryrefslogtreecommitdiff
path: root/common/usbc/build.mk
diff options
context:
space:
mode:
authorAyushee <ayushee.shah@intel.com>2020-06-16 17:19:17 -0700
committerCommit Bot <commit-bot@chromium.org>2020-06-30 21:38:05 +0000
commita057167851e63be53e2de757361dc2e303b737e2 (patch)
tree3736a076490f16ad15a06c18406686e4694879fb /common/usbc/build.mk
parent39ada1fd2bdadb8a319e7134e650c65332f0bc2e (diff)
downloadchrome-ec-a057167851e63be53e2de757361dc2e303b737e2.tar.gz
TCPMv2: Add Entry flow for Thunderbolt mode
Create a separate module for representing Thunderbolt mode which decides whether and how we can enter into Thunderbolt alternate mode. Modify the Device Policy Manger (usb_pd_dpm.c) to first check if the port partner and cable is a Thunderbolt Compatible. If not, continue the rest of the PD flow undisturbed. BUG=b:148528713 BRANCH=none TEST=1. Attach Thunderbolt dock, DUT should enter Thunderbolt mode 2. Attach Type-C dock, DUT should enter DP mode 3. Attach DP dongle, DUT should enter DP mode Change-Id: I369eb6337144676996c9d94a412eec060eacd273 Signed-off-by: Ayushee <ayushee.shah@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2250488 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'common/usbc/build.mk')
-rw-r--r--common/usbc/build.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/usbc/build.mk b/common/usbc/build.mk
index b2e36cf81e..b440c69a21 100644
--- a/common/usbc/build.mk
+++ b/common/usbc/build.mk
@@ -30,6 +30,7 @@ all-obj-$(CONFIG_USB_CTVPD)+=$(_usbc_dir)usb_pe_ctvpd_sm.o
all-obj-$(CONFIG_USB_DRP_ACC_TRYSRC)+=$(_usbc_dir)usb_pe_drp_sm.o
all-obj-$(CONFIG_USB_DRP_ACC_TRYSRC)+=$(_usbc_dir)usb_pd_dpm.o
all-obj-$(CONFIG_USB_DRP_ACC_TRYSRC)+=$(_usbc_dir)dp_alt_mode.o
+all-obj-$(CONFIG_USB_PD_TBT_COMPAT_MODE)+=$(_usbc_dir)tbt_alt_mode.o
all-obj-$(CONFIG_CMD_PD)+=$(_usbc_dir)usb_pd_console.o
endif # CONFIG_USB_PE_SM