summaryrefslogtreecommitdiff
path: root/include/usb_pd.h
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-02-01 15:57:48 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-08 19:20:22 +0000
commit3305860fcf1ddb612446f7fc44225bac79a37c95 (patch)
treecb5ffe01ee1b82d6c06a12e23a0f93546daf3fc6 /include/usb_pd.h
parent295311c05ef89106d4e9f090d4d18c06a3d61027 (diff)
downloadchrome-ec-3305860fcf1ddb612446f7fc44225bac79a37c95.tar.gz
TCPMv2: Add DPM controls for FRS detection
Add a DPM request to control FRS detection enable and disable on a task. This allows the FRS detection to be safely toggled from other tasks when 3A port balancing occurs. BRANCH=None BUG=b:141690755 TEST=make -j buildall Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I41d4f4a77f536c95a8119fef0de0474f0726fbab Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2676083 Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'include/usb_pd.h')
-rw-r--r--include/usb_pd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/usb_pd.h b/include/usb_pd.h
index 5484bd2311..a31fefbc3d 100644
--- a/include/usb_pd.h
+++ b/include/usb_pd.h
@@ -1000,6 +1000,8 @@ enum pd_dpm_request {
DPM_REQUEST_GET_SRC_CAPS = BIT(18),
DPM_REQUEST_EXIT_MODES = BIT(19),
DPM_REQUEST_SOP_PRIME_SOFT_RESET_SEND = BIT(20),
+ DPM_REQUEST_FRS_DET_ENABLE = BIT(21),
+ DPM_REQUEST_FRS_DET_DISABLE = BIT(22),
};
/**