summaryrefslogtreecommitdiff
path: root/driver/tcpm/ite_pd_intc.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/tcpm/ite_pd_intc.h')
-rw-r--r--driver/tcpm/ite_pd_intc.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/driver/tcpm/ite_pd_intc.h b/driver/tcpm/ite_pd_intc.h
new file mode 100644
index 0000000000..8123e1a233
--- /dev/null
+++ b/driver/tcpm/ite_pd_intc.h
@@ -0,0 +1,22 @@
+/* Copyright 2021 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* ITE PD INTC control module */
+
+#ifndef __CROS_EC_ITE_PD_INTC_H
+#define __CROS_EC_ITE_PD_INTC_H
+
+/**
+ * ITE embedded PD interrupt routine
+ *
+ * NOTE: Enable ITE embedded PD that it requires CONFIG_USB_PD_TCPM_ITE_ON_CHIP
+ *
+ * @param port Type-C port number
+ *
+ * @return none
+ */
+void chip_pd_irq(enum usbpd_port port);
+
+#endif /* __CROS_EC_ITE_PD_INTC_H */