diff options
author | Edward Hill <ecgh@chromium.org> | 2020-11-16 17:56:42 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-11 20:51:13 +0000 |
commit | 46826ee4fcaecc8d4a5b31eb3a7bf6c7e85d5166 (patch) | |
tree | 553550e5e53f8597ec7eed77c87d13af792f8f6c /include/usb_pd.h | |
parent | 87d689790647b223b8ea7453c1d342ea73125eca (diff) | |
download | chrome-ec-46826ee4fcaecc8d4a5b31eb3a7bf6c7e85d5166.tar.gz |
usbc: Remove pd_ts_dts_plugged() check from PD_DRP_FORCE_SINK
PD_DRP_FORCE_SINK had an exception (since crrev.com/c/277275),
allowing role to remain source on S5 entry if DTS (debug accessory)
is connected. Remove this exception.
rddkeepalive on cr50 (set when servod starts) ensures CCD mode stays
enabled across power and role changes.
BUG=b:173457150
BRANCH=none
TEST=servo_v4_role:snk, AP S0/S5/G3, EC reboot/hibernate
-> CCD keeps working
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: Iccdfb504c6269ee2ba072e9818920e3e10a56739
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2542578
Reviewed-by: Diana Z <dzigterman@chromium.org>
Reviewed-by: Wai-Hong Tam <waihong@google.com>
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r-- | include/usb_pd.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h index 7c2a41ae3c..64e2828363 100644 --- a/include/usb_pd.h +++ b/include/usb_pd.h @@ -2726,14 +2726,6 @@ void pd_prepare_reset(void); void pd_set_new_power_request(int port); /** - * Return true if partner port is a DTS or TS capable of entering debug - * mode (eg. is presenting Rp/Rp or Rd/Rd). - * - * @param port USB-C port number - */ -int pd_ts_dts_plugged(int port); - -/** * Return true if partner port is known to be PD capable. * * @param port USB-C port number |