0001
0002
0003
0004
0005
0006
0007
0008
0009 #ifndef __PXA310_U2D__
0010 #define __PXA310_U2D__
0011
0012 #include <linux/usb/ulpi.h>
0013
0014 struct pxa3xx_u2d_platform_data {
0015
0016 #define ULPI_SER_6PIN (1 << 0)
0017 #define ULPI_SER_3PIN (1 << 1)
0018 unsigned int ulpi_mode;
0019
0020 int (*init)(struct device *);
0021 void (*exit)(struct device *);
0022 };
0023
0024
0025
0026 int pxa3xx_u2d_start_hc(struct usb_bus *host);
0027
0028 void pxa3xx_u2d_stop_hc(struct usb_bus *host);
0029
0030 extern void pxa3xx_set_u2d_info(struct pxa3xx_u2d_platform_data *info);
0031
0032 #endif