<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb, branch v2015.04-rc2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/usb?h=v2015.04-rc2</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb?h=v2015.04-rc2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2015-02-16T19:05:52Z</updated>
<entry>
<title>sunxi: otg: Fix peripheral mode</title>
<updated>2015-02-16T19:05:52Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2015-02-11T08:05:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b1b912ddf3041627e99899cfc09e015a54f9910e'/>
<id>urn:sha1:b1b912ddf3041627e99899cfc09e015a54f9910e</id>
<content type='text'>
Peripheral mode needs us to signal vusb high to the phy for it to work,
just like the host mode does.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
Acked-by: Ian Campbell &lt;ijc@hellion.org.uk&gt;
</content>
</entry>
<entry>
<title>usb: pci: Add XHCI driver for PCI</title>
<updated>2015-02-06T05:16:42Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-01-28T05:13:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=316328f59d5bb64ed8ab70b68edb434cae70ee58'/>
<id>urn:sha1:316328f59d5bb64ed8ab70b68edb434cae70ee58</id>
<content type='text'>
Add a driver which locates the available XHCI controllers on the PCI bus
and makes them available.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>usb: pci: Use pci_find_class() to find the device</title>
<updated>2015-02-06T05:16:42Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-01-28T05:13:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=4fd46727e4e5d5cf58bceac0be5a33fa4196435e'/>
<id>urn:sha1:4fd46727e4e5d5cf58bceac0be5a33fa4196435e</id>
<content type='text'>
Use the new utility function instead of local code.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Reviewed-by: Bin Meng &lt;bmeng.cn@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm: usb: Remove use of fdtdec GPIO support</title>
<updated>2015-01-30T00:09:52Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2015-01-06T03:05:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=46927e1ef40682656d69cbe18abf327e2f842a23'/>
<id>urn:sha1:46927e1ef40682656d69cbe18abf327e2f842a23</id>
<content type='text'>
These functions are going away, so use the new uclass support instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>usb: eth: asix88179: add ability to modify MAC address</title>
<updated>2015-01-18T11:31:36Z</updated>
<author>
<name>Rene Griessl</name>
<email>rgriessl@cit-ec.uni-bielefeld.de</email>
</author>
<published>2015-01-12T16:51:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=119339759266b81af1aa8883702b6b651d7752dd'/>
<id>urn:sha1:119339759266b81af1aa8883702b6b651d7752dd</id>
<content type='text'>
This patch enables U-Boot to modify the MAC address of the AX88179.
Tested on RECS5250 (similar to Arndale5250)

Signed-off-by: Rene Griessl &lt;rgriessl@cit-ec.uni-bielefeld.de&gt;
</content>
</entry>
<entry>
<title>musb-new: Add interrupt queue support</title>
<updated>2015-01-18T11:31:36Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2015-01-11T19:34:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=904f2a83a8c620ceb3974cc6b1529b966d7899b1'/>
<id>urn:sha1:904f2a83a8c620ceb3974cc6b1529b966d7899b1</id>
<content type='text'>
Add interrupt queue support, so that a usb keyboard can be used without
causing huge latencies.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>musb-new: Add urb and hep parameters to construct_urb</title>
<updated>2015-01-18T11:31:36Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2015-01-11T19:34:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=accf04c2aa106a8ea5387d309e1ac037eba5ad63'/>
<id>urn:sha1:accf04c2aa106a8ea5387d309e1ac037eba5ad63</id>
<content type='text'>
Make construct_urb take an urb and hep parameter, rather then having it always
operate on the file global urb and hep structs. This is a preperation patch
for adding interrupt queue support.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>musb-new: Properly remove a transfer from the schedule on timeout</title>
<updated>2015-01-18T11:31:36Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2015-01-11T19:34:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b918a0c6f694a58b54a7de949d0c720bc6671bd9'/>
<id>urn:sha1:b918a0c6f694a58b54a7de949d0c720bc6671bd9</id>
<content type='text'>
If a transfer / urb times-out, properly remove it from the schedule, rather
then letting it sit on the ep head. This stops the musb code from getting
confused and refusing to queue further transfers after a timeout.

Tested by unplugging a usb-keyboard, replugging it and doing a usb-reset,
before this commit the keyboard would not work after the usb-reset.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>musb-new: Fix reset sequence when in host mode</title>
<updated>2015-01-18T11:31:36Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2015-01-11T19:34:51Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=90cdc1039d0bf6d85bb497dbb93d317ad234e846'/>
<id>urn:sha1:90cdc1039d0bf6d85bb497dbb93d317ad234e846</id>
<content type='text'>
This commit fixes a number of issues with the reset sequence of musb-new
in host mode:

1) Our usb device probe relies on a second device reset being done after the
first descriptors read. Factor the musb reset code into a usb_reset_root_port
function (and add this as an empty define for other controllers), and call
this when a device has no parent.

2) Just like with normal usb controllers there needs to be a delay after
reset, for normal usb controllers, this is handled in hub_port_reset, add a
delay to usb_reset_root_port.

3) Sync the musb reset sequence with the upstream kernel, clear all bits of
power except bits 4-7, and increase the time reset is asserted to 50 ms.

With these fixes an usb keyboard I have now always enumerates properly, where
as earlier it would only enumerare properly once every 5 tries.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
<entry>
<title>musb-new: Fix interrupt transfers not working</title>
<updated>2015-01-18T11:31:36Z</updated>
<author>
<name>Hans de Goede</name>
<email>hdegoede@redhat.com</email>
</author>
<published>2015-01-11T19:34:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e8672e3f0ec571d0ca7ccd8cbbeb113802c1d443'/>
<id>urn:sha1:e8672e3f0ec571d0ca7ccd8cbbeb113802c1d443</id>
<content type='text'>
For bulk and ctrl transfers common/usb.c sets udev-&gt;status = USB_ST_NOT_PROC,
but it does not do so for interrupt transfers.

musb_uboot.c: submit_urb() however was waiting for USB_ST_NOT_PROC to become 0,
and thus without anyone setting USB_ST_NOT_PROC would exit immediately for
interrupt urbs, returning the urb status of EINPROGRESS as error.

This commit fixes this, thereby also making usb_kbd.c work together with
musb_new and CONFIG_SYS_USB_EVENT_POLL.

Signed-off-by: Hans de Goede &lt;hdegoede@redhat.com&gt;
</content>
</entry>
</feed>
