<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/dwc3/core.h, branch linux-3.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-12-12T09:48:47Z</updated>
<entry>
<title>usb: dwc3: gadget: fix stream enable bit</title>
<updated>2011-12-12T09:48:47Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2011-11-29T11:11:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c90bfaece97c18d1ad66b9d4c717b1cb55a647ad'/>
<id>urn:sha1:c90bfaece97c18d1ad66b9d4c717b1cb55a647ad</id>
<content type='text'>
ep-&gt;max_streams is a mere hint to the gadget
driver that 'ep' supports stream handling. Using
that as a decision variable for enabling streams
was my worst brain-fart to date.

Instead, we should check from the Superspeed
Endpoint Companion Descriptor if the endpoint
has requested streams. For that we need a little
re-factoring but it is now correct.

Debugged-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: ep0: use dwc3_request for ep0 requsts instead of usb_request</title>
<updated>2011-12-12T09:48:45Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2011-11-25T11:03:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e0ce0b0a0ae5a31ee96b38a7c5390f867634b4f6'/>
<id>urn:sha1:e0ce0b0a0ae5a31ee96b38a7c5390f867634b4f6</id>
<content type='text'>
Instead of special functions and shortcuts for sending our internal
answers to the host we started doing what the gadget does and used the
public API for this. Since we only were using a few fields the
usb_request was enough. Later added the list handling in order to
synchronize the host / gadget events and now we require to have the
dwc3_request struct around our usb_request or else we touch memory that
does not belong to us. So this patch does this.

Reported-by: Partha Basak &lt;p-basak2@ti.com&gt;
Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: workaround: missing disconnect event</title>
<updated>2011-12-12T09:48:42Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2011-10-14T12:11:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=df62df56e13d73cb0dd4c54649d4fe13557128f8'/>
<id>urn:sha1:df62df56e13d73cb0dd4c54649d4fe13557128f8</id>
<content type='text'>
DWC3 revisions &lt;1.88a have an issue which would
case a missing Disconnect event if cable is
disconnected while there's a Setup packet
pending the FIFO.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: workaround: U1/U2 -&gt; U0 transiton</title>
<updated>2011-12-12T09:48:34Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2011-10-14T10:00:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fae2b904aa85beecd0950026de28921ae65fb3da'/>
<id>urn:sha1:fae2b904aa85beecd0950026de28921ae65fb3da</id>
<content type='text'>
RTL revisions &lt;1.83a have an issue where, depending
on the link partner, the USB link might do multiple
entry/exit of low power states before a transfer
takes place causing degraded throughput.

The suggested workaround is to clear bits
12:9 of DCTL register if we see a transition
from U1|U2 to U0 and only re-enable that on
a transfer complete IRQ and we have no pending
transfers on any of the enabled endpoints.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: ep0: handle delayed_status again</title>
<updated>2011-12-12T09:48:31Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2011-11-02T12:30:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bdb1dcc63304a407e70020c1118fca1642bebaa'/>
<id>urn:sha1:5bdb1dcc63304a407e70020c1118fca1642bebaa</id>
<content type='text'>
Since the re-worked ep0 handling (which uses HW's hints to recognize the ep0
status) we lost the delayed status handling. This is used by the file and mass
storage gadget to gain some extra time so setup its internal status before it
can proceed further requests.
In particular the storage gadget does nothing on USB_REQ_SET_CONFIGURATION but
wakes up a thread which handles the request. If the udc driver continues ep0
handling before the thread did its work then then endpoint is not yet
configured and further requests will fail. Once the gadget is ready, it will
enqueue an empty packet which is used for synchronization.
In order to fix this issue, the patch does the following:
Set -&gt;delayed_status once the delayed_status has been notices and do not
continue on the next XferNotReady event. We will continues ep0 processing once
the gadget enqueued the zero packet for synchronization.

A cleaner approach would be to enforce the gadget to enqueue an empty
(zero) request even for the status phase but this would do for now.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: use a helper function for operation mode setting</title>
<updated>2011-12-12T09:48:26Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2011-10-31T21:25:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3140e8cbfec18ecb9c9ef856933fdb98c09af1e8'/>
<id>urn:sha1:3140e8cbfec18ecb9c9ef856933fdb98c09af1e8</id>
<content type='text'>
There are two where need to set operational mode:
- during initialization while we decide to run in host,device or DRD
  mode
- at runtime via the debugfs interface.

This patch provides a new function which sets the operational mode and
moves its initialiation to the mode switch instead in the gadget code
itself.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: core: drop DWC3_EVENT_BUFFERS_MAX</title>
<updated>2011-12-12T09:48:24Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2011-10-24T09:03:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=457d3f214f97783c392dd4d64e2427c121b1a4d6'/>
<id>urn:sha1:457d3f214f97783c392dd4d64e2427c121b1a4d6</id>
<content type='text'>
hardware will tell us how many event buffers we
need to support, so let's allocate the array
dynamically too.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: move dwc3 device ID bitmap to core.c</title>
<updated>2011-12-12T09:48:21Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2011-10-18T10:54:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8300dd236e957429acfb36be0ce8fe276dbe823c'/>
<id>urn:sha1:8300dd236e957429acfb36be0ce8fe276dbe823c</id>
<content type='text'>
if we want to support situations where we have
both SoC and PCIe versions of the IP on the same
platform, we need to have sequential numbers between
them, otherwise we will still have name collisions.

Because of that, we need to move dwc3_get/put_device_id()
to core.c and export that symbol to be used by glue
layers.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: remove special status request handling in ep0</title>
<updated>2011-12-12T09:48:21Z</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
</author>
<published>2011-10-18T17:13:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ee6270c7f0aeba07355eee82d687efcd8ca9d39'/>
<id>urn:sha1:8ee6270c7f0aeba07355eee82d687efcd8ca9d39</id>
<content type='text'>
The GetStatus (STD)-request is handled the driver and uses a tiny hack
to send the two bytes long answer. This patch removes the custom hack
uses the normal usb_ep_queue() for that.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: dwc3: debugfs: add support for changing port mode</title>
<updated>2011-12-12T09:48:15Z</updated>
<author>
<name>Felipe Balbi</name>
</author>
<published>2011-10-17T05:50:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0b9fe32deece53c9bc6d1e6d17a85ef1eb2e294b'/>
<id>urn:sha1:0b9fe32deece53c9bc6d1e6d17a85ef1eb2e294b</id>
<content type='text'>
This makes testing a lot easier when trying to
switch between host and device modes.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
</feed>
