diff options
author | Hema HK <hemahk@ti.com> | 2011-02-16 13:04:40 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-02-17 16:35:53 +0100 |
commit | fe5a4901c20c09b4380b7d4a0197efb6489c4ce8 (patch) | |
tree | f149eec2883161699e0cdaf85ec67691e447455f /arch/arm/mach-omap2/board-am3517evm.c | |
parent | Linux 2.6.38-rc5 (diff) | |
download | linux-fe5a4901c20c09b4380b7d4a0197efb6489c4ce8.tar.xz linux-fe5a4901c20c09b4380b7d4a0197efb6489c4ce8.zip |
usb: musb: AM35x: moving internal phy functions out of usb_musb.c file
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.
Signed-off-by: Hema HK <hemahk@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-am3517evm.c')
-rw-r--r-- | arch/arm/mach-omap2/board-am3517evm.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-am3517evm.c b/arch/arm/mach-omap2/board-am3517evm.c index 10d60b7743cf..3413bf993c7d 100644 --- a/arch/arm/mach-omap2/board-am3517evm.c +++ b/arch/arm/mach-omap2/board-am3517evm.c @@ -409,6 +409,10 @@ static struct omap_musb_board_data musb_board_data = { .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) |