Go to the documentation of this file.
10 #ifndef __MUSB_OMAP243X_H__
11 #define __MUSB_OMAP243X_H__
19 #define OTG_REVISION 0x400
21 #define OTG_SYSCONFIG 0x404
23 # define FORCESTDBY (0 << MIDLEMODE)
24 # define NOSTDBY (1 << MIDLEMODE)
25 # define SMARTSTDBY (2 << MIDLEMODE)
28 # define FORCEIDLE (0 << SIDLEMODE)
29 # define NOIDLE (1 << SIDLEMODE)
30 # define SMARTIDLE (2 << SIDLEMODE)
32 # define ENABLEWAKEUP (1 << 2)
33 # define SOFTRST (1 << 1)
34 # define AUTOIDLE (1 << 0)
36 #define OTG_SYSSTATUS 0x408
37 # define RESETDONE (1 << 0)
39 #define OTG_INTERFSEL 0x40c
40 # define EXTCP (1 << 2)
42 # define UTMI_8BIT (0 << PHYSEL)
43 # define ULPI_12PIN (1 << PHYSEL)
44 # define ULPI_8PIN (2 << PHYSEL)
46 #define OTG_SIMENABLE 0x410
49 #define OTG_FORCESTDBY 0x414
50 # define ENABLEFORCE (1 << 0)
58 #define VBUSVALID BIT(2)
59 #define SESSEND BIT(3)