summaryrefslogtreecommitdiff
path: root/include/driver/retimer/anx7452_public.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver/retimer/anx7452_public.h')
-rw-r--r--include/driver/retimer/anx7452_public.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/driver/retimer/anx7452_public.h b/include/driver/retimer/anx7452_public.h
new file mode 100644
index 0000000000..ffd8497836
--- /dev/null
+++ b/include/driver/retimer/anx7452_public.h
@@ -0,0 +1,26 @@
+/* Copyright 2023 The ChromiumOS Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ *
+ * ANX7452: Active redriver
+ *
+ * Public functions, definitions, and structures.
+ */
+
+#ifndef __CROS_EC_USB_RETIMER_ANX7452_PUBLIC_H
+#define __CROS_EC_USB_RETIMER_ANX7452_PUBLIC_H
+
+#include "usb_mux.h"
+
+extern const struct usb_mux_driver anx7452_usb_retimer_driver;
+
+/* Retimer driver hardware specific controls */
+struct anx7452_control {
+ /* USB enable */
+ const enum gpio_signal usb_enable_gpio;
+ /* DP enable */
+ const enum gpio_signal dp_enable_gpio;
+};
+extern const struct anx7452_control anx7452_controls[];
+
+#endif /* __CROS_EC_USB_RETIMER_ANX7452_PUBLIC_H */