From patchwork Fri Dec 10 12:41:42 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kalliguddi, Hema" X-Patchwork-Id: 398292 X-Patchwork-Delegate: me@felipebalbi.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBACf2mI024134 for ; Fri, 10 Dec 2010 12:41:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756119Ab0LJMlt (ORCPT ); Fri, 10 Dec 2010 07:41:49 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:33542 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756100Ab0LJMls (ORCPT ); Fri, 10 Dec 2010 07:41:48 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id oBACfiob006756 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 10 Dec 2010 06:41:47 -0600 Received: from localhost.localdomain (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id oBACfhAV027128; Fri, 10 Dec 2010 18:11:44 +0530 (IST) From: Hema HK To: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org Cc: Hema HK , Felipe Balbi , Tony Lindgren Subject: [PATCH 8/8 V2] arm: OMAP4430: musb: Configure musb to OTG mode Date: Fri, 10 Dec 2010 18:11:42 +0530 Message-Id: <1291984902-26112-1-git-send-email-hemahk@ti.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Fri, 10 Dec 2010 12:41:51 +0000 (UTC) Index: usb/arch/arm/mach-omap2/board-4430sdp.c =================================================================== --- usb.orig/arch/arm/mach-omap2/board-4430sdp.c +++ 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, }; Index: usb/arch/arm/mach-omap2/board-omap4panda.c =================================================================== --- usb.orig/arch/arm/mach-omap2/board-omap4panda.c +++ 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, };