1
2
3
4
5
6
7
8
9 #ifndef __PXA310_U2D__
10 #define __PXA310_U2D__
11
12 #include <linux/usb/ulpi.h>
13
14 struct pxa3xx_u2d_platform_data {
15
16 #define ULPI_SER_6PIN (1 << 0)
17 #define ULPI_SER_3PIN (1 << 1)
18 unsigned int ulpi_mode;
19
20 int (*init)(struct device *);
21 void (*exit)(struct device *);
22 };
23
24
25
26 int pxa3xx_u2d_start_hc(struct usb_bus *host);
27
28 void pxa3xx_u2d_stop_hc(struct usb_bus *host);
29
30 extern void pxa3xx_set_u2d_info(struct pxa3xx_u2d_platform_data *info);
31
32 #endif