aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-ldp.c
diff options
context:
space:
mode:
authorKishon Vijay Abraham I <kishon@ti.com>2013-02-06 08:28:50 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-06 14:40:14 -0500
commit51482be9dcfdd0e46aa3b3b3775efe7044c94f38 (patch)
tree2da31fb27ce0b891e713598aa370b32fb6502739 /arch/arm/mach-omap2/board-ldp.c
parentfa1dfe4abe7f3e1d28ee80753acd9a8a87dbacd7 (diff)
ARM: OMAP: USB: Add phy binding information
This is w.r.t the changes in PHY library to support adding and getting multiple PHYs of the same type. In the new design, the binding information between the PHY and the USB controller should be specified in the platform specific initialization code. So it's been done here for OMAP platforms. Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r--arch/arm/mach-omap2/board-ldp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c
index 0869f4f3d3e1..3b5510a433f0 100644
--- a/arch/arm/mach-omap2/board-ldp.c
+++ b/arch/arm/mach-omap2/board-ldp.c
@@ -28,6 +28,7 @@
28#include <linux/io.h> 28#include <linux/io.h>
29#include <linux/smsc911x.h> 29#include <linux/smsc911x.h>
30#include <linux/mmc/host.h> 30#include <linux/mmc/host.h>
31#include <linux/usb/phy.h>
31#include <linux/platform_data/spi-omap2-mcspi.h> 32#include <linux/platform_data/spi-omap2-mcspi.h>
32 33
33#include <asm/mach-types.h> 34#include <asm/mach-types.h>
@@ -418,6 +419,7 @@ static void __init omap_ldp_init(void)
418 omap_ads7846_init(1, 54, 310, NULL); 419 omap_ads7846_init(1, 54, 310, NULL);
419 omap_serial_init(); 420 omap_serial_init();
420 omap_sdrc_init(NULL, NULL); 421 omap_sdrc_init(NULL, NULL);
422 usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb");
421 usb_musb_init(NULL); 423 usb_musb_init(NULL);
422 board_nand_init(ldp_nand_partitions, ARRAY_SIZE(ldp_nand_partitions), 424 board_nand_init(ldp_nand_partitions, ARRAY_SIZE(ldp_nand_partitions),
423 ZOOM_NAND_CS, 0, nand_default_timings); 425 ZOOM_NAND_CS, 0, nand_default_timings);