From: Ajay Kumar Gupta <ajay.gupta@ti.com>
To: linux-omap@vger.kernel.org
Cc: linux-usb@vger.kernel.org, balbi@ti.com, tony@atomide.com,
Ravi Babu <ravibabu@ti.com>, Ajay Kumar Gupta <ajay.gupta@ti.com>
Subject: [PATCH 5/6 v2] ti814evm: Add support for musb interface
Date: Wed, 7 Sep 2011 22:32:24 +0530 [thread overview]
Message-ID: <1315414945-19829-6-git-send-email-ajay.gupta@ti.com> (raw)
In-Reply-To: <1315414945-19829-1-git-send-email-ajay.gupta@ti.com>
From: Ravi Babu <ravibabu@ti.com>
Adding musb support in ti814 EVM board file.
Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
Signed-off-by: Ravi Babu <ravibabu@ti.com>
---
arch/arm/mach-omap2/board-ti8148evm.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/arch/arm/mach-omap2/board-ti8148evm.c b/arch/arm/mach-omap2/board-ti8148evm.c
index 588d6b7..7dbf115 100644
--- a/arch/arm/mach-omap2/board-ti8148evm.c
+++ b/arch/arm/mach-omap2/board-ti8148evm.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 ti8148_evm_config[] __initdata = {
};
@@ -38,6 +46,7 @@ static void __init ti8148_evm_init(void)
omap_serial_init();
omap_board_config = ti8148_evm_config;
omap_board_config_size = ARRAY_SIZE(ti8148_evm_config);
+ usb_musb_init(&musb_board_data);
}
static void __init ti8148_evm_map_io(void)
--
1.6.2.4
next prev parent reply other threads:[~2011-09-07 17:02 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-07 17:02 [PATCH 0/6 v2] usb: musb: Adding support for ti81xx Ajay Kumar Gupta
2011-09-07 17:02 ` [PATCH 3/6 v2] omap: musb: ti81xx: Add phy power function Ajay Kumar Gupta
2011-09-08 10:45 ` Sergei Shtylyov
[not found] ` <4E689CCD.2050708-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2011-09-08 10:53 ` Gupta, Ajay Kumar
2011-09-07 17:02 ` [PATCH 4/6 v2] ti816evm: Add support for musb interface Ajay Kumar Gupta
2011-09-07 17:02 ` Ajay Kumar Gupta [this message]
[not found] ` <1315414945-19829-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-09-07 17:02 ` [PATCH 1/6 v2] omap: musb: Adding hwmod data for ti81xx Ajay Kumar Gupta
2011-09-08 6:26 ` Munegowda, Keshava
[not found] ` <CAP05o4Lfas96izGGVQN0qkTRX_kwUncPWVX2d6+izh4YMuQ6dA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-08 8:00 ` Felipe Balbi
[not found] ` <20110908080004.GD7707-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2011-09-08 8:47 ` Munegowda, Keshava
2011-09-08 11:06 ` Gupta, Ajay Kumar
2011-09-07 17:02 ` [PATCH 2/6 v2] omap: musb: Adding support " Ajay Kumar Gupta
2011-09-07 17:02 ` [PATCH 6/6 v2] usb: musb: Add support for ti81xx platform Ajay Kumar Gupta
[not found] ` <1315414945-19829-7-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-09-07 19:14 ` Felipe Balbi
2011-09-08 12:03 ` Gupta, Ajay Kumar
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=1315414945-19829-6-git-send-email-ajay.gupta@ti.com \
--to=ajay.gupta@ti.com \
--cc=balbi@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=ravibabu@ti.com \
--cc=tony@atomide.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.