Skip to contentSkip to conversation

arm: OMAP4430: musb: Configure musb to OTG mode

PATCH In review Hema HK 1 participant 1 message Dec 10, 2010

Subsystems (3)
lore
Share & tools
lore

Hema HK

author
#0 lore raw

PATCH v2 7/7 arm: OMAP4430: musb: Configure musb to OTG mode

Enabling the musb OTG mode for SDP and PANDA boards.

Cc Felipe Balbi <[email protected]>
Cc Tony Lindgren <[email protected]>
---
 arch/arm/mach-omap2/board-4430sdp.c    |    2 +-
 arch/arm/mach-omap2/board-omap4panda.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/board-4430sdp.c +1 -1
Index: usb/arch/arm/mach-omap2/board-4430sdp.c
===================================================================
@@ -238,7 +238,7 @@ static const struct ehci_hcd_omap_platfo
 
 static struct omap_musb_board_data musb_board_data = {
 	.interface_type		= MUSB_INTERFACE_UTMI,
-	.mode			= MUSB_PERIPHERAL,
+	.mode			= MUSB_OTG,
 	.power			= 100,
 };
 
arch/arm/mach-omap2/board-omap4panda.c +1 -1
Index: usb/arch/arm/mach-omap2/board-omap4panda.c
===================================================================
@@ -133,7 +133,7 @@ error1:
 
 static struct omap_musb_board_data musb_board_data = {
 	.interface_type		= MUSB_INTERFACE_UTMI,
-	.mode			= MUSB_PERIPHERAL,
+	.mode			= MUSB_OTG,
 	.power			= 100,
 };
 

--
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