summaryrefslogtreecommitdiff
path: root/include/usb_pe_sm.h
diff options
context:
space:
mode:
authorSam Hurst <shurst@google.com>2019-12-11 13:54:21 -0800
committerCommit Bot <commit-bot@chromium.org>2020-02-29 20:04:49 +0000
commita6f77ef7951216831ffcdb40e8599df992e871d0 (patch)
tree4149db03a16445878da4624b52e63ede2c6f1977 /include/usb_pe_sm.h
parent7453e9b1f8515df35ceb141a771d049001f55d61 (diff)
downloadchrome-ec-a6f77ef7951216831ffcdb40e8599df992e871d0.tar.gz
TCPMv2: Add BIST RX and TX states needed by PD FAFT
Split the BIST state into BIST RX and TX states. These states are accessed from the pd console which enables the device to work with PD FAFT. BUG=chromium:1021235 BRANCH=none TEST=make -j buildall Manual tests: Change-Id: I1f8280b8a31b0faa012e2098b6fc51b24d7ee1fc Signed-off-by: Sam Hurst <shurst@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1962975 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'include/usb_pe_sm.h')
-rw-r--r--include/usb_pe_sm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usb_pe_sm.h b/include/usb_pe_sm.h
index c786a31ebc..ee4d8f3066 100644
--- a/include/usb_pe_sm.h
+++ b/include/usb_pe_sm.h
@@ -35,6 +35,12 @@ enum pe_dpm_request {
DPM_REQUEST_DISCOVER_IDENTITY = BIT(9),
DPM_REQUEST_EXIT_DP_MODE = BIT(10),
DPM_REQUEST_SVDM = BIT(11),
+ DPM_REQUEST_BIST_RX = BIT(12),
+ DPM_REQUEST_BIST_TX = BIT(13),
+ DPM_REQUEST_SNK_STARTUP = BIT(14),
+ DPM_REQUEST_SRC_STARTUP = BIT(15),
+ DPM_REQUEST_HARD_RESET_SEND = BIT(16),
+ DPM_REQUEST_SOFT_RESET_SEND = BIT(17),
};
/**