<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/include/usb.h, branch v2010.03</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>usb: musb: add support for Blackfin MUSB</title>
<updated>2010-01-09T09:25:09+00:00</updated>
<author>
<name>Bryan Wu</name>
<email>bryan.wu@analog.com</email>
</author>
<published>2009-12-17T03:04:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e608f221c13943d88e86f44753e23668342c3df3'/>
<id>e608f221c13943d88e86f44753e23668342c3df3</id>
<content type='text'>
Signed-off-by: Bryan Wu &lt;bryan.wu@analog.com&gt;
Signed-off-by: Cliff Cai &lt;cliff.cai@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Remy Bohmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Bryan Wu &lt;bryan.wu@analog.com&gt;
Signed-off-by: Cliff Cai &lt;cliff.cai@analog.com&gt;
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Remy Bohmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>DA8xx: Add MUSB host support</title>
<updated>2010-01-09T09:25:07+00:00</updated>
<author>
<name>Ajay Kumar Gupta</name>
<email>ajay.gupta@ti.com</email>
</author>
<published>2009-12-22T05:26:13+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=7359273d946a7dcde04c5e8d5bad669146efc87c'/>
<id>7359273d946a7dcde04c5e8d5bad669146efc87c</id>
<content type='text'>
Tested USB host functionality on DA830 EVM.

Signed-off-by: Ajay Kumar Gupta &lt;ajay.gupta@ti.com&gt;
Signed-off-by: Swaminathan S &lt;swami.iyer@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Tested USB host functionality on DA830 EVM.

Signed-off-by: Ajay Kumar Gupta &lt;ajay.gupta@ti.com&gt;
Signed-off-by: Swaminathan S &lt;swami.iyer@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>OMAP3 Add usb device support</title>
<updated>2009-12-20T11:47:37+00:00</updated>
<author>
<name>Tom Rix</name>
<email>Tom.Rix@windriver.com</email>
</author>
<published>2009-10-31T17:37:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f298e4b6dd56df3e35a13a6ddd572ca3baf06ad2'/>
<id>f298e4b6dd56df3e35a13a6ddd572ca3baf06ad2</id>
<content type='text'>
This change adds the usb device support for musb.

Omap3 platform support added at the same level as davinci.

The interface for usbtty to use the musb device support was added.

Verified on omap3 beagle, zoom1 and zoom2.

Signed-off-by: Tom Rix &lt;Tom.Rix@windriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change adds the usb device support for musb.

Omap3 platform support added at the same level as davinci.

The interface for usbtty to use the musb device support was added.

Verified on omap3 beagle, zoom1 and zoom2.

Signed-off-by: Tom Rix &lt;Tom.Rix@windriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB Consolidate descriptor definitions</title>
<updated>2009-12-20T11:47:37+00:00</updated>
<author>
<name>Tom Rix</name>
<email>Tom.Rix@windriver.com</email>
</author>
<published>2009-10-31T17:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8f8bd565f35ff8a068727bfcf8975c50df082043'/>
<id>8f8bd565f35ff8a068727bfcf8975c50df082043</id>
<content type='text'>
The header files usb.h and usbdescriptors.h have the same nameed
structure definitions for

usb_config_descriptor
usb_interface_descriptor
usb_endpoint_descriptor
usb_device_descriptor
usb_string_descriptor

These are out right duplicates in usb.h

usb_device_descriptor
usb_string_descriptor

This one has extra unused elements

usb_endpoint_descriptor

	unsigned char	bRefresh
	unsigned char	bSynchAddress;

These in usb.h have extra elements at the end of the usb 2.0
specified descriptor and are used.

usb_config_descriptor
usb_interface_descriptor

The change is to consolidate the definition of the descriptors
to usbdescriptors.h.  The dublicates in usb.h are removed.
The extra element structure will have their name shorted by
removing the '_descriptor' suffix.

So

usb_config_descriptor -&gt; usb_config
usb_interface_descriptor -&gt; usb_interface

For these, the common descriptor elements are accessed now
by an element 'desc'.

As an example

-	if (iface-&gt;bInterfaceClass != USB_CLASS_HUB)
+	if (iface-&gt;desc.bInterfaceClass != USB_CLASS_HUB)

This has been compile tested on MAKEALL arm, ppc and mips.

Signed-off-by: Tom Rix &lt;Tom.Rix@windriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The header files usb.h and usbdescriptors.h have the same nameed
structure definitions for

usb_config_descriptor
usb_interface_descriptor
usb_endpoint_descriptor
usb_device_descriptor
usb_string_descriptor

These are out right duplicates in usb.h

usb_device_descriptor
usb_string_descriptor

This one has extra unused elements

usb_endpoint_descriptor

	unsigned char	bRefresh
	unsigned char	bSynchAddress;

