From patchwork Fri Aug 26 11:11:44 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ajay Kumar Gupta X-Patchwork-Id: 1102002 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7QBCGMq019992 for ; Fri, 26 Aug 2011 11:12:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751995Ab1HZLMC (ORCPT ); Fri, 26 Aug 2011 07:12:02 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:41328 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751194Ab1HZLL6 (ORCPT ); Fri, 26 Aug 2011 07:11:58 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id p7QBBr2V031740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 26 Aug 2011 06:11:56 -0500 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7QBBqgI012661; Fri, 26 Aug 2011 16:41:53 +0530 (IST) Received: from dbdp31.itg.ti.com (172.24.170.98) by DBDE71.ent.ti.com (172.24.170.149) with Microsoft SMTP Server id 8.3.106.1; Fri, 26 Aug 2011 16:41:52 +0530 Received: from psplinux050.india.ti.com (psplinux050.india.ti.com [172.24.162.243]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id p7QBBqIu013908; Fri, 26 Aug 2011 16:41:52 +0530 (IST) Received: (from a0393629@localhost) by psplinux050.india.ti.com (8.13.1/8.13.8/Submit) id p7QBBqU5002322; Fri, 26 Aug 2011 16:41:52 +0530 From: Ajay Kumar Gupta To: CC: , , , Ravi B , Ajay Kumar Gupta Subject: [PATCH 2/6] omap: musb: Adding support for ti816x Date: Fri, 26 Aug 2011 16:41:44 +0530 Message-ID: <1314357108-2279-3-git-send-email-ajay.gupta@ti.com> X-Mailer: git-send-email 1.6.2.4 In-Reply-To: <1314357108-2279-1-git-send-email-ajay.gupta@ti.com> References: <1314357108-2279-1-git-send-email-ajay.gupta@ti.com> MIME-Version: 1.0 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.6 (demeter2.kernel.org [140.211.167.43]); Fri, 26 Aug 2011 11:12:17 +0000 (UTC) From: Ravi B Added musb support for ti816x platform which has two instances of musb interface and uses CPPI4.1 DMA. The current patch set adds support for single instance and in PIO mode only. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi B --- arch/arm/mach-omap2/usb-musb.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c index a65145b..911eb27 100644 --- a/arch/arm/mach-omap2/usb-musb.c +++ b/arch/arm/mach-omap2/usb-musb.c @@ -143,6 +143,9 @@ void __init usb_musb_init(struct omap_musb_board_data *musb_board_data) if (cpu_is_omap3517() || cpu_is_omap3505()) { oh_name = "am35x_otg_hs"; name = "musb-am35x"; + } else if (cpu_is_ti81xx()) { + oh_name = "usb_otg_hs"; + name = "ti81xx-usbss"; } else { oh_name = "usb_otg_hs"; name = "musb-omap2430";