summaryrefslogtreecommitdiff
path: root/include/usb_pd_tcpm.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_pd_tcpm.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_pd_tcpm.h')
-rw-r--r--include/usb_pd_tcpm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h
index 18effd0661..67c230b79b 100644
--- a/include/usb_pd_tcpm.h
+++ b/include/usb_pd_tcpm.h
@@ -324,6 +324,14 @@ struct tcpm_drv {
*/
int (*enter_low_power_mode)(int port);
#endif
+
+ /**
+ * Enable/Disable TCPC FRS detection
+ *
+ * @param port Type-C port number
+ * @param enable FRS enable (true) disable (false)
+ */
+ void (*set_frs_enable)(int port, int enable);
};
/*