These in usb.h have extra elements at the end of the usb 2.0
specified descriptor and are used.

usb_config_descriptor
usb_interface_descriptor

The change is to consolidate the definition of the descriptors
to usbdescriptors.h.  The dublicates in usb.h are removed.
The extra element structure will have their name shorted by
removing the '_descriptor' suffix.

So

usb_config_descriptor -&gt; usb_config
usb_interface_descriptor -&gt; usb_interface

For these, the common descriptor elements are accessed now
by an element 'desc'.

As an example

-	if (iface-&gt;bInterfaceClass != USB_CLASS_HUB)
+	if (iface-&gt;desc.bInterfaceClass != USB_CLASS_HUB)

This has been compile tested on MAKEALL arm, ppc and mips.

Signed-off-by: Tom Rix &lt;Tom.Rix@windriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb : musb : Enabling DM6446 (TI DaVinci) USB module power</title>
<updated>2009-01-28T18:57:30+00:00</updated>
<author>
<name>Thomas Abraham</name>
<email>t-abraham@ti.com</email>
</author>
<published>2009-01-04T04:11:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=538ef967715322f64ee08efa2296d9682111b014'/>
<id>538ef967715322f64ee08efa2296d9682111b014</id>
<content type='text'>
Enabling DM6446 (TI DaVinci) USB module power and MUSB low-level
controller hook up to USB core layer.

Signed-off-by: Ravi Babu &lt;ravibabu@ti.com&gt;
Signed-off-by: Swaminathan S &lt;swami.iyer@ti.com&gt;
Signed-off-by: Thomas Abraham &lt;t-abraham@ti.com&gt;
Signed-off-by: Ajay Kumar Gupta &lt;ajay.gupta@ti.com&gt;
Signed-off-by: Remy Bohmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Enabling DM6446 (TI DaVinci) USB module power and MUSB low-level
controller hook up to USB core layer.

Signed-off-by: Ravi Babu &lt;ravibabu@ti.com&gt;
Signed-off-by: Swaminathan S &lt;swami.iyer@ti.com&gt;
Signed-off-by: Thomas Abraham &lt;t-abraham@ti.com&gt;
Signed-off-by: Ajay Kumar Gupta &lt;ajay.gupta@ti.com&gt;
Signed-off-by: Remy Bohmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb.h: use standard __LITTLE_ENDIAN from Linux headers</title>
<updated>2009-01-28T18:57:29+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-01-01T23:27:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c7d703f3f3c3d6b020bda4cf633f8a6167c3cd2a'/>
<id>c7d703f3f3c3d6b020bda4cf633f8a6167c3cd2a</id>
<content type='text'>
Rather than forcing people to define a custom "LITTLEENDIAN", just use the
__LITTLE_ENDIAN one from the Linux byteorder headers that every arch is
already setting up.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Remy Bohmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rather than forcing people to define a custom "LITTLEENDIAN", just use the
__LITTLE_ENDIAN one from the Linux byteorder headers that every arch is
already setting up.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Remy Bohmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] This patch add varius fix to the ehci.</title>
<updated>2009-01-28T18:57:28+00:00</updated>
<author>
<name>michael</name>
<email>michael@panicking.retis</email>
</author>
<published>2008-12-11T12:43:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=51ab142b8b546d5e627b2c8c36d0adae222565f7'/>
<id>51ab142b8b546d5e627b2c8c36d0adae222565f7</id>
<content type='text'>
- fix ehci_readl, ehci_writel
- introduce new define in ehci.h
- introduce the handshake function for waiting on a register
- fix usb_ehci_fsl with the new HC_LENGTH macro

Signed-off-by: Michael Trimarchi &lt;trimarchimichael@yahoo.it&gt;
Signed-off-by: Remy Böhmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- fix ehci_readl, ehci_writel
- introduce new define in ehci.h
- introduce the handshake function for waiting on a register
- fix usb_ehci_fsl with the new HC_LENGTH macro

Signed-off-by: Michael Trimarchi &lt;trimarchimichael@yahoo.it&gt;
Signed-off-by: Remy Böhmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Prepare USB layer for ehci</title>
<updated>2009-01-28T18:57:27+00:00</updated>
<author>
<name>Michael Trimarchi</name>
<email>trimarchi@gandalf.sssup.it</email>
</author>
<published>2008-11-28T12:19:19+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3e126484df7868e341545cce740b24b62b0cd3b7'/>
<id>3e126484df7868e341545cce740b24b62b0cd3b7</id>
<content type='text'>
Prepare USB layer for ehci support

Signed-off-by: Michael Trimarchi &lt;trimarchi@gandalf.sssup.it&gt;
Signed-off-by: Remy Böhmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prepare USB layer for ehci support

