summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/usb.h
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-04-08 16:34:32 -0700
committerTony Lindgren <tony@atomide.com>2013-04-08 16:34:32 -0700
commitd05663a23f31a1baf25ab8894b8c3fb2a506aa6a (patch)
tree6b40bb08676a2788b007482df65f6d21a4afe331 /arch/arm/mach-omap2/usb.h
parent07961ac7c0ee8b546658717034fe692fd12eefa9 (diff)
parent1fac4fffa719a98ec1047eaece236244333c9afe (diff)
Merge branch 'for_3.10/dts' of git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt into omap-for-v3.10/dt
Diffstat (limited to 'arch/arm/mach-omap2/usb.h')
-rw-r--r--arch/arm/mach-omap2/usb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/usb.h b/arch/arm/mach-omap2/usb.h
index 3319f5cf47a3..e7261ebcf7b0 100644
--- a/arch/arm/mach-omap2/usb.h
+++ b/arch/arm/mach-omap2/usb.h
@@ -53,8 +53,17 @@
#define USBPHY_OTGSESSEND_EN (1 << 20)
#define USBPHY_DATA_POLARITY (1 << 23)
+struct usbhs_phy_data {
+ int port; /* 1 indexed port number */
+ int reset_gpio;
+ int vcc_gpio;
+ bool vcc_polarity; /* 1 active high, 0 active low */
+ void *platform_data;
+};
+
extern void usb_musb_init(struct omap_musb_board_data *board_data);
extern void usbhs_init(struct usbhs_omap_platform_data *pdata);
+extern int usbhs_init_phys(struct usbhs_phy_data *phy, int num_phys);
extern void am35x_musb_reset(void);
extern void am35x_musb_phy_power(u8 on);