All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anand Gadiyar <gadiyar-l0cyMroinI0@public.gmane.org>
To: linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: David Brownell
	<dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	Gregory Clement
	<gclement00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Felipe Balbi <me-uiRdBs8odbtmTBlB0Cgj/Q@public.gmane.org>,
	Sergio Aguirre <saaguirre-l0cyMroinI0@public.gmane.org>,
	Anand Gadiyar <gadiyar-l0cyMroinI0@public.gmane.org>
Subject: [PATCH RFC 5/5] omap: 3630sdp: add ohci platform init
Date: Fri,  2 Apr 2010 20:34:12 +0530	[thread overview]
Message-ID: <1270220652-29127-6-git-send-email-gadiyar@ti.com> (raw)
In-Reply-To: <1270220652-29127-5-git-send-email-gadiyar-l0cyMroinI0@public.gmane.org>

Add platform initialization code for OHCI on the 3630SDP.

Signed-off-by: Anand Gadiyar <gadiyar-l0cyMroinI0@public.gmane.org>
---
 arch/arm/mach-omap2/board-3630sdp.c |    7 +++++++
 1 file changed, 7 insertions(+)

Index: linux-2.6/arch/arm/mach-omap2/board-3630sdp.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-omap2/board-3630sdp.c
+++ linux-2.6/arch/arm/mach-omap2/board-3630sdp.c
@@ -66,6 +66,12 @@ 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_UNUSED,
+	.port_mode[2] = OMAP_OHCI_PORT_MODE_PHY_3PIN_DATSE0,
+};
+
 static void __init omap_sdp_map_io(void)
 {
 	omap2_set_globals_36xx();
@@ -100,6 +106,7 @@ static void __init omap_sdp_init(void)
 	board_smc91x_init();
 	enable_board_wakeup_source();
 	usb_ehci_init(&ehci_pdata);
+	usb_ohci_init(&ohci_pdata);
 }
 
 MACHINE_START(OMAP_3630SDP, "OMAP 3630SDP board")
--
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:[~2010-04-02 15:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-02 15:04 [PATCH RFC v2 0/5] usb: ohci: introduce ohci-hcd driver for omap3 Anand Gadiyar
2010-04-02 15:04 ` [PATCH RFC v2 1/5] omap3: add platform init code for OHCI driver Anand Gadiyar
2010-04-02 15:04   ` [PATCH RFC v2 2/5] usb: ohci: introduce omap3 ohci-hcd driver Anand Gadiyar
2010-04-02 15:04     ` [PATCH RFC 3/5] usb: ohci: Add Kconfig entries for ohci-omap3 Anand Gadiyar
2010-04-02 15:04       ` [PATCH RFC 4/5] omap: 3430sdp: add ohci platform init Anand Gadiyar
     [not found]         ` <1270220652-29127-5-git-send-email-gadiyar-l0cyMroinI0@public.gmane.org>
2010-04-02 15:04           ` Anand Gadiyar [this message]
2010-05-12 20:14           ` Aguirre, Sergio
  -- strict thread matches above, loose matches on Subject: below --
2010-03-21 11:31 [PATCH RFC 0/5] usb: ohci: introduce ohci-hcd driver for omap3 Anand Gadiyar
2010-03-21 11:31 ` [PATCH RFC 1/5] omap3: add platform init code for OHCI driver Anand Gadiyar
2010-03-21 11:32   ` [PATCH RFC 2/5] usb: ohci: introduce omap3 ohci-hcd driver Anand Gadiyar
2010-03-21 11:32     ` [PATCH RFC 3/5] usb: ohci: Add Kconfig entries for ohci-omap3 Anand Gadiyar
2010-03-21 11:32       ` [PATCH RFC 4/5] omap: 3430sdp: add ohci platform init Anand Gadiyar
     [not found]         ` <1269171123-9874-5-git-send-email-gadiyar-l0cyMroinI0@public.gmane.org>
2010-03-21 11:32           ` [PATCH RFC 5/5] omap: 3630sdp: " Anand Gadiyar

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=1270220652-29127-6-git-send-email-gadiyar@ti.com \
    --to=gadiyar-l0cymroini0@public.gmane.org \
    --cc=dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=gclement00-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=me-uiRdBs8odbtmTBlB0Cgj/Q@public.gmane.org \
    --cc=saaguirre-l0cyMroinI0@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 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.