(unknown)
Subsystems (4)
From: Hema HK <[email protected]
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
A message that is not in the archive (sent off-list or not yet received): 1297857190-27449-1-git-send-email-hemahk-l0cyMroinI0@public.gmane.org
Re: your mail
no subject ??
Signature · 5 lines
balbi -- 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:
In reply to Hema HKQuoted 25 lines · Hema HK
From: Hema HK<[email protected]
Moved all the board specific internal PHY functions out of
usb_musb.cfile 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.Signed-off-by Hema HK<[email protected]>Index:
linux-2.6/arch/arm/mach-omap2/board-am3517evm.c
===================================================================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/Makefile obj-$(CONFIG_MACH_OMAP4_PANDA) += board · line 224
Quoted 13 lines
Index: linux-2.6/arch/arm/mach-omap2/Makefile
===================================================================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
Doesn't the above board needs board data modified as well?
WBR, Sergei
A message that is not in the archive (sent off-list or not yet received): [email protected]
RE:
Hi,
Quoted 45 lines
-----Original Message-----
From: Sergei Shtylyov [mailto:[email protected]]
Sent: Wednesday, February 16, 2011 5:31 PM
To: Hema HK
Cc: [email protected]; [email protected]
Subject: Re:Quoted 3 lines · Hema HK
From: Hema HK<[email protected]
Moved all the board specific internal PHY functions out of
usb_musb.cfileQuoted 3 lines
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
Quoted 19 lines
and passing these functions through board data in the board file.
Signed-off-by Hema HK<[email protected]>Index:
linux-2.6/arch/arm/mach-omap2/board-am3517evm.c
===================================================================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 )[...]
Quoted 8 lines
Index: linux-2.6/arch/arm/mach-omap2/Makefile
===================================================================arch/arm/mach-omap2/Makefile +0
-0@@ -218,7 +218,8 @@ obj-$(CONFIG_MACH_OMAP4_PANDA) += board hsmmc.o \ omap_phy_internal.o
Quoted 7 lines
arch/arm/mach-omap2/Makefile obj-$(CONFIG_MACH_OMAP4_PANDA) += board · line 224
Quoted 5 lines
arch/arm/mach-omap2/Makefile +2
-1-obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o +obj-$(CONFIG_MACH_OMAP3517EVM) += board-am3517evm.o \ + omap_phy_internal.o \ obj-$(CONFIG_MACH_CRANEBOARD) += board-am3517crane.oDoesn't the above board needs board data modified as well?
There is no "musb_board_data" for the above board file.
Regards,
Hema
Quoted 3 lines
WBR, Sergei
--
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