summaryrefslogtreecommitdiff
path: root/baseboard/brya/baseboard_usbc_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseboard/brya/baseboard_usbc_config.h')
-rw-r--r--baseboard/brya/baseboard_usbc_config.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/baseboard/brya/baseboard_usbc_config.h b/baseboard/brya/baseboard_usbc_config.h
new file mode 100644
index 0000000000..f8b9fab35c
--- /dev/null
+++ b/baseboard/brya/baseboard_usbc_config.h
@@ -0,0 +1,19 @@
+/* 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.
+ */
+
+/* brya family-specific USB-C configuration */
+
+#ifndef __CROS_EC_BASEBOARD_USBC_CONFIG_H
+#define __CROS_EC_BASEBOARD_USBC_CONFIG_H
+
+#include "gpio_signal.h"
+
+/* Common definition for the USB PD interrupt handlers. */
+void bc12_interrupt(enum gpio_signal signal);
+void ppc_interrupt(enum gpio_signal signal);
+void retimer_interrupt(enum gpio_signal signal);
+void tcpc_alert_event(enum gpio_signal signal);
+
+#endif /* __CROS_EC_BASEBOARD_USBC_CONFIG_H */