summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2019-03-06 13:01:45 -0800
committerchrome-bot <chrome-bot@chromium.org>2019-05-14 23:57:37 -0700
commita84d8055a57fe95c38df2ae1be332c57475aec27 (patch)
treec06e55d1d7520838265516abbe84f5e905e635b8 /include/config.h
parentd823206bd2f5f6899ffe65d6086e3278552be903 (diff)
downloadchrome-ec-a84d8055a57fe95c38df2ae1be332c57475aec27.tar.gz
retimer: Add driver support for Intel Burnside Bridge retimer
Burnside Bridge is a Type-C multi-protocol retimer to be used in on-board applications. Burnside Bridge offers the ability to latch protocol signals into on-chip memory before retransmitting them onwards. It can be used to extend the physical length of the system without increasing high frequency jitter. Burnside Bridge supports spec compliant retimer of following protocols: 1. Display Port: four unidirectional DP lanes 2. USB3.1 Gen1/2: one bi-directional USB lane 3. Thunderbolt: two bi-directional CIO lanes 4. Multifunction Display (MFD): two unidirectional lanes of DP and one bi-directional lane of USB3.1 Gen1/2 Note: Only item 1, 2 & 4 are supported in this CL. Item 3 support will be added in follow on CLs. BUG=b:127623438 BRANCH=none TEST=Manually verified on ICLRVP, able to configure the registers Change-Id: I2d60dbcaf8fe7a1503f09a2f16007409f059f54e 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/1594170 Commit-Ready: Jett Rink <jettrink@chromium.org> Tested-by: Vijay P Hiremath <vijay.p.hiremath@intel.com> Reviewed-by: Jett Rink <jettrink@chromium.org> Reviewed-by: Divya S Sasidharan <divya.s.sasidharan@intel.com>
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 9015c6cd78..7e643314f2 100644
--- a/include/config.h
+++ b/include/config.h
@@ -1091,6 +1091,7 @@
#undef CONFIG_CMD_BATDEBUG
#define CONFIG_CMD_BATTFAKE
#undef CONFIG_CMD_BATT_MFG_ACCESS
+#define CONFIG_CMD_RETIMER
#undef CONFIG_CMD_BUTTON
#define CONFIG_CMD_CBI
#undef CONFIG_CMD_CCD_DISABLE /* 'ccd disable' subcommand */
@@ -3568,6 +3569,16 @@
#undef CONFIG_USB_PD_TCPM_TUSB422
/*
+ * Type-C multi-protocol retimer is present.
+ */
+#undef CONFIG_USB_PD_RETIMER
+
+/*
+ * Type-C multi-protocol retimer to be used in on-board applications.
+ */
+#undef CONFIG_USB_PD_RETIMER_INTEL_BB
+
+/*
* Adds an EC console command to erase the ANX7447 OCM flash.
* Note: this is intended to be a temporary option and
* won't be needed when ANX7447 are put on boards with OCM already erased
@@ -4335,6 +4346,12 @@
#endif
/*****************************************************************************/
+/* Define derived config options for Retimer chips */
+#ifdef CONFIG_USB_PD_RETIMER_INTEL_BB
+#define CONFIG_USB_PD_RETIMER
+#endif
+
+/*****************************************************************************/
/*
* Handle task-dependent configs.
*