summaryrefslogtreecommitdiff
path: root/include/usb_pe_sm.h
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@chromium.org>2019-09-25 11:33:53 -0600
committerCommit Bot <commit-bot@chromium.org>2019-10-07 23:33:24 +0000
commit0783b019fc880443a768acdc1286499a49594baa (patch)
tree68751a4d70cb7c97af0421f5cef2c98e73b52b24 /include/usb_pe_sm.h
parent87d1b1904dc58fbadd21cd5c7c6b03da2e42d077 (diff)
downloadchrome-ec-0783b019fc880443a768acdc1286499a49594baa.tar.gz
pd: FRS enable/disable and interrupt handling
BUG=b:138599955 BRANCH=none TEST=make buildall -j Change-Id: I0c639aae18e8c2c2d1b457e2e209f8484a834f6b Signed-off-by: Denis Brockus <dbrockus@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1825507 Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'include/usb_pe_sm.h')
-rw-r--r--include/usb_pe_sm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/usb_pe_sm.h b/include/usb_pe_sm.h
index 21226cbe9c..0a51ce5fa3 100644
--- a/include/usb_pe_sm.h
+++ b/include/usb_pe_sm.h
@@ -98,6 +98,13 @@ void pe_got_soft_reset(int port);
void pe_hard_reset_sent(int port);
/**
+ * Informs the Policy Engine that a Fast Role Swap signal was detected
+ *
+ * @param port USB-C port number
+ */
+void pe_got_frs_signal(int port);
+
+/**
* Exit DP mode
*
* @param port USB-C port number