From: Felipe Balbi <balbi@ti.com>
To: Apelete Seketeli <apelete@seketeli.net>
Cc: <linux-usb@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
Felipe Balbi <balbi@ti.com>, Lars-Peter Clausen <lars@metafoo.de>
Subject: Re: [PATCH v2 2/3] usb: musb: add support for JZ4740 usb device controller
Date: Thu, 19 Dec 2013 09:36:08 -0600 [thread overview]
Message-ID: <20131219153608.GK3985@saruman.home> (raw)
In-Reply-To: <1387324561-21578-3-git-send-email-apelete@seketeli.net>
[-- Attachment #1: Type: text/plain, Size: 1590 bytes --]
On Wed, Dec 18, 2013 at 12:56:00AM +0100, Apelete Seketeli wrote:
> Add support for Ingenic JZ4740 USB Device Controller through a
> specific musb glue layer.
>
> The platform data already available in tree for that USB Device
> Controller was previously used by an out-of-tree USB gadget driver
> which was not relying on the musb driver and was written by Ingenic
> and the Qi-Hardware community.
>
> JZ4740 UDC not being OTG compatible and missing some hardware
> registers, this musb glue layer is written from scratch to be used in
> gadget mode only and take silicon design specifics into account.
>
> Signed-off-by: Apelete Seketeli <apelete@seketeli.net>
> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
> ---
> arch/mips/include/asm/mach-jz4740/platform.h | 1 +
> arch/mips/jz4740/board-qi_lb60.c | 1 +
> arch/mips/jz4740/platform.c | 40 +++--
> drivers/usb/musb/Kconfig | 8 +-
> drivers/usb/musb/Makefile | 1 +
> drivers/usb/musb/jz4740.c | 201 ++++++++++++++++++++++++++
you can split this patch. drivers part has no dependency on arch part.
> diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
> index 57dfc0c..a45ed15 100644
> --- a/drivers/usb/musb/Kconfig
> +++ b/drivers/usb/musb/Kconfig
> @@ -93,6 +93,12 @@ config USB_MUSB_BLACKFIN
> config USB_MUSB_UX500
> tristate "Ux500 platforms"
>
> +config USB_MUSB_JZ4740
> + tristate "JZ4740"
> + depends on MACH_JZ4740
add || COMPILE_TEST
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-12-19 15:36 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-17 23:55 [PATCH v2 0/3] Add USB support for Ingenic JZ4740 Apelete Seketeli
2013-12-17 23:55 ` [PATCH v2 1/3] mips: qi_lb60: add defconfig for Ben NanoNote Apelete Seketeli
2013-12-18 14:59 ` Sergei Shtylyov
2013-12-18 16:00 ` Apelete Seketeli
2013-12-18 18:43 ` Sergei Shtylyov
2013-12-17 23:56 ` [PATCH v2 2/3] usb: musb: add support for JZ4740 usb device controller Apelete Seketeli
2013-12-19 15:36 ` Felipe Balbi [this message]
2013-12-17 23:56 ` [PATCH v2 3/3] usb: musb: fix setting JZ4740 gadget periphal mode on reset Apelete Seketeli
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=20131219153608.GK3985@saruman.home \
--to=balbi@ti.com \
--cc=apelete@seketeli.net \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.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
all inboxes | Powered by JetHome®