aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/usb.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/usb.h')
-rw-r--r--arch/arm/mach-omap2/usb.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/arm/mach-omap2/usb.h b/arch/arm/mach-omap2/usb.h
index 9b986ead7c45..3319f5cf47a3 100644
--- a/arch/arm/mach-omap2/usb.h
+++ b/arch/arm/mach-omap2/usb.h
@@ -53,26 +53,8 @@
53#define USBPHY_OTGSESSEND_EN (1 << 20) 53#define USBPHY_OTGSESSEND_EN (1 << 20)
54#define USBPHY_DATA_POLARITY (1 << 23) 54#define USBPHY_DATA_POLARITY (1 << 23)
55 55
56struct usbhs_omap_board_data {
57 enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS];
58
59 /* have to be valid if phy_reset is true and portx is in phy mode */
60 int reset_gpio_port[OMAP3_HS_USB_PORTS];
61
62 /* Set this to true for ES2.x silicon */
63 unsigned es2_compatibility:1;
64
65 unsigned phy_reset:1;
66
67 /*
68 * Regulators for USB PHYs.
69 * Each PHY can have a separate regulator.
70 */
71 struct regulator *regulator[OMAP3_HS_USB_PORTS];
72};
73
74extern void usb_musb_init(struct omap_musb_board_data *board_data); 56extern void usb_musb_init(struct omap_musb_board_data *board_data);
75extern void usbhs_init(const struct usbhs_omap_board_data *pdata); 57extern void usbhs_init(struct usbhs_omap_platform_data *pdata);
76 58
77extern void am35x_musb_reset(void); 59extern void am35x_musb_reset(void);
78extern void am35x_musb_phy_power(u8 on); 60extern void am35x_musb_phy_power(u8 on);