aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap3pandora.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-omap3pandora.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-omap3pandora.c')
-rw-r--r--arch/arm/mach-omap2/board-omap3pandora.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-omap3pandora.c b/arch/arm/mach-omap2/board-omap3pandora.c
index a53a6683c1b8..1ac3e81969e0 100644
--- a/arch/arm/mach-omap2/board-omap3pandora.c
+++ b/arch/arm/mach-omap2/board-omap3pandora.c
@@ -35,6 +35,7 @@
35#include <linux/mmc/host.h> 35#include <linux/mmc/host.h>
36#include <linux/mmc/card.h> 36#include <linux/mmc/card.h>
37#include <linux/regulator/fixed.h> 37#include <linux/regulator/fixed.h>
38#include <linux/usb/phy.h>
38#include <linux/platform_data/spi-omap2-mcspi.h> 39#include <linux/platform_data/spi-omap2-mcspi.h>
39 40
40#include <asm/mach-types.h> 41#include <asm/mach-types.h>
@@ -601,6 +602,7 @@ static void __init omap3pandora_init(void)
601 ARRAY_SIZE(omap3pandora_spi_board_info)); 602 ARRAY_SIZE(omap3pandora_spi_board_info));
602 omap_ads7846_init(1, OMAP3_PANDORA_TS_GPIO, 0, NULL); 603 omap_ads7846_init(1, OMAP3_PANDORA_TS_GPIO, 0, NULL);
603 usbhs_init(&usbhs_bdata); 604 usbhs_init(&usbhs_bdata);
605 usb_bind_phy("musb-hdrc.0.auto", 0, "twl4030_usb");
604 usb_musb_init(NULL); 606 usb_musb_init(NULL);
605 gpmc_nand_init(&pandora_nand_data, NULL); 607 gpmc_nand_init(&pandora_nand_data, NULL);
606 608