From: linux@prisktech.co.nz (Tony Prisk)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] USB: EHCI: make ehci-vt8500 a separate driver
Date: Sat, 16 Feb 2013 11:21:16 +1300 [thread overview]
Message-ID: <1360966876.24923.1.camel@gitbox> (raw)
In-Reply-To: <1360966349-1242560-1-git-send-email-arnd@arndb.de>
On Fri, 2013-02-15 at 23:12 +0100, Arnd Bergmann wrote:
> From: Manjunath Goudar <manjunath.goudar@linaro.org>
>
> With the multiplatform changes in arm-soc tree, it becomes
> possible to enable the vt8500 platform at the same time
> as other platforms that require a conflicting EHCI bus
> glue. At the moment, this results in a warning like
>
> drivers/usb/host/ehci-hcd.c:1277:0: warning: "PLATFORM_DRIVER" redefined [enabled by default]
> drivers/usb/host/ehci-hcd.c:1257:0: note: this is the location of the previous definition
> drivers/usb/host/ehci-omap.c:319:31: warning: 'ehci_hcd_omap_driver' defined but not used [-Wunused-variable]
>
> and an ehci driver that only works on one of them.
>
> With the infrastructure added by Alan Stern in patch 3e0232039
> "USB: EHCI: prepare to make ehci-hcd a library module", we can
> avoid this problem by turning a bus glue into a separate
> module, as we do here for the vt8500 bus glue.
>
> Signed-off-by: Manjunath Goudar <manjunath.goudar@linaro.org>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Tony Prisk <linux@prisktech.co.nz>
> Cc: Alexey Charkov <alchark@gmail.com>
> ---
> drivers/usb/host/Kconfig | 8 +++++
> drivers/usb/host/Makefile | 1 +
> drivers/usb/host/ehci-hcd.c | 6 +---
> drivers/usb/host/ehci-vt8500.c | 73 +++++++++++++++++++-----------------------
> 4 files changed, 43 insertions(+), 45 deletions(-)
>
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index c59a112..d77e028 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -162,6 +162,14 @@ config USB_EHCI_HCD_OMAP
> Enables support for the on-chip EHCI controller on
> OMAP3 and later chips.
>
> +config USB_EHCI_HCD_VT8500
> + tristate "Support for VT8500 on-chip EHCI USB controller"
> + depends on USB_EHCI_HCD && ARCH_VT8500
> + default y
> + ---help---
> + Enables support for the on-chip EHCI controller on
> + VT8500 chips.
> +
This should also mention Wondermedia SoCs I guess since the same driver
is used for VT8500, WM8505, WM8650 etc etc.
Other than that:
Acked-by: Tony Prisk <linux@prisktech.co.nz>
next prev parent reply other threads:[~2013-02-15 22:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 10:24 [V2 0/8] usb: ehci: more bus glues as separate modules Manjunath Goudar
2013-02-15 16:10 ` Arnd Bergmann
2013-02-15 18:07 ` Greg KH
2013-02-15 21:58 ` Arnd Bergmann
2013-02-15 22:12 ` [PATCH 1/2] USB: EHCI: make ehci-vt8500 a separate driver Arnd Bergmann
2013-02-15 22:12 ` [PATCH 2/2] USB: EHCI: make ehci-orion " Arnd Bergmann
2013-02-15 22:38 ` Jason Cooper
2013-02-16 8:42 ` Andrew Lunn
2013-02-16 14:19 ` Ezequiel Garcia
2013-02-16 23:03 ` [PATCH] USB: update host controller Kconfig entries Arnd Bergmann
2013-02-18 22:34 ` [PATCH 2/2] USB: EHCI: make ehci-orion a separate driver Alan Stern
2013-02-19 7:24 ` Andrew Lunn
2013-02-19 8:32 ` Arnaud Patard (Rtp)
2013-02-20 18:28 ` Greg KH
2013-02-20 18:44 ` Arnd Bergmann
[not found] ` <CAJFYCKGCNDTSq9OYZUYXx8XNSgSHD=p=hw+9_7N=EhM=bUu=bg@mail.gmail.com>
2013-02-19 10:56 ` Arnd Bergmann
2013-02-19 15:26 ` Alan Stern
2013-02-20 16:02 ` Alan Stern
2013-02-20 16:27 ` Arnd Bergmann
2013-02-20 16:54 ` Jason Cooper
2013-02-15 22:21 ` Tony Prisk [this message]
2013-02-15 16:47 ` [V2 0/8] usb: ehci: more bus glues as separate modules Ezequiel Garcia
[not found] ` <1360923853-7875-3-git-send-email-manjunath.goudar@linaro.org>
2013-02-18 9:44 ` [V2 2/8] USB: EHCI: make ehci-atmel a separate driver Bo Shen
2013-02-18 10:12 ` Arnd Bergmann
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=1360966876.24923.1.camel@gitbox \
--to=linux@prisktech.co.nz \
--cc=linux-arm-kernel@lists.infradead.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).