diff options
author | Ayushee <ayushee.shah@intel.com> | 2020-04-15 20:25:27 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-05-27 02:04:41 +0000 |
commit | 0a421bbfb5d2d3457310f419c80976b8c87c7464 (patch) | |
tree | 937fb8751f617c16f24297f7325ce364c403850e /include | |
parent | 3b7744e274ab7cbaf9e8ce05c542a6da7bd0cfc0 (diff) | |
download | chrome-ec-0a421bbfb5d2d3457310f419c80976b8c87c7464.tar.gz |
BB retimer: For USB/DP/USB4, set 'Re-timer_Driver' bit based on SOP' VDO2
For DFP, if the mux state is either USB/DP/USB4, then the
re-timer_Driver bit is set according to the SOP' VDO2 response.
Ref: Burnside Bridge spec Table 13: Connection state register
BUG=b:152544514
BRANCH=None
TEST=Able to set Re-timer_Driver bit with a Gen3 Active cable
Signed-off-by: Ayushee <ayushee.shah@intel.com>
Change-Id: Idb1134600617161137c6f500790b6c0c3b836200
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2152286
Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_pd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index 323acb7b56..fdf19bb882 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -1888,6 +1888,15 @@ bool is_usb2_cable_support(int port); */ bool is_cable_speed_gen2_capable(int port); +/* + * Checks if Active Cable has retimer as an active element + * + * @param port USB-C port number + * @return True if Active element is Retimer + * False otherwise + */ +bool is_active_cable_element_retimer(int port); + /** * Set DFP enter mode flags if available * |