From: Dmitry Krivoschekov <dmitry.krivoschekov@gmail.com>
To: David Brownell <david-b@pacbell.net>
Cc: Rodolfo Giometti <giometti@enneenne.com>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Li Yang-r58472 <LeoLi@freescale.com>,
linux-usb-devel@lists.sourceforge.net,
linux-arm-kernel@lists.arm.linux.org.uk
Subject: Re: [linux-usb-devel] [PATCH] PXA27x UDC driver.
Date: Fri, 29 Jun 2007 13:03:51 +0400 [thread overview]
Message-ID: <4684CAF7.9050201@gmail.com> (raw)
In-Reply-To: <200706281453.23414.david-b@pacbell.net>
David Brownell wrote:
> On Thursday 28 June 2007, Rodolfo Giometti wrote:
>
>> As suggest by Leo let me propose to you my new patch for PXA27x UDC
>> support.
>>
>> Please, let me know what I have to do for kernel inclusion. :)
>
> Let's start with *JUST* a driver, not trying to update everything
> else in the USB Gadget stack so that it looks like it's designed
> specifically to handle all of Intel's design botches related to
> endpoint config ... and work worse for essentially everything else.
>
> (Unlike pretty much every other vendor, Intel wanted hardware config
> management. It was unusably buggy in pxa21x/25x/26x, and not much
> better in pxa27x.)
>
>
> So in technical terms, and to repeat what I've said before: just
> configure it to act more like a PXA 25x chip (no altsettings) and
> get it so it passes all the tests [1], modulo errata which have no
> workarounds
Other options are:
1. pre-program endpoints so the setting covers all gadget
configurations, it seems it's feasible. The only appreciable
change is, CDC Ethernet config number should be 3 instead of 1.
It should not break anything.
2. Implement a FAKE call of GET_CONFIGURATION command so upon
gadget binding you can issue the command and program endpoints
according to the received gadget configuration.
Also, considering that PXA3XX processors include PXA27x-compatible
USB device controller it makes sense to develop a driver that
will support both processor families. Hopefully PXA3XX arch
support will be merged some day (the arch support has been already
submitted here, but I don't know about its current status).
Regards,
Dmitry
> ... then submit that. No epautoconfig updates, no
> patches to every gadget driver to cope with updated autoconfig.
>
> Once there's a basic working no-frills version merged, then we can
> talk about whether things in the rest of the stack should change
> to accomodate the bizarre concepts of this controller.
>
> - Dave
>
>
> [1] http://www.linux-usb.org/usbtest/
>
next prev parent reply other threads:[~2007-06-29 9:02 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 10:36 [PATCH] PXA27x UDC driver Rodolfo Giometti
2007-06-28 11:15 ` Li Yang-r58472
2007-06-28 14:12 ` Rodolfo Giometti
2007-06-28 21:29 ` Andrew Morton
2007-06-28 22:44 ` David Brownell
2007-06-30 14:28 ` [linux-usb-devel] " David Brownell
2007-07-10 15:49 ` Rodolfo Giometti
2007-07-10 16:16 ` Lothar Wassmann
2007-06-28 21:53 ` David Brownell
2007-06-29 8:58 ` Rodolfo Giometti
2007-06-29 9:33 ` [linux-usb-devel] " Dmitry Krivoschekov
2007-06-30 14:25 ` David Brownell
2007-06-29 9:03 ` Dmitry Krivoschekov [this message]
2007-06-30 13:46 ` [linux-usb-devel] " David Brownell
2007-07-02 11:42 ` Dmitry Krivoschekov
2007-07-09 13:51 ` Rodolfo Giometti
2007-07-10 14:50 ` Vernon Sauder
2007-07-10 18:16 ` David Brownell
2007-06-29 17:04 ` Andy Isaacson
2007-07-01 14:55 ` Lennert Buytenhek
2007-07-01 15:00 ` Russell King - ARM Linux
2007-07-01 17:49 ` David Brownell
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=4684CAF7.9050201@gmail.com \
--to=dmitry.krivoschekov@gmail.com \
--cc=LeoLi@freescale.com \
--cc=akpm@linux-foundation.org \
--cc=david-b@pacbell.net \
--cc=giometti@enneenne.com \
--cc=linux-arm-kernel@lists.arm.linux.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb-devel@lists.sourceforge.net \
/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