From patchwork Wed Sep 7 17:02:23 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: 1128022 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p87H2qGG003346 for ; Wed, 7 Sep 2011 17:02:54 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754678Ab1IGRCg (ORCPT ); Wed, 7 Sep 2011 13:02:36 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:52127 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754530Ab1IGRCe (ORCPT ); Wed, 7 Sep 2011 13:02:34 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p87H2TpB016211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Sep 2011 12:02:32 -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 p87H2Sb9001037; Wed, 7 Sep 2011 22:32:29 +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; Wed, 7 Sep 2011 22:32:29 +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 p87H2S0h022826; Wed, 7 Sep 2011 22:32:28 +0530 (IST) Received: (from a0393629@localhost) by psplinux050.india.ti.com (8.13.1/8.13.8/Submit) id p87H2SDm019880; Wed, 7 Sep 2011 22:32:28 +0530 From: Ajay Kumar Gupta To: CC: , , , Ravi Babu , Ajay Kumar Gupta Subject: [PATCH 4/6 v2] ti816evm: Add support for musb interface Date: Wed, 7 Sep 2011 22:32:23 +0530 Message-ID: <1315414945-19829-5-git-send-email-ajay.gupta@ti.com> X-Mailer: git-send-email 1.6.2.4 In-Reply-To: <1315414945-19829-1-git-send-email-ajay.gupta@ti.com> References: <1315414945-19829-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 (demeter1.kernel.org [140.211.167.41]); Wed, 07 Sep 2011 17:02:54 +0000 (UTC) From: Ravi Babu Adding musb support in ti816 EVM board file. Signed-off-by: Ajay Kumar Gupta Signed-off-by: Ravi Babu --- arch/arm/mach-omap2/board-ti8168evm.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-ti8168evm.c b/arch/arm/mach-omap2/board-ti8168evm.c index e516a04..5a4a6c8 100644 --- a/arch/arm/mach-omap2/board-ti8168evm.c +++ b/arch/arm/mach-omap2/board-ti8168evm.c @@ -23,6 +23,14 @@ #include #include #include +#include + +static struct omap_musb_board_data musb_board_data = { + .set_phy_power = ti81xx_musb_phy_power, + .interface_type = MUSB_INTERFACE_ULPI, + .mode = MUSB_OTG, + .power = 500, +}; static struct omap_board_config_kernel ti8168_evm_config[] __initdata = { }; @@ -38,6 +46,7 @@ static void __init ti8168_evm_init(void) omap_serial_init(); omap_board_config = ti8168_evm_config; omap_board_config_size = ARRAY_SIZE(ti8168_evm_config); + usb_musb_init(&musb_board_data); } static void __init ti8168_evm_map_io(void)