summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2020-10-28 16:26:31 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-30 03:05:13 +0000
commite70ecea5d6101bc6af159c5f7790f3111bd6e393 (patch)
treeefc52f90f938bebb93fc2b63b33caeb04feb8b05 /include/usb_pd.h
parent77647ae24a7118aac93449bc88f601a6c09290b1 (diff)
downloadchrome-ec-e70ecea5d6101bc6af159c5f7790f3111bd6e393.tar.gz
morphius: Wait 500ms before allowing DP event to cause resume.
Turning off the MST hub in S3 (via IOEX_HDMI_DATA_EN_DB) causes a VDM:Attention that immediately wakes us back up from S3. Wait 500ms after S3 entry before setting EC_MKBP_EVENT_DP_ALT_MODE_ENTERED in pd_notify_dp_alt_mode_entry(). BUG=b:167949458 BRANCH=zork TEST=powerd_dbus_suspend with display connected to MST hub DB Signed-off-by: Edward Hill <ecgh@chromium.org> Change-Id: I0d90d0a5130403b9aca1057725509814cac0d545 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2506424 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r--include/usb_pd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index 6c9de3307e..e8040355af 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -2841,7 +2841,7 @@ void pd_set_polarity(int port, enum tcpc_cc_polarity polarity);
* Notify the AP that we have entered into DisplayPort Alternate Mode. This
* sets a DP_ALT_MODE_ENTERED MKBP event which may wake the AP.
*/
-void pd_notify_dp_alt_mode_entry(void);
+__override_proto void pd_notify_dp_alt_mode_entry(int port);
/*
* Determines the PD state of the port partner according to Table 4-10 in USB PD