<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/usb, branch tegra-11.2.10</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>arm: tegra: otg: Remove host stop</title>
<updated>2011-07-06T10:28:16+00:00</updated>
<author>
<name>Suresh Mangipudi</name>
<email>smangipudi@nvidia.com</email>
</author>
<published>2011-07-04T05:44:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=868eff5bd918be16ce7181a9f7efeb3d061370c7'/>
<id>868eff5bd918be16ce7181a9f7efeb3d061370c7</id>
<content type='text'>
Remove the stop host call when device is entering suspend. Need to be
detect the host device even after the device exits from LP state.

Bug 835678

Change-Id: Icf32c828078bb0f42237f49373af25d0c768a301
Reviewed-on: http://git-master/r/39506
Reviewed-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Tested-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Reviewed-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Reviewed-by: Hanumanth Venkateswa Moganty &lt;vmoganty@nvidia.com&gt;
Reviewed-by: Alex Courbot &lt;acourbot@nvidia.com&gt;
Tested-by: Alex Courbot &lt;acourbot@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the stop host call when device is entering suspend. Need to be
detect the host device even after the device exits from LP state.

Bug 835678

Change-Id: Icf32c828078bb0f42237f49373af25d0c768a301
Reviewed-on: http://git-master/r/39506
Reviewed-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Tested-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Reviewed-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Reviewed-by: Hanumanth Venkateswa Moganty &lt;vmoganty@nvidia.com&gt;
Reviewed-by: Alex Courbot &lt;acourbot@nvidia.com&gt;
Tested-by: Alex Courbot &lt;acourbot@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: ehci: tegra: fix hotplug issue on usb2</title>
<updated>2011-07-06T10:28:09+00:00</updated>
<author>
<name>Ken Chang</name>
<email>kenc@nvidia.com</email>
</author>
<published>2011-07-01T07:35:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=894ef272deec269ccbf1caf2b9a5e4ce3bbf7a0f'/>
<id>894ef272deec269ccbf1caf2b9a5e4ce3bbf7a0f</id>
<content type='text'>
usb hotplug is supported only for UTMI phy. usb_phy_type should be
carefully checked in ehci irq.

bug 845612

Change-Id: I2fdc7c79b9816dd3465353375448b07f138ff950
Reviewed-on: http://git-master/r/39338
Tested-by: Ken Chang &lt;kenc@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Reviewed-by: Yu-Fong (Foster) Cho &lt;ycho@nvidia.com&gt;
Reviewed-by: ChihJen Hsu &lt;chhsu@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usb hotplug is supported only for UTMI phy. usb_phy_type should be
carefully checked in ehci irq.

bug 845612

Change-Id: I2fdc7c79b9816dd3465353375448b07f138ff950
Reviewed-on: http://git-master/r/39338
Tested-by: Ken Chang &lt;kenc@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Reviewed-by: Yu-Fong (Foster) Cho &lt;ycho@nvidia.com&gt;
Reviewed-by: ChihJen Hsu &lt;chhsu@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra: usb: prevent crash if irq occurs while sleeping</title>
<updated>2011-06-29T10:43:23+00:00</updated>
<author>
<name>Alexandre Courbot</name>
<email>acourbot@nvidia.com</email>
</author>
<published>2011-06-27T07:53:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d7b102eca117b41c0f244b292d076e574608c565'/>
<id>d7b102eca117b41c0f244b292d076e574608c565</id>
<content type='text'>
In some rare cases, EHCI irqs interrupts be triggered while the block is
suspended. This is notably the case when unplugging a host cable to
which no device is attached. In this case, the interrupt handler will be
called with the block powered off, which will eventually crash. This
patch workarounds this by returning from the interrupt handler
immediatly if the block is not powered on.

Change-Id: I7763f56f20a984e3db716306b6bf8ec223c90363
Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Reviewed-on: http://git-master/r/35604
Reviewed-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Reviewed-by: Hanumanth Venkateswa Moganty &lt;vmoganty@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In some rare cases, EHCI irqs interrupts be triggered while the block is
suspended. This is notably the case when unplugging a host cable to
which no device is attached. In this case, the interrupt handler will be
called with the block powered off, which will eventually crash. This
patch workarounds this by returning from the interrupt handler
immediatly if the block is not powered on.

