<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git, branch tegra-10.11.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>tegra: dc: set HDMI clock to 0 if HDMI unplugged</title>
<updated>2011-06-18T00:03:50+00:00</updated>
<author>
<name>Xin Xie</name>
<email>xxie@nvidia.com</email>
</author>
<published>2011-05-27T22:58:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e299e1d21b790cc390c4176b963904c13bfa4c9b'/>
<id>e299e1d21b790cc390c4176b963904c13bfa4c9b</id>
<content type='text'>
HDMI clock is not auto dvfs, so we need set the clock rate to 0 if HDMI
is disabled. Otherwise the Vdd core voltage will be always 1.2v even
after HDMI cable unplugged.

BUG 828306

Reviewed-on: http://git-master/r/34379
(cherry picked from commit 58ddd144a6c2dd9bbc9d2f3c8b1e025364d88c22)

Change-Id: I5b455a7a945d4834fb162b2986639df5a26b112c
Reviewed-on: http://git-master/r/37176
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
HDMI clock is not auto dvfs, so we need set the clock rate to 0 if HDMI
is disabled. Otherwise the Vdd core voltage will be always 1.2v even
after HDMI cable unplugged.

BUG 828306

Reviewed-on: http://git-master/r/34379
(cherry picked from commit 58ddd144a6c2dd9bbc9d2f3c8b1e025364d88c22)

Change-Id: I5b455a7a945d4834fb162b2986639df5a26b112c
Reviewed-on: http://git-master/r/37176
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
Tested-by: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: f_mass_storage: Make us pass USBCV MSC Compliance tests</title>
<updated>2011-06-17T06:00:14+00:00</updated>
<author>
<name>Rakesh Bodla</name>
<email>rbodla@nvidia.com</email>
</author>
<published>2011-06-13T11:57:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=39c30df208e8ede3b7c2be58d630fb97c983f87b'/>
<id>39c30df208e8ede3b7c2be58d630fb97c983f87b</id>
<content type='text'>
Defer the SET_CONFIG and SET_INTERFACE control transfer's data/status
stages till we are ready to process new CBW from the host. This way we
ensure that we don't loose any CBW during MSC compliance tests and cause
lock up.

(cherry picked from commit 95ed32366748e2034e82c9e738c312df8fb3d3a9)

Change-Id: Ib8c7140d11f558c969802558476ff6013aae3269
Reviewed-on: http://git-master/r/36275
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>
Defer the SET_CONFIG and SET_INTERFACE control transfer's data/status
stages till we are ready to process new CBW from the host. This way we
ensure that we don't loose any CBW during MSC compliance tests and cause
lock up.

(cherry picked from commit 95ed32366748e2034e82c9e738c312df8fb3d3a9)

Change-Id: Ib8c7140d11f558c969802558476ff6013aae3269
Reviewed-on: http://git-master/r/36275
Reviewed-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
Tested-by: Rohan Somvanshi &lt;rsomvanshi@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: tegra: disable broken deferred resume</title>
<updated>2011-06-17T01:32:34+00:00</updated>
<author>
<name>David Schalig</name>
<email>dschalig@nvidia.com</email>
</author>
<published>2011-06-02T13:17:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=191aa3eb0f06f082e10d055080e91a9a25b9492e'/>
<id>191aa3eb0f06f082e10d055080e91a9a25b9492e</id>
<content type='text'>
MMC_BLOCK_DEFERRED_RESUME causes race conditions in the SD/MMC driver,
i.e. mmc_sd_detect() will be called from different threads causing
inconsistent state. Disabling feature for Tegra.

Bug 833034

http://git-master/r/#change,36254
(cherry picked from commit a8b6bb5de9b9645ecdabc3e954f04898e45e9038)

Change-Id: Ie28fa42e28ab98d8bffef7e48591cbec98af5fe2
Reviewed-on: http://git-master/r/36430
Reviewed-by: Yuhao Ding &lt;yding@nvidia.com&gt;
Tested-by: Yuhao Ding &lt;yding@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MMC_BLOCK_DEFERRED_RESUME causes race conditions in the SD/MMC driver,
i.e. mmc_sd_detect() will be called from different threads causing
inconsistent state. Disabling feature for Tegra.

Bug 833034

