blob: be29ef0c5c3819a9e689df90dd7bbd0102355b7f [file] [log] [blame]
Bo Shen70a67fd2013-09-11 18:24:49 +08001/*
2 * Platform data definitions for Atmel USBA gadget driver
3 * [Original from Linux kernel: include/linux/usb/atmel_usba_udc.h]
4 *
5 * SPDX-License-Identifier: GPL-2.0+
6 */
7#ifndef __LINUX_USB_USBA_H__
8#define __LINUX_USB_USBA_H__
9
10struct usba_ep_data {
11 char *name;
12 int index;
13 int fifo_size;
14 int nr_banks;
15 int can_dma;
16 int can_isoc;
17};
18
19struct usba_platform_data {
20 int num_ep;
21 struct usba_ep_data *ep;
22};
23
24extern int usba_udc_probe(struct usba_platform_data *pdata);
25
26#endif /* __LINUX_USB_USBA_H */