Signed-off-by: Michael Trimarchi &lt;trimarchi@gandalf.sssup.it&gt;
Signed-off-by: Remy Böhmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: descriptor handling</title>
<updated>2008-12-09T20:26:45+00:00</updated>
<author>
<name>Stefan Althoefer</name>
<email>stefan.althoefer@web.de</email>
</author>
<published>2008-12-07T18:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d2776827315c3d469b8cb4cec14d58877798daa2'/>
<id>d2776827315c3d469b8cb4cec14d58877798daa2</id>
<content type='text'>
Hi,

I found a bug when working with the u-boot USB subsystem on IXP425 processor
(big endian Xscale aka ARMv5).
I recognized that the second usb_endpoint_descriptor of the attached memory
stick was corrupted.

The reason for this are the packed structures below (either u-boot and
u-boot-usb):

--------------
/* Endpoint descriptor */
struct usb_endpoint_descriptor {
	unsigned char  bLength;
	unsigned char  bDescriptorType;
	unsigned char  bEndpointAddress;
	unsigned char  bmAttributes;
	unsigned short wMaxPacketSize;
	unsigned char  bInterval;
	unsigned char  bRefresh;
	unsigned char  bSynchAddress;

} __attribute__ ((packed));
/* Interface descriptor */
struct usb_interface_descriptor {
	unsigned char  bLength;
	unsigned char  bDescriptorType;
	unsigned char  bInterfaceNumber;
	unsigned char  bAlternateSetting;
	unsigned char  bNumEndpoints;
	unsigned char  bInterfaceClass;
	unsigned char  bInterfaceSubClass;
	unsigned char  bInterfaceProtocol;
	unsigned char  iInterface;

	unsigned char  no_of_ep;
	unsigned char  num_altsetting;
	unsigned char  act_altsetting;
	struct usb_endpoint_descriptor ep_desc[USB_MAXENDPOINTS];
} __attribute__ ((packed));
------------

As usb_endpoint_descriptor is only 7byte in length, the start of all
odd ep_desc[] structures is not word aligned. This makes wMaxPacketSize
of these structures also not word aligned.

ARMv5 Architecture however does not support non-aligned multibyte
data type (see A2.8 of ARM Architecture Reference Manual).

Signed-off-by: Stefan Althoefer &lt;stefan.althoefer@web.de&gt;
Signed-off-by: Remy Böhmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hi,

I found a bug when working with the u-boot USB subsystem on IXP425 processor
(big endian Xscale aka ARMv5).
I recognized that the second usb_endpoint_descriptor of the attached memory
stick was corrupted.

The reason for this are the packed structures below (either u-boot and
u-boot-usb):

--------------
/* Endpoint descriptor */
struct usb_endpoint_descriptor {
	unsigned char  bLength;
	unsigned char  bDescriptorType;
	unsigned char  bEndpointAddress;
	unsigned char  bmAttributes;
	unsigned short wMaxPacketSize;
	unsigned char  bInterval;
	unsigned char  bRefresh;
	unsigned char  bSynchAddress;

} __attribute__ ((packed));
/* Interface descriptor */
struct usb_interface_descriptor {
	unsigned char  bLength;
	unsigned char  bDescriptorType;
	unsigned char  bInterfaceNumber;
	unsigned char  bAlternateSetting;
	unsigned char  bNumEndpoints;
	unsigned char  bInterfaceClass;
	unsigned char  bInterfaceSubClass;
	unsigned char  bInterfaceProtocol;
	unsigned char  iInterface;

	unsigned char  no_of_ep;
	unsigned char  num_altsetting;
	unsigned char  act_altsetting;
	struct usb_endpoint_descriptor ep_desc[USB_MAXENDPOINTS];
} __attribute__ ((packed));
------------

As usb_endpoint_descriptor is only 7byte in length, the start of all
odd ep_desc[] structures is not word aligned. This makes wMaxPacketSize
of these structures also not word aligned.

ARMv5 Architecture however does not support non-aligned multibyte
data type (see A2.8 of ARM Architecture Reference Manual).

Signed-off-by: Stefan Althoefer &lt;stefan.althoefer@web.de&gt;
Signed-off-by: Remy Böhmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB style patch, 80 chars strict</title>
<updated>2008-11-28T20:24:12+00:00</updated>
<author>
<name>Michael Trimarchi</name>
<email>trimarchi@gandalf.sssup.it</email>
</author>
<published>2008-11-26T16:41:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=de39f8c19d7c12017248c49d432dcb81db68f724'/>
<id>de39f8c19d7c12017248c49d432dcb81db68f724</id>
<content type='text'>
USB Code style patch

Signed-off-by: Michael Trimarchi &lt;trimarchi@gandalf.sssup.it&gt;
Signed-off-by: Remy Böhmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
USB Code style patch

Signed-off-by: Michael Trimarchi &lt;trimarchi@gandalf.sssup.it&gt;
Signed-off-by: Remy Böhmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