http://git-master/r/#change,36254
(cherry picked from commit a8b6bb5de9b9645ecdabc3e954f04898e45e9038)

Change-Id: Ie28fa42e28ab98d8bffef7e48591cbec98af5fe2
Reviewed-on: http://git-master/r/36430
Reviewed-by: Yuhao Ding &lt;yding@nvidia.com&gt;
Tested-by: Yuhao Ding &lt;yding@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mmc: fix card detect after suspend</title>
<updated>2011-06-17T01:26:20+00:00</updated>
<author>
<name>David Schalig</name>
<email>dschalig@nvidia.com</email>
</author>
<published>2011-06-01T09:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e69f9291f85c4eeaa02091111a8fc8835efe333e'/>
<id>e69f9291f85c4eeaa02091111a8fc8835efe333e</id>
<content type='text'>
If defered SD card resume (CONFIG_MMC_BLOCK_DEFERRED_RESUME) is enabled,
PM_POST_SUSPEND handler will never set host-&gt;rescan_disable back to 0,
and card detect logic will be disabled forever.

fix missing break

fix incorrect cleanup sequences

Bug 833034

http://git-master/r/#change,36251
(cherry picked from commit 31d509d8e2e2b7c35da69029f932d35c3995fe36)

Change-Id: I3e513359af68e92476d693f4d1751b4b0d883569
Reviewed-on: http://git-master/r/36429
Reviewed-by: David Schalig &lt;dschalig@nvidia.com&gt;
Tested-by: David Schalig &lt;dschalig@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>
If defered SD card resume (CONFIG_MMC_BLOCK_DEFERRED_RESUME) is enabled,
PM_POST_SUSPEND handler will never set host-&gt;rescan_disable back to 0,
and card detect logic will be disabled forever.

fix missing break

fix incorrect cleanup sequences

Bug 833034

http://git-master/r/#change,36251
(cherry picked from commit 31d509d8e2e2b7c35da69029f932d35c3995fe36)

Change-Id: I3e513359af68e92476d693f4d1751b4b0d883569
Reviewed-on: http://git-master/r/36429
Reviewed-by: David Schalig &lt;dschalig@nvidia.com&gt;
Tested-by: David Schalig &lt;dschalig@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: confiure AHBDMA gizmo setting.</title>
<updated>2011-06-17T01:26:14+00:00</updated>
<author>
<name>Jay Cheng</name>
<email>jacheng@nvidia.com</email>
</author>
<published>2011-06-09T21:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c3adbb7631627dc14c864a4d9ab8fd2e8e319c2d'/>
<id>c3adbb7631627dc14c864a4d9ab8fd2e8e319c2d</id>
<content type='text'>
Bug 820602

Reviewed-on: http://git-master/r/35954
(cherry picked from commit 2d6cac283c1121b9a90b742b5dcf80141422eac6)
Change-Id: I6149c878061bace0c191a0d45ddd7e5b8ffce4cd
Reviewed-on: http://git-master/r/36683
Tested-by: Rakesh Bodla &lt;rbodla@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>
Bug 820602

Reviewed-on: http://git-master/r/35954
(cherry picked from commit 2d6cac283c1121b9a90b742b5dcf80141422eac6)
Change-Id: I6149c878061bace0c191a0d45ddd7e5b8ffce4cd
Reviewed-on: http://git-master/r/36683
Tested-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: pm: save/restore ahb bus registers</title>
<updated>2011-06-17T01:26:09+00:00</updated>
<author>
<name>Jay Cheng</name>
<email>jacheng@nvidia.com</email>
</author>
<published>2011-06-09T21:15:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d5743e9dfddaa3d41ecd729733c66e4ac54a13d7'/>
<id>d5743e9dfddaa3d41ecd729733c66e4ac54a13d7</id>
<content type='text'>
Bug 814896, 820602

Reviewed-on: http://git-master/r/35948
(cherry picked from commit 4b9158b73bd5b5ae9b1059d31e062362d4732064)

Change-Id: I2ac442aa45eb11b47a97320524f7b82d9f2296d7
Reviewed-on: http://git-master/r/36675
Tested-by: Rakesh Bodla &lt;rbodla@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>
Bug 814896, 820602

Reviewed-on: http://git-master/r/35948
(cherry picked from commit 4b9158b73bd5b5ae9b1059d31e062362d4732064)

