Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
usb-pxa3xx-ulpi.h
Go to the documentation of this file.
1 /*
2  * PXA3xx U2D header
3  *
4  * Copyright (C) 2010 CompuLab Ltd.
5  *
6  * Igor Grinberg <[email protected]>
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU General Public License version 2 as
10  * published by the Free Software Foundation.
11  */
12 #ifndef __PXA310_U2D__
13 #define __PXA310_U2D__
14 
15 #include <linux/usb/ulpi.h>
16 
18 
19 #define ULPI_SER_6PIN (1 << 0)
20 #define ULPI_SER_3PIN (1 << 1)
21  unsigned int ulpi_mode;
22 
23  int (*init)(struct device *);
24  void (*exit)(struct device *);
25 };
26 
27 
28 /* Start PXA3xx U2D host */
29 int pxa3xx_u2d_start_hc(struct usb_bus *host);
30 /* Stop PXA3xx U2D host */
31 void pxa3xx_u2d_stop_hc(struct usb_bus *host);
32 
34 
35 #endif /* __PXA310_U2D__ */