diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-omap/include/plat/usb.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h index 33e72ca125d7..33a500eb2f93 100644 --- a/arch/arm/plat-omap/include/plat/usb.h +++ b/arch/arm/plat-omap/include/plat/usb.h | |||
@@ -5,6 +5,21 @@ | |||
5 | 5 | ||
6 | #include <plat/board.h> | 6 | #include <plat/board.h> |
7 | 7 | ||
8 | #define OMAP3_HS_USB_PORTS 3 | ||
9 | enum ehci_hcd_omap_mode { | ||
10 | EHCI_HCD_OMAP_MODE_UNKNOWN, | ||
11 | EHCI_HCD_OMAP_MODE_PHY, | ||
12 | EHCI_HCD_OMAP_MODE_TLL, | ||
13 | }; | ||
14 | |||
15 | struct ehci_hcd_omap_platform_data { | ||
16 | enum ehci_hcd_omap_mode port_mode[OMAP3_HS_USB_PORTS]; | ||
17 | unsigned phy_reset:1; | ||
18 | |||
19 | /* have to be valid if phy_reset is true and portx is in phy mode */ | ||
20 | int reset_gpio_port[OMAP3_HS_USB_PORTS]; | ||
21 | }; | ||
22 | |||
8 | /*-------------------------------------------------------------------------*/ | 23 | /*-------------------------------------------------------------------------*/ |
9 | 24 | ||
10 | #define OMAP1_OTG_BASE 0xfffb0400 | 25 | #define OMAP1_OTG_BASE 0xfffb0400 |
@@ -29,6 +44,8 @@ | |||
29 | 44 | ||
30 | extern void usb_musb_init(void); | 45 | extern void usb_musb_init(void); |
31 | 46 | ||
47 | extern void usb_ehci_init(struct ehci_hcd_omap_platform_data *pdata); | ||
48 | |||
32 | #endif | 49 | #endif |
33 | 50 | ||
34 | void omap_usb_init(struct omap_usb_config *pdata); | 51 | void omap_usb_init(struct omap_usb_config *pdata); |