1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2010 CompuLab Ltd.
10 #define __PXA310_U2D__
12 #include <linux/usb/ulpi.h>
14 struct pxa3xx_u2d_platform_data {
16 #define ULPI_SER_6PIN (1 << 0)
17 #define ULPI_SER_3PIN (1 << 1)
18 unsigned int ulpi_mode;
20 int (*init)(struct device *);
21 void (*exit)(struct device *);
25 /* Start PXA3xx U2D host */
26 int pxa3xx_u2d_start_hc(struct usb_bus *host);
27 /* Stop PXA3xx U2D host */
28 void pxa3xx_u2d_stop_hc(struct usb_bus *host);
30 extern void pxa3xx_set_u2d_info(struct pxa3xx_u2d_platform_data *info);
32 #endif /* __PXA310_U2D__ */