[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120416155839.GA23627@kroah.com>
Date: Mon, 16 Apr 2012 08:58:39 -0700
From: Greg KH <gregkh@...uxfoundation.org>
To: Roland Stigge <stigge@...com.de>
Cc: Alan Stern <stern@...land.harvard.edu>, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, kevin.wells@....com,
srinivas.bakki@....com, arnd@...db.de,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 1/3] USB: Add driver for NXP ISP1301 USB transceiver
On Mon, Apr 16, 2012 at 05:52:08PM +0200, Roland Stigge wrote:
> On 04/16/2012 05:09 PM, Alan Stern wrote:
> >> drivers/usb/Makefile | 5 ++
> >> drivers/usb/misc/Kconfig | 12 ++++++
> >> drivers/usb/misc/Makefile | 1
> >> drivers/usb/misc/isp1301.c | 64 ++++++++++++++++++++++++++++++++++
> >> include/linux/usb/isp1301.h | 82 ++++++++++++++++++++++++++++++++++++++++++++
> >
> > You know, drivers/usb/misc is meant for miscellaneous USB device
> > drivers. Not for host or transceiver drivers.
> >
> > You should put the new file somewhere else. Maybe in the otg
> > directory, although that may not be completely appropriate either.
> > Maybe something under the host directory.
>
> The driver is used by drivers in the following directories:
>
> drivers/usb/host/ (ohci-nxp.c)
> drivers/usb/otg/ (isp1301_omap.c)
> drivers/usb/gadget/ (lpc32xx_udc.c)
>
> So host/ and otg/ don't look much better.
>
> Maybe one of (new):
>
> drivers/usb/transceiver/
> drivers/usb/phy/
> drivers/usb/lowlevel/
Sure, any of those would be fine with me, but not misc please.
thanks,
greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists