summaryrefslogtreecommitdiff
path: root/common/mock/usb_pd_dpm_mock.c
diff options
context:
space:
mode:
authorAyushee <ayushee.shah@intel.com>2020-10-08 16:31:53 -0700
committerCommit Bot <commit-bot@chromium.org>2020-10-14 20:33:13 +0000
commite4c3ec56c5002ce4ed425495eaa50379d9eb3b96 (patch)
tree153bc7d0ea9f2b688e6b38b9c23c04d8b93fc324 /common/mock/usb_pd_dpm_mock.c
parent913b68e8e43d5700e3432148b33428e1e1ce0d79 (diff)
downloadchrome-ec-e4c3ec56c5002ce4ed425495eaa50379d9eb3b96.tar.gz
TCPMv2: Avoid alt mode files from changing DPM states
USB4 mode: Added a function to check if the USB4 entry is completed Thunderbolt mode: Added 2 flags TBT_RETRY_DONE, TBT_EXIT_DONE to track the Thunderbolt mode's exit and if retry is needed and a new function to check if if the Thunderbolt mode entry is completed DisplayPort mode: Added a function to check if the DisplayPort entry is completed BUG=b:169169804 BRANCH=None TEST=1. Able to enter alternate mode on hotplug and reboot 2. Able to exit the alternate mode on chipset transition and on DPM's exit mode request. Change-Id: I09662449143ad8d94b30ae102ed5ce79db852687 Signed-off-by: Ayushee <ayushee.shah@intel.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2421425 Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'common/mock/usb_pd_dpm_mock.c')
-rw-r--r--common/mock/usb_pd_dpm_mock.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/mock/usb_pd_dpm_mock.c b/common/mock/usb_pd_dpm_mock.c
index 344d53576d..bf1f191c07 100644
--- a/common/mock/usb_pd_dpm_mock.c
+++ b/common/mock/usb_pd_dpm_mock.c
@@ -36,10 +36,6 @@ void dpm_vdm_naked(int port, enum tcpm_transmit_type type, uint16_t svid,
{
}
-void dpm_set_mode_entry_done(int port)
-{
-}
-
void dpm_set_mode_exit_request(int port)
{
}