From: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
To: sundeep subbaraya <sundeep.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Daniel Mack <daniel-cYrQPVfZoowdnm+yROfE0A@public.gmane.org>,
Subbaraya Sundeep Bhatta
<subbaraya.sundeep.bhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>,
"balbi-l0cyMroinI0@public.gmane.org"
<balbi-l0cyMroinI0@public.gmane.org>,
"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Greg Kroah-Hartman
<gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org>,
Michal Simek <michals-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>,
"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
svemula-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org,
anirudh-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org,
Subbaraya Sundeep Bhatta
<sbhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH v4 2/2] usb: gadget: Add xilinx usb2 device support
Date: Thu, 21 Aug 2014 09:00:40 -0500 [thread overview]
Message-ID: <20140821140040.GE9608@saruman.home> (raw)
In-Reply-To: <CALHRZur5BC8Q2WFghU8jAtXzt1=tm=8swxp2xEz3MV4z5CCE9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1940 bytes --]
On Thu, Aug 21, 2014 at 12:19:03PM +0530, sundeep subbaraya wrote:
> Hi Daniel,
>
> On Tue, Aug 19, 2014 at 3:26 PM, Daniel Mack <daniel-cYrQPVfZoowdnm+yROfE0A@public.gmane.org> wrote:
> > Hi,
> >
> > On 07/22/2014 11:08 AM, Subbaraya Sundeep Bhatta wrote:
> >> This patch adds xilinx usb2 device driver support
> >
> > Add some more information here, please. Copying the text from the
> > Kconfig option is already a good start.
> >
> >> drivers/usb/gadget/Kconfig | 14 +
> >> drivers/usb/gadget/Makefile | 1 +
> >> drivers/usb/gadget/udc-xilinx.c | 2261 +++++++++++++++++++++++++++++++++++++++
> >> 3 files changed, 2276 insertions(+), 0 deletions(-)
> >> create mode 100644 drivers/usb/gadget/udc-xilinx.c
> >
> > As your driver has a DT binding, you have to describe it in
> > Documentation/devicetree/bindings.
> >
> >> --- a/drivers/usb/gadget/Kconfig
> >> +++ b/drivers/usb/gadget/Kconfig
> >> @@ -459,6 +459,20 @@ config USB_EG20T
> >> ML7213/ML7831 is companion chip for Intel Atom E6xx series.
> >> ML7213/ML7831 is completely compatible for Intel EG20T PCH.
> >>
> >> +config USB_GADGET_XILINX
> >> + tristate "Xilinx USB Driver"
> >> + depends on COMPILE_TEST
> >
> > Why would you depend on that?
>
> Felipe asked to make this since this is USB soft IP driver and its
> dependencies have tendency to grow.
that's not exactly what I asked :-) Usually you only add COMPILE_TEST
when you have an ARCH dependency. So something like:
depends on ARCH_ARM || COMPILE_TEST
would make it clear that this driver is only available on ARM, but when
doing my build tests, I'd still be able to compile it on x86.
> > Also, your code uses device tree functions unconditionally, which is
> > fine, but it must hence depend on 'OF'.
>
> Ok will add OF along with COMPILE_TEST
so this would be:
depends on OF || COMPILE_TEST
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2014-08-21 14:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1406020130-20467-1-git-send-email-sbhatta@xilinx.com>
[not found] ` <1406020130-20467-1-git-send-email-sbhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>
2014-07-22 9:08 ` [PATCH v4 2/2] usb: gadget: Add xilinx usb2 device support Subbaraya Sundeep Bhatta
[not found] ` <31c3ad1a-370a-4d0d-b392-8e7bb292f6aa-reflc3kr++NQO6Rm7zmc1+hlVc3/7hDbVaz/vdPVXQ4@public.gmane.org>
2014-07-22 10:02 ` Varka Bhadram
[not found] ` <53CE36C2.50307-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-08-19 6:08 ` sundeep subbaraya
2014-08-19 9:56 ` Daniel Mack
[not found] ` <53F31F52.8060904-cYrQPVfZoowdnm+yROfE0A@public.gmane.org>
2014-08-19 10:08 ` Daniel Mack
2014-08-21 6:49 ` sundeep subbaraya
[not found] ` <CALHRZur5BC8Q2WFghU8jAtXzt1=tm=8swxp2xEz3MV4z5CCE9A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-08-21 14:00 ` Felipe Balbi [this message]
[not found] ` <20140821140040.GE9608-HgARHv6XitL9zxVx7UNMDg@public.gmane.org>
2014-09-10 13:55 ` sundeep subbaraya
2014-09-10 14:30 ` 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=20140821140040.GE9608@saruman.home \
--to=balbi-l0cymroini0@public.gmane.org \
--cc=anirudh-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org \
--cc=daniel-cYrQPVfZoowdnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=michals-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org \
--cc=sbhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org \
--cc=subbaraya.sundeep.bhatta-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org \
--cc=sundeep.lkml-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=svemula-gjFFaj9aHVfQT0dZR+AlfA@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 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).