blob: ba99af275a31faab0e7f101eafb67e9443581908 [file] [log] [blame]
Stelian Pop8d855312008-03-05 00:00:00 +01001/*
2 * Platform data definitions for Atmel USBA gadget driver.
3 */
4#ifndef __LINUX_USB_USBA_H
5#define __LINUX_USB_USBA_H
6
7struct usba_ep_data {
8 char *name;
9 int index;
10 int fifo_size;
11 int nr_banks;
12 int can_dma;
13 int can_isoc;
14};
15
16struct usba_platform_data {
17 int vbus_pin;
Greg Kroah-Hartman0858a3a2010-05-17 10:58:12 -070018 int vbus_pin_inverted;
Stelian Pop8d855312008-03-05 00:00:00 +010019 int num_ep;
20 struct usba_ep_data ep[0];
21};
22
23#endif /* __LINUX_USB_USBA_H */