diff options
| author | Roger Quadros <rogerq@ti.com> | 2013-02-14 10:13:48 +0200 | 
|---|---|---|
| committer | Roger Quadros <rogerq@ti.com> | 2013-02-14 10:13:48 +0200 | 
| commit | 42973159599086c48c58ad79b9ad0758da6bc256 (patch) | |
| tree | 6a33b6bc3ac6a29fc1a0b0f37efd5235d16a3f19 /arch/arm/mach-omap2/usb.h | |
| parent | 7f07863ec60f7d3dbeec5aff881ea074db3925ed (diff) | |
| download | olio-linux-3.10-42973159599086c48c58ad79b9ad0758da6bc256.tar.xz olio-linux-3.10-42973159599086c48c58ad79b9ad0758da6bc256.zip  | |
ARM: OMAP: Consolidate OMAP USB-HS platform data (part 3/3)
Let's have a single platform data structure for the OMAP's High-Speed
USB host subsystem instead of having 3 separate ones i.e. one for
board data, one for USB Host (UHH) module and one for USB-TLL module.
This makes the code much simpler and avoids creating multiple copies of
platform data.
Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/usb.h')
| -rw-r--r-- | arch/arm/mach-omap2/usb.h | 20 | 
1 files changed, 1 insertions, 19 deletions
diff --git a/arch/arm/mach-omap2/usb.h b/arch/arm/mach-omap2/usb.h index 9b986ead7c4..3319f5cf47a 100644 --- a/arch/arm/mach-omap2/usb.h +++ b/arch/arm/mach-omap2/usb.h @@ -53,26 +53,8 @@  #define USBPHY_OTGSESSEND_EN	(1 << 20)  #define USBPHY_DATA_POLARITY	(1 << 23) -struct usbhs_omap_board_data { -	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 */ -	int	reset_gpio_port[OMAP3_HS_USB_PORTS]; - -	/* Set this to true for ES2.x silicon */ -	unsigned			es2_compatibility:1; - -	unsigned			phy_reset:1; - -	/* -	 * Regulators for USB PHYs. -	 * Each PHY can have a separate regulator. -	 */ -	struct regulator		*regulator[OMAP3_HS_USB_PORTS]; -}; -  extern void usb_musb_init(struct omap_musb_board_data *board_data); -extern void usbhs_init(const struct usbhs_omap_board_data *pdata); +extern void usbhs_init(struct usbhs_omap_platform_data *pdata);  extern void am35x_musb_reset(void);  extern void am35x_musb_phy_power(u8 on);  |