aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/usb-omap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/platform_data/usb-omap.h')
-rw-r--r--include/linux/platform_data/usb-omap.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/linux/platform_data/usb-omap.h b/include/linux/platform_data/usb-omap.h
index ef65b67c56c3..fa579b4c666b 100644
--- a/include/linux/platform_data/usb-omap.h
+++ b/include/linux/platform_data/usb-omap.h
@@ -55,13 +55,18 @@ struct ohci_hcd_omap_platform_data {
55}; 55};
56 56
57struct usbhs_omap_platform_data { 57struct usbhs_omap_platform_data {
58 enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; 58 int nports;
59 enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS];
60 int reset_gpio_port[OMAP3_HS_USB_PORTS];
61 struct regulator *regulator[OMAP3_HS_USB_PORTS];
59 62
60 struct ehci_hcd_omap_platform_data *ehci_data; 63 struct ehci_hcd_omap_platform_data *ehci_data;
61 struct ohci_hcd_omap_platform_data *ohci_data; 64 struct ohci_hcd_omap_platform_data *ohci_data;
62 65
63 /* OMAP3 <= ES2.1 have a single ulpi bypass control bit */ 66 /* OMAP3 <= ES2.1 have a single ulpi bypass control bit */
64 unsigned single_ulpi_bypass:1; 67 unsigned single_ulpi_bypass:1;
68 unsigned es2_compatibility:1;
69 unsigned phy_reset:1;
65}; 70};
66 71
67/*-------------------------------------------------------------------------*/ 72/*-------------------------------------------------------------------------*/