summaryrefslogtreecommitdiff
path: root/include/usb_pe_sm.h
diff options
context:
space:
mode:
authorAbe Levkoy <alevkoy@chromium.org>2020-05-14 10:41:45 -0600
committerCommit Bot <commit-bot@chromium.org>2020-06-10 01:25:03 +0000
commitbf24e746f41621ff2fbb72bf8067e9b672e79eb9 (patch)
treeaf1173f6e743e3ac93bb1e3adbc1c772c361bbd1 /include/usb_pe_sm.h
parentb5d255029d4662dca049b9754a5c159871a4b92d (diff)
downloadchrome-ec-bf24e746f41621ff2fbb72bf8067e9b672e79eb9.tar.gz
TCPMv2: Separate DPM and DP from PE
Create separate modules representing DisplayPort (which decides whether and how we can set up the DP alt mode) and the Device Policy Manager (which decides whether we should). The end goal is to have essentially all code with DP-specific decisions or information in the DP module and all code with DPM-specific decisions or information in the DPM module. This will allow the PE to map as directly as practical to its behaviors defined in the PD spec. Essentially detach PE_DO_PORT_DISCOVERY from the rest of the PE state machine in preparation for deleting it. This change paves the way for 1) Allowing the AP to drive mode entry and 2) Allowing new alt modes to be supported via largely self-contained modules. BUG=b:155890173 TEST=Attach DP dongle; observe discovery and DP setup via Twinkie BRANCH=none Change-Id: Ie63a2e62d1ac6178722477dc53244898a04ef92f Signed-off-by: Abe Levkoy <alevkoy@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2203842 Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'include/usb_pe_sm.h')
-rw-r--r--include/usb_pe_sm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_pe_sm.h b/include/usb_pe_sm.h
index 495e921ae6..90069f6cf6 100644
--- a/include/usb_pe_sm.h
+++ b/include/usb_pe_sm.h
@@ -34,7 +34,7 @@ enum pe_dpm_request {
DPM_REQUEST_SOURCE_CAP = BIT(7),
DPM_REQUEST_NEW_POWER_LEVEL = BIT(8),
DPM_REQUEST_EXIT_DP_MODE = BIT(9),
- DPM_REQUEST_SVDM = BIT(10),
+ DPM_REQUEST_VDM = BIT(10),
DPM_REQUEST_BIST_RX = BIT(11),
DPM_REQUEST_BIST_TX = BIT(12),
DPM_REQUEST_SNK_STARTUP = BIT(13),