mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-18 09:13:06 +00:00
88861a2c2c
ISP1760/61/63 are a family of usb controllers, here the main goal is to support the ISP1763 hcd part found in the MPS3 FPGA board form Arm. This is based on the kernel driver and ported to u-boot. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
27 lines
506 B
C
27 lines
506 B
C
/* 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
|