Rui Miguel Silva | 08ee377 | 2022-06-29 11:06:15 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | /* |
| 3 | * Driver for the NXP ISP1760 chip |
| 4 | * |
| 5 | * Copyright 2021 Linaro, Rui Miguel Silva <rui.silva@linaro.org> |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | #ifndef __ISP1760_UBOOT_H__ |
| 10 | #define __ISP1760_UBOOT_H__ |
| 11 | |
| 12 | #include <linux/usb/usb_urb_compat.h> |
| 13 | #include <usb.h> |
| 14 | |
| 15 | #include "isp1760-core.h" |
| 16 | |
| 17 | struct isp1760_host_data { |
| 18 | struct isp1760_hcd *priv; |
| 19 | struct usb_hcd hcd; |
| 20 | enum usb_device_speed host_speed; |
| 21 | struct usb_host_endpoint hep; |
| 22 | struct urb urb; |
| 23 | }; |
| 24 | |
| 25 | extern struct dm_usb_ops isp1760_usb_ops; |
| 26 | |
| 27 | #endif |