(unknown)
Subsystems (4)
Moved all the board specific internal PHY functions out of usb_musb.c file as this file is shared between the OMAP2+ and AM35xx platforms. There exists a file which has the functions specific to internal PHY used for OMAP4 platform. Moved all phy specific functions to this file and passing these functions through board data in the board file.
arch/arm/mach-omap2/board-am3517evm.c +4 -0
@@ -409,6 +409,10 @@ static struct omap_musb_board_data musb_ .interface_type = MUSB_INTERFACE_ULPI, .mode = MUSB_OTG, .power = 500, + .set_phy_power = am35x_musb_phy_power, + .clear_irq = am35x_musb_clear_irq, + .set_mode = am35x_musb_set_mode, + .reset = am35x_musb_reset, };static __init void am3517_evm_musb_init (void )
arch/arm/mach-omap2/omap_phy_internal.c +93 -0
102 lines not on this page · raw message
arch/arm/mach-omap2/usb-musb.c +0 -97
112 lines not on this page · raw message
arch/arm/plat-omap/include/plat/usb.h +4 -0
@@ -91,6 +91,10 @@ extern int omap4430_phy_exit(struct devi#endif +extern void am35x_musb_reset (void ); +extern void am35x_musb_phy_power (u8 on); +extern void am35x_musb_clear_irq (void ); +extern void am35x_musb_set_mode (u8 musb_mode);/* * FIXME correct answer depends on hmc_mode,
arch/arm/mach-omap2/Makefile +2 -1
@@ -218,7 +218,8 @@ obj-$(CONFIG_MACH_OMAP4_PANDA) += board hsmmc.o \ omap_phy_internal.o -obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o +obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o \ + omap_phy_internal.o \ obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.o
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: your mail
no subject ??
Signature · 1 line
balbi
RE: your mail
Hi,
Yes. This was broken patch. My bad... I resent the patch.
Regards,
Hema
Quoted 12 lines
-----Original Message-----
From: Felipe Balbi [mailto:[email protected]]
Sent: Wednesday, February 16, 2011 5:26 PM
To: Hema HK
Cc: [email protected]; [email protected]; Felipe Balbi
Subject: Re: your mailno subject ??
--
balbi