Change-Id: I2ac442aa45eb11b47a97320524f7b82d9f2296d7
Reviewed-on: http://git-master/r/36675
Tested-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: composite: Allow function drivers to pause control transfers</title>
<updated>2011-06-17T01:26:02+00:00</updated>
<author>
<name>Rakesh Bodla</name>
<email>rbodla@nvidia.com</email>
</author>
<published>2011-06-13T11:49:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=ccb7b4793e54d6367430b2c42bcfadbe18ff365d'/>
<id>ccb7b4793e54d6367430b2c42bcfadbe18ff365d</id>
<content type='text'>
Some USB function drivers (e.g. f_mass_storage.c) need to delay or defer the
data/status stages of standard control requests like SET_CONFIGURATION or
SET_INTERFACE till they are done with their bookkeeping and are actually ready
for accepting new commands to their interface.

They can now achieve this functionality by returning USB_GADGET_DELAYED_STATUS
in their setup handlers (e.g. set_alt()). The composite framework will then
defer completion of the control transfer by not completing the data/status stages.

This ensures that the host does not send new packets to the interface till the
function driver is ready to take them.

When the function driver that requested for USB_GADGET_DELAYED_STATUS is done
with its bookkeeping, it should signal the composite framework to continue with
the data/status stages of the control transfer. It can do so by invoking
the new API usb_composite_setup_continue(). This is where the control transfer's
data/status stages are completed and host can initiate new transfers.

The DELAYED_STATUS mechanism is currently only supported if the expected data phase
is 0 bytes (i.e. w_length == 0). Since SET_CONFIGURATION and SET_INTERFACE are the
only cases that will use this mechanism, this is not a limitation.

(cherry picked from commit 1b9ba000177ee47bcc5b44c7c34e48e735f5f9b1)

Change-Id: I4aaf702e03898573f92e58223a29eafbc9612219
Reviewed-on: http://git-master/r/36273
Tested-by: Rakesh Bodla &lt;rbodla@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 USB function drivers (e.g. f_mass_storage.c) need to delay or defer the
data/status stages of standard control requests like SET_CONFIGURATION or
SET_INTERFACE till they are done with their bookkeeping and are actually ready
for accepting new commands to their interface.

They can now achieve this functionality by returning USB_GADGET_DELAYED_STATUS
in their setup handlers (e.g. set_alt()). The composite framework will then
defer completion of the control transfer by not completing the data/status stages.

This ensures that the host does not send new packets to the interface till the
function driver is ready to take them.

When the function driver that requested for USB_GADGET_DELAYED_STATUS is done
with its bookkeeping, it should signal the composite framework to continue with
the data/status stages of the control transfer. It can do so by invoking
the new API usb_composite_setup_continue(). This is where the control transfer's
data/status stages are completed and host can initiate new transfers.

The DELAYED_STATUS mechanism is currently only supported if the expected data phase
is 0 bytes (i.e. w_length == 0). Since SET_CONFIGURATION and SET_INTERFACE are the
only cases that will use this mechanism, this is not a limitation.

(cherry picked from commit 1b9ba000177ee47bcc5b44c7c34e48e735f5f9b1)

Change-Id: I4aaf702e03898573f92e58223a29eafbc9612219
Reviewed-on: http://git-master/r/36273
Tested-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Reviewed-by: Hanumanth Venkateswa Moganty &lt;vmoganty@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: f_mass_storage: Fix Bulk-only RESET handling</title>
<updated>2011-06-17T01:25:56+00:00</updated>
<author>
<name>Rakesh Bodla</name>
<email>rbodla@nvidia.com</email>
</author>
<published>2011-06-13T11:53:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6fbd5ae6491399581c4c719789c7e9259d40c504'/>
<id>6fbd5ae6491399581c4c719789c7e9259d40c504</id>
<content type='text'>
The ep0 request tag was not recorded thus resulting in phase
problems while sending status/response in handle_execption() handler.
This was resulting in MSC compliance test failures with USBCV tool.

With this patch, the Bulk-Only Mass storage RESET request is
handled correctly and the MSC compliance tests pass.

(cherry picked from commit 73ee4da994e7b97bd8241e39099cf3dd94675d79)

