diff options
author | Ayushee Shah <ayushee.shah@intel.com> | 2020-12-08 12:15:07 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-10 19:05:41 +0000 |
commit | 37120f23ab24e41cef32b1d4524772ae6ca0c148 (patch) | |
tree | aa95626d30c1ecb79b6966155447485a56600df2 /driver/retimer | |
parent | 005a14e1f39fdda58336cf79f511ddd6432388f1 (diff) | |
download | chrome-ec-37120f23ab24e41cef32b1d4524772ae6ca0c148.tar.gz |
BB retimer: Set USB2.0 bit to 0
Since the TCSS mux ignores the USB2.0, set it to 0
BUG=b:175119818
BRANCH=None
TEST=Able to set the USB2.0 bit to 0 in the BB retimer config register
Signed-off-by: Ayushee Shah <ayushee.shah@intel.com>
Change-Id: Ia76ede10f9bdbf746a400816017e7d36b0790764
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2580455
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'driver/retimer')
-rw-r--r-- | driver/retimer/bb_retimer.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/driver/retimer/bb_retimer.c b/driver/retimer/bb_retimer.c index b9fb42081b..ff37bdb9f9 100644 --- a/driver/retimer/bb_retimer.c +++ b/driver/retimer/bb_retimer.c @@ -136,22 +136,6 @@ static void retimer_set_state_dfp(int port, mux_state_t mux_state, enum idh_ptype cable_type = get_usb_pd_cable_type(port); struct pd_discovery *disc; - if (mux_state & USB_PD_MUX_USB_ENABLED || - mux_state & USB_PD_MUX_TBT_COMPAT_ENABLED || - mux_state & USB_PD_MUX_USB4_ENABLED) { - /* - * Bit 4: USB2_CONNECTION (ignored if BIT5=0). - * 0 - No USB2 Connection - * 1 - USB2 connection - * - * For passive cable, USB2_CONNECTION = 1 - * For active cable, USB2_CONNECTION = - * According to Active cable VDO2 Bit 5, USB 2.0 support. - */ - if (is_usb2_cable_support(port)) - *set_retimer_con |= BB_RETIMER_USB_2_CONNECTION; - } - /* * Bit 2: RE_TIMER_DRIVER * 0 - Re-driver |