diff options
author | madhusudanarao amara <madhusudanarao.amara@intel.corp-partner.google.com> | 2021-07-28 12:26:30 +0530 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-06 13:27:40 +0000 |
commit | f0985f8a11585f6a704aa94a8354bd5b934619ac (patch) | |
tree | 430aa4cfd58ee3a91d0af596a646ec842695e935 /board/brya | |
parent | faa5ff511aa464f5fee621eef7b8bf4cdeb26ad5 (diff) | |
download | chrome-ec-f0985f8a11585f6a704aa94a8354bd5b934619ac.tar.gz |
DP/TBT/USB4: Retimer WA resolved Brya TBT lane bonding issue in AP mode
In AP Mode DP exit to TBT entry is causing TBT lane bonding issue.
Issue is not seen by calling the retimer reset as WA at the time of
disconnect mode configuration.
Revert this patch after getting the actual fix.
BUG=b:193402306
BRANCH=None
TEST=Checked TBT enumeration in AP Mode
TOREVERT=b:195375738
Signed-off-by: madhusudanarao amara <madhusudanarao.amara@intel.corp-partner.google.com>
Change-Id: Ia22e061a863940b2a13ad5a38f4fe130737c5c20
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3058157
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'board/brya')
-rw-r--r-- | board/brya/usbc_config.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/board/brya/usbc_config.c b/board/brya/usbc_config.c index 818397aa31..40476c3f4f 100644 --- a/board/brya/usbc_config.c +++ b/board/brya/usbc_config.c @@ -268,6 +268,20 @@ __override int bb_retimer_power_enable(const struct usb_mux *me, bool enable) return EC_SUCCESS; } +__override int bb_retimer_reset(const struct usb_mux *me) +{ + /* + * TODO(b/193402306, b/195375738): Remove this once transition to + * QS Silicon is complete + */ + bb_retimer_power_enable(me, false); + msleep(5); + bb_retimer_power_enable(me, true); + msleep(25); + + return EC_SUCCESS; +} + void board_reset_pd_mcu(void) { enum gpio_signal tcpc_rst; |