Change-Id: I7763f56f20a984e3db716306b6bf8ec223c90363
Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Reviewed-on: http://git-master/r/35604
Reviewed-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Reviewed-by: Hanumanth Venkateswa Moganty &lt;vmoganty@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra: usb: fix ehci suspend in host mode</title>
<updated>2011-06-21T17:03:37+00:00</updated>
<author>
<name>Alexandre Courbot</name>
<email>acourbot@nvidia.com</email>
</author>
<published>2011-06-07T06:24:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=88d6c27b5fb6122cfe21aa360c417f675f5f2797'/>
<id>88d6c27b5fb6122cfe21aa360c417f675f5f2797</id>
<content type='text'>
When suspend is called and usb1 is in host mode, tegra_hci_remove is
invoked to remove the device. However, at this time it is likely that
runtime PM will have powered off usb1. This patch ensures usb1 is
powered on if necessary within tegra_hci_remove so that ehci controller
registers can be manipulated.

Bug 835677.

Change-Id: Ida9585ecb4fcc9a88786131a1b629905efd1a07a
Reviewed-on: http://git-master/r/35592
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When suspend is called and usb1 is in host mode, tegra_hci_remove is
invoked to remove the device. However, at this time it is likely that
runtime PM will have powered off usb1. This patch ensures usb1 is
powered on if necessary within tegra_hci_remove so that ehci controller
registers can be manipulated.

Bug 835677.

Change-Id: Ida9585ecb4fcc9a88786131a1b629905efd1a07a
Reviewed-on: http://git-master/r/35592
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: ehci: tegra: Correctly handle GetPortStatus during Resume</title>
<updated>2011-06-14T12:20:32+00:00</updated>
<author>
<name>Nathan Connell</name>
<email>w14185@motorola.com</email>
</author>
<published>2011-05-02T19:32:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f4cd754c1af2bbc2101dd208fd4d3d0bf6368d26'/>
<id>f4cd754c1af2bbc2101dd208fd4d3d0bf6368d26</id>
<content type='text'>
Multiple GetPortStatus requests can be made while the
USB bus is resuming.  All requests must be handled
properly to prevent incorrect disconnect detection
during Resume and improper indentification of
Resume signaling as a remote wakeup event.

Bug 817128

(cherry-pick from 789333436de3878b2ea878d4c2c030af7ed481ce)

Change-Id: If1a01a5883051290bdaf09537f737e5797209936
Signed-off-by: Nathan Connell &lt;w14185@motorola.com&gt;
Reviewed-on: http://git-master/r/36311
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Multiple GetPortStatus requests can be made while the
USB bus is resuming.  All requests must be handled
properly to prevent incorrect disconnect detection
during Resume and improper indentification of
Resume signaling as a remote wakeup event.

Bug 817128

(cherry-pick from 789333436de3878b2ea878d4c2c030af7ed481ce)

Change-Id: If1a01a5883051290bdaf09537f737e5797209936
Signed-off-by: Nathan Connell &lt;w14185@motorola.com&gt;
Reviewed-on: http://git-master/r/36311
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: usb: prefetch engine buffer coherency protection</title>
<updated>2011-06-14T11:28:48+00:00</updated>
<author>
<name>Jay Cheng</name>
<email>jacheng@nvidia.com</email>
</author>
<published>2011-06-10T20:50:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bf623c5edbc8f0f5b23d5580aea1038418893792'/>
<id>bf623c5edbc8f0f5b23d5580aea1038418893792</id>
<content type='text'>
The prefetcher fetches a total of 128 bytes, and then responding to
sequential reads with this prefetched data. To avoid coherency issues,
it discards the prefetched data if a non sequential read occurs.

Allocate dtd with 128 bytes boundary to make 2 consecutive dtd 128 bytes
 apart.

bug 825970

Change-Id: I5ab066d8535cf719b5ed830293a883609180b525
Reviewed-on: http://git-master/r/36157
Tested-by: Cho-Che Cheng &lt;jacheng@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Reviewed-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The prefetcher fetches a total of 128 bytes, and then responding to
sequential reads with this prefetched data. To avoid coherency issues,
it discards the prefetched data if a non sequential read occurs.

Allocate dtd with 128 bytes boundary to make 2 consecutive dtd 128 bytes
 apart.

bug 825970

Change-Id: I5ab066d8535cf719b5ed830293a883609180b525
Reviewed-on: http://git-master/r/36157
Tested-by: Cho-Che Cheng &lt;jacheng@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Reviewed-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: host: tegra: Fix a possible int storm on resume from lp0</title>
<updated>2011-06-14T11:28:40+00:00</updated>
<author>
<name>Benoit Goby</name>
<email>benoit@android.com</email>
</author>
<published>2011-01-05T01:40:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=1ffaaac2463f94ad1056abfa345f6e50249ec1c4'/>
<id>1ffaaac2463f94ad1056abfa345f6e50249ec1c4</id>
<content type='text'>
usbcore will reenable usb interrupts later once the bus has been
resumed.

