summaryrefslogtreecommitdiff
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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/usb.h b/arch/arm/mach-omap2/usb.h
index 9b986ead7c45..856ff43a611f 100644
--- a/arch/arm/mach-omap2/usb.h
+++ b/arch/arm/mach-omap2/usb.h
@@ -54,6 +54,7 @@
#define USBPHY_DATA_POLARITY (1 << 23)
struct usbhs_omap_board_data {
+ int nports;
enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS];
/* have to be valid if phy_reset is true and portx is in phy mode */
@@ -69,6 +70,9 @@ struct usbhs_omap_board_data {
* Each PHY can have a separate regulator.
*/
struct regulator *regulator[OMAP3_HS_USB_PORTS];
+
+ const char *clk[OMAP3_HS_USB_PORTS];
+ unsigned long int clkrate[OMAP3_HS_USB_PORTS];
};
extern void usb_musb_init(struct omap_musb_board_data *board_data);