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