bug 835193

Change-Id: Idf36d34f2f08c469246e7329b088529f3d805b7d
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
Reviewed-on: http://git-master/r/36145
Tested-by: Cho-Che Cheng &lt;jacheng@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Reviewed-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usbcore will reenable usb interrupts later once the bus has been
resumed.

bug 835193

Change-Id: Idf36d34f2f08c469246e7329b088529f3d805b7d
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
Reviewed-on: http://git-master/r/36145
Tested-by: Cho-Che Cheng &lt;jacheng@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Reviewed-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: ehci: tegra: Don't change the hcd state on restart</title>
<updated>2011-06-14T11:28:16+00:00</updated>
<author>
<name>Benoit Goby</name>
<email>benoit@android.com</email>
</author>
<published>2010-12-28T23:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bce8ee9ee177c2c4af21f3275b6472e68a13850e'/>
<id>bce8ee9ee177c2c4af21f3275b6472e68a13850e</id>
<content type='text'>
usbcore will change it once the bus has been resumed. This fixes
the "hub 3-0:1.0: activate --&gt; -22" error on resume.

bug 835193

Change-Id: I766ee27320a6cfa7cf8d937e3dbeb522a3fd19bd
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
Reviewed-on: http://git-master/r/36144
Tested-by: Cho-Che Cheng &lt;jacheng@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Reviewed-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
usbcore will change it once the bus has been resumed. This fixes
the "hub 3-0:1.0: activate --&gt; -22" error on resume.

bug 835193

Change-Id: I766ee27320a6cfa7cf8d937e3dbeb522a3fd19bd
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
Reviewed-on: http://git-master/r/36144
Tested-by: Cho-Che Cheng &lt;jacheng@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Reviewed-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: introduce delay when setting address of tegra device</title>
<updated>2011-06-13T19:09:07+00:00</updated>
<author>
<name>Alexandre Courbot</name>
<email>acourbot@nvidia.com</email>
</author>
<published>2011-05-27T04:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=166531c98333cfe635b65dc35c1981dc17cc9dd1'/>
<id>166531c98333cfe635b65dc35c1981dc17cc9dd1</id>
<content type='text'>
Some windows host drivers require this small delay in order to properly
detect the tegra device. This patch ensures correct detection in all
cases.

Workaround for bug 814907

Change-Id: I3ff294f9cbe3660964b9bd227c233f4e20115e80
Reviewed-on: http://git-master/r/35352
Reviewed-by: Alex Courbot &lt;acourbot@nvidia.com&gt;
Tested-by: Alex Courbot &lt;acourbot@nvidia.com&gt;
Reviewed-by: David Schalig &lt;dschalig@nvidia.com&gt;
Tested-by: David Schalig &lt;dschalig@nvidia.com&gt;
Reviewed-by: Hanumanth Venkateswa Moganty &lt;vmoganty@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some windows host drivers require this small delay in order to properly
detect the tegra device. This patch ensures correct detection in all
cases.

Workaround for bug 814907

Change-Id: I3ff294f9cbe3660964b9bd227c233f4e20115e80
Reviewed-on: http://git-master/r/35352
Reviewed-by: Alex Courbot &lt;acourbot@nvidia.com&gt;
Tested-by: Alex Courbot &lt;acourbot@nvidia.com&gt;
Reviewed-by: David Schalig &lt;dschalig@nvidia.com&gt;
Tested-by: David Schalig &lt;dschalig@nvidia.com&gt;
Reviewed-by: Hanumanth Venkateswa Moganty &lt;vmoganty@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: f_accessory: Set bNumEndpoints to correct value of 2</title>
<updated>2011-05-31T12:58:34+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2011-03-27T15:00:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7798bb9251068a190af7c1bbf616ad8af01bbe52'/>
<id>7798bb9251068a190af7c1bbf616ad8af01bbe52</id>
<content type='text'>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
(cherry picked from commit 663abba4c6d83e798d1479298130f34a28dacd8b)
Change-Id: I5d1b01fa6e8856c929d13abfa38db732115e9ddc
Reviewed-on: http://git-master/r/32892
Reviewed-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Tested-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
(cherry picked from commit 663abba4c6d83e798d1479298130f34a28dacd8b)
Change-Id: I5d1b01fa6e8856c929d13abfa38db732115e9ddc
Reviewed-on: http://git-master/r/32892
Reviewed-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Tested-by: Suresh Mangipudi &lt;smangipudi@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
