summaryrefslogtreecommitdiff
path: root/include/driver
diff options
context:
space:
mode:
authormadhusudanarao amara <madhusudanarao.amara@intel.corp-partner.google.com>2021-07-28 12:26:30 +0530
committerCommit Bot <commit-bot@chromium.org>2021-08-06 13:27:40 +0000
commitf0985f8a11585f6a704aa94a8354bd5b934619ac (patch)
tree430aa4cfd58ee3a91d0af596a646ec842695e935 /include/driver
parentfaa5ff511aa464f5fee621eef7b8bf4cdeb26ad5 (diff)
downloadchrome-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 'include/driver')
-rw-r--r--include/driver/retimer/bb_retimer_public.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/driver/retimer/bb_retimer_public.h b/include/driver/retimer/bb_retimer_public.h
index 78047d3f7c..e4a6e4ca2f 100644
--- a/include/driver/retimer/bb_retimer_public.h
+++ b/include/driver/retimer/bb_retimer_public.h
@@ -41,4 +41,16 @@ extern struct bb_usb_control bb_controls[];
__override_proto int bb_retimer_power_enable(const struct usb_mux *me,
bool enable);
+/**
+ * reset the BB retimer
+ *
+ * Define override function at board level if the platform specific changes
+ * are needed to reset the BB retimer.
+ *
+ * @param me Pointer to USB mux
+ *
+ * @return EC_SUCCESS, or non-zero on error.
+ */
+__override_proto int bb_retimer_reset(const struct usb_mux *me);
+
#endif /* __CROS_EC_DRIVER_RETIMER_BB_RETIMER_PUBLIC_H */