From patchwork Thu Aug 19 19:18:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Munegowda, Keshava" X-Patchwork-Id: 120481 X-Patchwork-Delegate: me@felipebalbi.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7K7IAph024548 for ; Fri, 20 Aug 2010 07:18:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752110Ab0HTHRr (ORCPT ); Fri, 20 Aug 2010 03:17:47 -0400 Received: from bear.ext.ti.com ([192.94.94.41]:55281 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752017Ab0HTHRi (ORCPT ); Fri, 20 Aug 2010 03:17:38 -0400 Received: from dlep35.itg.ti.com ([157.170.170.118]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o7K7HcY1015134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Aug 2010 02:17:38 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id o7K7HZqQ024914; Fri, 20 Aug 2010 02:17:36 -0500 (CDT) Received: from localhost (a0393220-desktop.apr.dhcp.ti.com [172.24.137.6]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o7K7HXf00737; Fri, 20 Aug 2010 02:17:34 -0500 (CDT) From: Keshava Munegowda To: linux-usb@vger.kernel.org, linux-omap@vger.kernel.org Cc: Keshava Munegowda , Anand Gadiyar Subject: [RFC] [PATCH 5/5] usb: ohci: omap: enable the ohci port on OMAP4SDP Date: Fri, 20 Aug 2010 00:48:10 +0530 Message-Id: <1282245490-24339-6-git-send-email-keshava_mgowda@ti.com> X-Mailer: git-send-email 1.6.0.4 In-Reply-To: <1282245490-24339-5-git-send-email-keshava_mgowda@ti.com> References: <1282245490-24339-1-git-send-email-keshava_mgowda@ti.com> <1282245490-24339-2-git-send-email-keshava_mgowda@ti.com> <1282245490-24339-3-git-send-email-keshava_mgowda@ti.com> <1282245490-24339-4-git-send-email-keshava_mgowda@ti.com> <1282245490-24339-5-git-send-email-keshava_mgowda@ti.com> 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 (demeter.kernel.org [140.211.167.41]); Fri, 20 Aug 2010 07:18:12 +0000 (UTC) Index: linux-2.6/arch/arm/mach-omap2/board-4430sdp.c =================================================================== --- linux-2.6.orig/arch/arm/mach-omap2/board-4430sdp.c +++ linux-2.6/arch/arm/mach-omap2/board-4430sdp.c @@ -424,6 +424,11 @@ static const struct ehci_hcd_omap_platfo .reset_gpio_port[2] = -EINVAL }; +static const struct ohci_hcd_omap_platform_data ohci_pdata __initconst = { + .port_mode[0] = OMAP_OHCI_PORT_MODE_UNUSED, + .port_mode[1] = OMAP_OHCI_PORT_MODE_PHY_6PIN_DATSE0, + .port_mode[2] = OMAP_OHCI_PORT_MODE_UNUSED, +}; static int __init omap4_i2c_init(void) { /* @@ -454,6 +459,7 @@ static void __init omap_4430sdp_init(voi gpio_direction_output(OMAP4SDP_MDM_PWR_EN_GPIO, 1); } usb_ehci_init(&ehci_pdata); + usb_ohci_init(&ohci_pdata); /* OMAP4 SDP uses internal transceiver so register nop transceiver */ usb_nop_xceiv_register(); /* FIXME: allow multi-omap to boot until musb is updated for omap4 */