aboutsummaryrefslogtreecommitdiffstats
path: root/roms/u-boot/arch/arm/include/asm/arch-meson/usb-gx.h
diff options
context:
space:
mode:
Diffstat (limited to 'roms/u-boot/arch/arm/include/asm/arch-meson/usb-gx.h')
-rw-r--r--roms/u-boot/arch/arm/include/asm/arch-meson/usb-gx.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/include/asm/arch-meson/usb-gx.h b/roms/u-boot/arch/arm/include/asm/arch-meson/usb-gx.h
new file mode 100644
index 000000000..61f1809df
--- /dev/null
+++ b/roms/u-boot/arch/arm/include/asm/arch-meson/usb-gx.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2019 BayLibre SAS
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ */
+#ifndef _ARCH_MESON_USB_GX_H_
+#define _ARCH_MESON_USB_GX_H_
+
+#include <generic-phy.h>
+#include <linux/usb/otg.h>
+
+/* TOFIX add set_mode to struct phy_ops */
+void phy_meson_gxl_usb2_set_mode(struct phy *phy, enum usb_dr_mode mode);
+
+int dwc3_meson_gxl_force_mode(struct udevice *dev, enum usb_dr_mode mode);
+
+#endif