Stelian Pop | 8d85531 | 2008-03-05 00:00:00 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Platform data definitions for Atmel USBA gadget driver. |
| 3 | */ |
| 4 | #ifndef __LINUX_USB_USBA_H |
| 5 | #define __LINUX_USB_USBA_H |
| 6 | |
| 7 | struct 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 | |
| 16 | struct usba_platform_data { |
| 17 | int vbus_pin; |
Greg Kroah-Hartman | 0858a3a | 2010-05-17 10:58:12 -0700 | [diff] [blame] | 18 | int vbus_pin_inverted; |
Stelian Pop | 8d85531 | 2008-03-05 00:00:00 +0100 | [diff] [blame] | 19 | int num_ep; |
| 20 | struct usba_ep_data ep[0]; |
| 21 | }; |
| 22 | |
| 23 | #endif /* __LINUX_USB_USBA_H */ |