linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ajay Kumar Gupta <ajay.gupta-l0cyMroinI0@public.gmane.org>
To: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	balbi-l0cyMroinI0@public.gmane.org,
	tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org,
	Ravi Babu <ravibabu-l0cyMroinI0@public.gmane.org>,
	Ajay Kumar Gupta <ajay.gupta-l0cyMroinI0@public.gmane.org>
Subject: [PATCH 4/6 v3] ti816evm: Add support for musb interface
Date: Fri, 9 Sep 2011 19:17:48 +0530	[thread overview]
Message-ID: <1315576070-7618-5-git-send-email-ajay.gupta@ti.com> (raw)
In-Reply-To: <1315576070-7618-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>

From: Ravi Babu <ravibabu-l0cyMroinI0@public.gmane.org>

Adding musb support in ti816 EVM board file.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta-l0cyMroinI0@public.gmane.org>
Signed-off-by: Ravi Babu <ravibabu-l0cyMroinI0@public.gmane.org>
---
 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 <plat/irqs.h>
 #include <plat/board.h>
 #include <plat/common.h>
+#include <plat/usb.h>
+
+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)
-- 
1.6.2.4

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2011-09-09 13:47 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-09 13:47 [PATCH 0/6 v3] usb: musb: Adding support for ti81xx Ajay Kumar Gupta
     [not found] ` <1315576070-7618-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-09-09 13:47   ` [PATCH 1/6 v3] omap: musb: Adding hwmod data " Ajay Kumar Gupta
     [not found]     ` <1315576070-7618-2-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-09-26  9:51       ` Gupta, Ajay Kumar
     [not found]         ` <19F8576C6E063C45BE387C64729E739404ECA545E3-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2011-10-07  8:56           ` Felipe Balbi
2011-10-10  5:10             ` Gupta, Ajay Kumar
2011-10-10  5:44               ` Felipe Balbi
2011-10-11  8:43                 ` Gupta, Ajay Kumar
     [not found]                   ` <19F8576C6E063C45BE387C64729E739404ECCE551F-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2011-10-11  9:10                     ` Felipe Balbi
     [not found]                       ` <20111011091055.GE10155-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2011-10-11  9:37                         ` Gupta, Ajay Kumar
2011-10-11  9:43                           ` Felipe Balbi
2011-10-11 10:02                             ` Gupta, Ajay Kumar
2011-09-09 13:47   ` Ajay Kumar Gupta [this message]
     [not found]     ` <1315576070-7618-5-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-10-07  8:58       ` [PATCH 4/6 v3] ti816evm: Add support for musb interface Felipe Balbi
2011-09-09 13:47 ` [PATCH 2/6 v3] omap: musb: Adding support for ti81xx Ajay Kumar Gupta
2011-10-07  8:56   ` Felipe Balbi
2011-09-09 13:47 ` [PATCH 3/6 v3] omap: musb: ti81xx: Add phy power function Ajay Kumar Gupta
     [not found]   ` <1315576070-7618-4-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-10-07  8:57     ` Felipe Balbi
2011-09-09 13:47 ` [PATCH 5/6 v3] ti814evm: Add support for musb interface Ajay Kumar Gupta
2011-10-07  8:58   ` Felipe Balbi
2011-09-09 13:47 ` [PATCH 6/6 v3] usb: musb: Add support for ti81xx platform Ajay Kumar Gupta
2011-10-07  8:59   ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1315576070-7618-5-git-send-email-ajay.gupta@ti.com \
    --to=ajay.gupta-l0cymroini0@public.gmane.org \
    --cc=balbi-l0cyMroinI0@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ravibabu-l0cyMroinI0@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).