blob: c1c810759c3b281d1db5d2d936e7b0d99f5e0563 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Bo Shen70a67fd2013-09-11 18:24:49 +08002/*
3 * Platform data definitions for Atmel USBA gadget driver
4 * [Original from Linux kernel: include/linux/usb/atmel_usba_udc.h]
Bo Shen70a67fd2013-09-11 18:24:49 +08005 */
6#ifndef __LINUX_USB_USBA_H__
7#define __LINUX_USB_USBA_H__
8
9struct 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
18struct usba_platform_data {
19 int num_ep;
20 struct usba_ep_data *ep;
21};
22
23extern int usba_udc_probe(struct usba_platform_data *pdata);
24
25#endif /* __LINUX_USB_USBA_H */