summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAyushee <ayushee.shah@intel.com>2019-06-26 15:30:46 -0700
committerCommit Bot <commit-bot@chromium.org>2019-12-17 21:06:39 +0000
commit9aaaaf67d3a9420999978023e627ad416e228dcd (patch)
tree92fa1685e0dbb4761643e5d52fc923af403a3b9d /include
parent90d3346a74953d98e2ddd8e622e91289aaa91f01 (diff)
downloadchrome-ec-9aaaaf67d3a9420999978023e627ad416e228dcd.tar.gz
Burnside bridge retimer: Add Thunderbolt-compatible mode bits
Intel burnside bridge retimer supports the ability to train the link and operate in both Thunderbolt 1/2(10Gbps) and Thunderbolt 3 (20Gbps) link speeds. Adding the following fields in the configuration register of the retimer to support Thunderbolt-compatible mode: 1. Active cable - Active/passive cable 2. Thunderbolt connection - Thunderbolt configured or not 3. Thunderbolt type - Type-C Type-C or Type-C legacy thunderbolt adapter 4. Thunderbolt Cable type - Optical or Electrical 5. Active link training - Unidirectional or bidirectional link training 6. Thunderbolt cable speed - 10Gbps/20Gbps active/passive cable 7. Thunderbolt Generation - 3rd generation or 4th generation thunderbolt cable BUG=b:140645327 BRANCH=None TEST=Manually verified on Tglrvp-U, able to configure the registers Change-Id: I4ac351702df156c5bddf4ead141f59000a6d6af5 Signed-off-by: Ayushee <ayushee.shah@intel.com> Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1926380 Commit-Queue: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/usb_pd.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index eb58b9c58e..2597aac43e 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -1939,6 +1939,22 @@ void reset_pd_cable(int port);
enum idh_ptype get_usb_pd_mux_cable_type(int port);
/**
+ * Return the response of discover mode SOP prime, with SVID = 0x8087
+ *
+ * @param port USB-C port number
+ * @return cable mode response vdo
+ */
+struct tbt_mode_resp_cable get_cable_tbt_vdo(int port);
+
+/**
+ * Return the response of discover mode SOP, with SVID = 0x8087
+ *
+ * @param port USB-C port number
+ * @return device mode response vdo
+ */
+struct tbt_mode_resp_device get_dev_tbt_vdo(int port);
+
+/**
* Update Mux on entering Thunderbolt-compatible mode
*
* @param port USB-C port number