aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/isp1760/isp1760-uboot.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-07-14 11:10:49 -0400
committerTom Rini <trini@konsulko.com>2022-07-14 11:10:49 -0400
commit54f683dbfb8b0777ee4d0ba00872da33e54c98fa (patch)
tree2bf9b2cb071abd2a9a80a252fc0126f1df46cfec /drivers/usb/isp1760/isp1760-uboot.h
parent58f3dc5c4eac9c6050edda6af2e37d20a2f9586d (diff)
parent16aabfe2f29d4682b2176095029fa307caccaced (diff)
Merge https://source.denx.de/u-boot/custodians/u-boot-usb
Diffstat (limited to 'drivers/usb/isp1760/isp1760-uboot.h')
-rw-r--r--drivers/usb/isp1760/isp1760-uboot.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/drivers/usb/isp1760/isp1760-uboot.h b/drivers/usb/isp1760/isp1760-uboot.h
new file mode 100644
index 0000000000..812355b48b
--- /dev/null
+++ b/drivers/usb/isp1760/isp1760-uboot.h
@@ -0,0 +1,27 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Driver for the NXP ISP1760 chip
+ *
+ * Copyright 2021 Linaro, Rui Miguel Silva <rui.silva@linaro.org>
+ *
+ */
+
+#ifndef __ISP1760_UBOOT_H__
+#define __ISP1760_UBOOT_H__
+
+#include <linux/usb/usb_urb_compat.h>
+#include <usb.h>
+
+#include "isp1760-core.h"
+
+struct isp1760_host_data {
+ struct isp1760_hcd *priv;
+ struct usb_hcd hcd;
+ enum usb_device_speed host_speed;
+ struct usb_host_endpoint hep;
+ struct urb urb;
+};
+
+extern struct dm_usb_ops isp1760_usb_ops;
+
+#endif