Change-Id: Ia5beffe1e38b518b63b80dda36faf06b86f7a6cb
Reviewed-on: http://git-master/r/36274
Tested-by: Rakesh Bodla &lt;rbodla@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>
The ep0 request tag was not recorded thus resulting in phase
problems while sending status/response in handle_execption() handler.
This was resulting in MSC compliance test failures with USBCV tool.

With this patch, the Bulk-Only Mass storage RESET request is
handled correctly and the MSC compliance tests pass.

(cherry picked from commit 73ee4da994e7b97bd8241e39099cf3dd94675d79)

Change-Id: Ia5beffe1e38b518b63b80dda36faf06b86f7a6cb
Reviewed-on: http://git-master/r/36274
Tested-by: Rakesh Bodla &lt;rbodla@nvidia.com&gt;
Reviewed-by: Hanumanth Venkateswa Moganty &lt;vmoganty@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>drivers: net: wireless :bcm4329: disable sdio interrupts before wifi reset</title>
<updated>2011-06-17T01:24:51+00:00</updated>
<author>
<name>Rahul Bansal</name>
<email>rbansal@nvidia.com</email>
</author>
<published>2011-06-15T14:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=113676ec197fc62b7dce23dad4e081c940319846'/>
<id>113676ec197fc62b7dce23dad4e081c940319846</id>
<content type='text'>
during system suspend if wifi is on but not connected, android
sets RTC alarm to wake up system after 2 mins of system suspend
to turn off wifi. during turning off wifi it was observed that
BCM4329 MAC is giving spurious sdio interrupts which was causing
lockup issue (mmc_lock) between sdio interrupt handling process
and wifi stop process, to fix this issue sdio interrupts are
disabled before giving MAC reset from host.

Bug 834444
Bug 798783
Bug 796147
Bug 797230
Bug 780047
Bug 818687

Change-Id: I98ac26ca8951bb9f32dcff06e096d1ac9c9e3788
Reviewed-on: http://git-master/r/36755
Reviewed-by: Rahul Bansal &lt;rbansal@nvidia.com&gt;
Tested-by: Rahul Bansal &lt;rbansal@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>
during system suspend if wifi is on but not connected, android
sets RTC alarm to wake up system after 2 mins of system suspend
to turn off wifi. during turning off wifi it was observed that
BCM4329 MAC is giving spurious sdio interrupts which was causing
lockup issue (mmc_lock) between sdio interrupt handling process
and wifi stop process, to fix this issue sdio interrupts are
disabled before giving MAC reset from host.

Bug 834444
Bug 798783
Bug 796147
Bug 797230
Bug 780047
Bug 818687

Change-Id: I98ac26ca8951bb9f32dcff06e096d1ac9c9e3788
Reviewed-on: http://git-master/r/36755
Reviewed-by: Rahul Bansal &lt;rbansal@nvidia.com&gt;
Tested-by: Rahul Bansal &lt;rbansal@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ARM: tegra: clocks: Add shared sclk for statmon</title>
<updated>2011-06-16T05:30:09+00:00</updated>
<author>
<name>Prashant Gaikwad</name>
<email>pgaikwad@nvidia.com</email>
</author>
<published>2011-06-10T08:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=a19f85a8a7af722bcfd729297e682574dc22de7b'/>
<id>a19f85a8a7af722bcfd729297e682574dc22de7b</id>
<content type='text'>
H/W statistics monitor for AVP controls sclk depending on load.
Instead of overriding avp.sclk rate, separate sclk client added
for statmon so that busy hints from AVP can be handled.

Bug 831892

Change-Id: Ieaa43525d7582810095a2200486019ae9b4a7553
Reviewed-on: http://git-master/r/36057
Reviewed-by: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
Tested-by: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
Reviewed-by: Aleksandr Frid &lt;afrid@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>
H/W statistics monitor for AVP controls sclk depending on load.
Instead of overriding avp.sclk rate, separate sclk client added
for statmon so that busy hints from AVP can be handled.

Bug 831892

Change-Id: Ieaa43525d7582810095a2200486019ae9b4a7553
Reviewed-on: http://git-master/r/36057
Reviewed-by: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
Tested-by: Prashant Gaikwad &lt;pgaikwad@nvidia.com&gt;
Reviewed-by: Aleksandr Frid &lt;afrid@nvidia.com&gt;
Reviewed-by: Bharat Nihalani &lt;bnihalani@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
