Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172790
b: refs/heads/master
c: 83720a8
h: refs/heads/master
v: v3
  • Loading branch information
Anand Gadiyar authored and Tony Lindgren committed Nov 22, 2009
1 parent 8226675 commit c8fc684
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 56190b609b9c011363dd761838ce01cd3cd0a24f
refs/heads/master: 83720a8230f87008deba8619428438f0276b83ca
17 changes: 17 additions & 0 deletions trunk/arch/arm/plat-omap/include/plat/usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@

#include <plat/board.h>

#define OMAP3_HS_USB_PORTS 3
enum ehci_hcd_omap_mode {
EHCI_HCD_OMAP_MODE_UNKNOWN,
EHCI_HCD_OMAP_MODE_PHY,
EHCI_HCD_OMAP_MODE_TLL,
};

struct ehci_hcd_omap_platform_data {
enum ehci_hcd_omap_mode port_mode[OMAP3_HS_USB_PORTS];
unsigned phy_reset:1;

/* have to be valid if phy_reset is true and portx is in phy mode */
int reset_gpio_port[OMAP3_HS_USB_PORTS];
};

/*-------------------------------------------------------------------------*/

#define OMAP1_OTG_BASE 0xfffb0400
Expand All @@ -29,6 +44,8 @@

extern void usb_musb_init(void);

extern void usb_ehci_init(struct ehci_hcd_omap_platform_data *pdata);

#endif

void omap_usb_init(struct omap_usb_config *pdata);
Expand Down

0 comments on commit c8fc684

Please sign in to comment.