linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: antoine.tenart@free-electrons.com (Antoine Tenart)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v7 08/13] usb: chipidea: add a usb2 driver for ci13xxx
Date: Mon, 17 Nov 2014 11:01:09 +0100	[thread overview]
Message-ID: <20141117100109.GA20934@kwain> (raw)
In-Reply-To: <20141114211334.GF16388@saruman>

Felipe,

On Fri, Nov 14, 2014 at 03:13:34PM -0600, Felipe Balbi wrote:
> On Fri, Nov 14, 2014 at 10:10:52PM +0100, Antoine Tenart wrote:
> > On Fri, Nov 14, 2014 at 03:08:32PM -0600, Felipe Balbi wrote:
> > > On Fri, Nov 14, 2014 at 04:25:58PM +0100, Antoine Tenart wrote:
> > > > Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock
> > > > and DMA mask, to support USB2 ChipIdea controllers that don't need
> > > > specific functions.
> > > > 
> > > > Tested on the Marvell Berlin SoCs USB controllers.
> > > > 
> > > > Signed-off-by: Antoine Tenart <antoine.tenart@free-electrons.com>
> > > > ---
> > > >  drivers/usb/chipidea/Makefile       |   1 +
> > > >  drivers/usb/chipidea/ci_hdrc_usb2.c | 117 ++++++++++++++++++++++++++++++++++++
> > > >  2 files changed, 118 insertions(+)
> > > >  create mode 100644 drivers/usb/chipidea/ci_hdrc_usb2.c
> > > > 
> > > > diff --git a/drivers/usb/chipidea/Makefile b/drivers/usb/chipidea/Makefile
> > > > index 2f099c7df7b5..1fc86a2ca22d 100644
> > > > --- a/drivers/usb/chipidea/Makefile
> > > > +++ b/drivers/usb/chipidea/Makefile
> > > > @@ -10,6 +10,7 @@ ci_hdrc-$(CONFIG_USB_OTG_FSM)		+= otg_fsm.o
> > > >  
> > > >  # Glue/Bridge layers go here
> > > >  
> > > > +obj-$(CONFIG_USB_CHIPIDEA)	+= ci_hdrc_usb2.o
> > > 
> > > usb2 is too generic, you should call it ci_hdcr_marvell, or something
> > > like that.
> > 
> > This driver is generic, and not only for Marvell Berlin SoCs. It is part
> > of the Berlin USB series as it is the first SoC to use it but Xilinx can
> > also use it for example.
> 
> then how about ci_hdrc_generic.c ?

We had this discussion during in the v2 thread of this series[1]. I tend
to prefer not using the 'generic' keyword. I think using 'usb2' is
generic enough here.


Antoine

[1] https://lkml.org/lkml/2014/6/24/197

-- 
Antoine T?nart, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-11-17 10:01 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-14 15:25 [PATCH v7 00/13] ARM: berlin: USB support Antoine Tenart
2014-11-14 15:25 ` [PATCH v7 01/13] reset: add the Berlin reset controller driver Antoine Tenart
2014-11-14 15:25 ` [PATCH v7 02/13] Documentation: bindings: add reset bindings docs for Marvell Berlin SoCs Antoine Tenart
2014-11-14 15:25 ` [PATCH v7 03/13] ARM: Berlin: select the reset controller Antoine Tenart
2014-11-14 15:33   ` Arnd Bergmann
2014-11-14 15:36     ` Sebastian Hesselbarth
2014-11-14 17:28       ` Antoine Tenart
2014-11-14 19:07         ` Sebastian Hesselbarth
2014-11-14 15:25 ` [PATCH v7 04/13] ARM: dts: berlin: add a required reset property in the chip controller node Antoine Tenart
2014-11-14 15:25 ` [PATCH v7 05/13] phy: add the Berlin USB PHY driver Antoine Tenart
2014-11-14 15:25 ` [PATCH v7 06/13] Documentation: bindings: add doc for the Berlin USB PHY Antoine Tenart
2014-11-14 15:25 ` [PATCH v7 07/13] usb: chipidea: fix phy handling Antoine Tenart
2014-11-17  5:53   ` Peter Chen
2014-11-14 15:25 ` [PATCH v7 08/13] usb: chipidea: add a usb2 driver for ci13xxx Antoine Tenart
2014-11-14 21:08   ` Felipe Balbi
2014-11-14 21:10     ` Antoine Tenart
2014-11-14 21:13       ` Felipe Balbi
2014-11-17 10:01         ` Antoine Tenart [this message]
2014-11-17  5:40   ` Peter Chen
2014-11-14 15:25 ` [PATCH v7 09/13] Documentation: bindings: add doc for the USB2 ChipIdea USB driver Antoine Tenart
2014-11-17  5:54   ` Peter Chen
2014-11-14 15:26 ` [PATCH v7 10/13] ARM: dts: berlin: add BG2Q nodes for USB support Antoine Tenart
2014-11-14 15:26 ` [PATCH v7 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP Antoine Tenart
2014-11-14 18:47   ` Sergei Shtylyov
2014-11-14 21:14     ` Antoine Tenart
2014-11-14 15:26 ` [PATCH v7 12/13] ARM: dts: berlin: add BG2CD nodes for USB support Antoine Tenart
2014-11-14 15:26 ` [PATCH v7 13/13] ARM: dts: berlin: enable USB on the Google Chromecast Antoine Tenart

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=20141117100109.GA20934@kwain \
    --to=antoine.tenart@free-electrons.com \
    --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).