<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/usb, branch imx-android-r13.2</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>Merge remote branch 'fsl-linux-sdk/imx_3.0.15_12.02.01' into imx_3.0.15_android</title>
<updated>2012-02-23T07:06:20+00:00</updated>
<author>
<name>Xinyu Chen</name>
<email>b03824@freescale.com</email>
</author>
<published>2012-02-23T07:06:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=822999502d2ce629d6f5a91c2aa8731c0c88c3d8'/>
<id>822999502d2ce629d6f5a91c2aa8731c0c88c3d8</id>
<content type='text'>
Conflicts:
	arch/arm/mach-mx6/clock.c
	arch/arm/plat-mxc/devices/platform-imx-perfmon.c
	drivers/usb/gadget/arcotg_udc.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	arch/arm/mach-mx6/clock.c
	arch/arm/plat-mxc/devices/platform-imx-perfmon.c
	drivers/usb/gadget/arcotg_udc.c
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00174734-2 usb: fix bugs that dp and dm are floating at device mode</title>
<updated>2012-02-22T06:51:06+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2012-02-17T07:22:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e9d2ee66faef002a10f3e5540bcff5939215f7cf'/>
<id>e9d2ee66faef002a10f3e5540bcff5939215f7cf</id>
<content type='text'>
At i.mx6x, the data line (dp and dm) are floating at device mode,
that is to say data line will be any values (0-3.6v).
So if the usb wakeup is enabled, there will be a wakeup interrupt
that causes usb to active mode.

In order to fix this problem well, we need to do below things:
- Need to discharge both dp and dm
- It needs to discharge data line when we switch to device mode and
usb cable is disconnected from the host, but not to disable discharge
after line state is SE0, the reason is that if we do not pulldown
the data line, the line state will be floating again, and possible cause
the wakeup interrupt.
- It needs to disable discharge data line when the usb cable connects at
device mode and usb device is connected at host mode, otherwise it will
affect signal quality.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At i.mx6x, the data line (dp and dm) are floating at device mode,
that is to say data line will be any values (0-3.6v).
So if the usb wakeup is enabled, there will be a wakeup interrupt
that causes usb to active mode.

In order to fix this problem well, we need to do below things:
- Need to discharge both dp and dm
- It needs to discharge data line when we switch to device mode and
usb cable is disconnected from the host, but not to disable discharge
after line state is SE0, the reason is that if we do not pulldown
the data line, the line state will be floating again, and possible cause
the wakeup interrupt.
- It needs to disable discharge data line when the usb cable connects at
device mode and usb device is connected at host mode, otherwise it will
affect signal quality.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote branch 'fsl-linux-sdk/imx_3.0.15' into imx_3.0.15_android</title>
<updated>2012-02-15T08:23:38+00:00</updated>
<author>
<name>Xinyu Chen</name>
<email>b03824@freescale.com</email>
</author>
<published>2012-02-15T08:23:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=84c89d0f4db2ed1f547b1688701e0403a56957c4'/>
<id>84c89d0f4db2ed1f547b1688701e0403a56957c4</id>
<content type='text'>
Conflicts:
	arch/arm/mach-mx6/board-mx6q_arm2.c
	arch/arm/mach-mx6/board-mx6q_sabresd.c
	drivers/mmc/core/bus.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Conflicts:
	arch/arm/mach-mx6/board-mx6q_arm2.c
	arch/arm/mach-mx6/board-mx6q_sabresd.c
	drivers/mmc/core/bus.c
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00174242 usb: device: Improve discharge dp operation</title>
<updated>2012-02-13T02:16:46+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2012-02-09T09:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9c561bac045b0f94f8f98bd3ee457ead1bbadd71'/>
<id>9c561bac045b0f94f8f98bd3ee457ead1bbadd71</id>
<content type='text'>
The discharge dp function needs to be added at below situation:
- USB cable is disconnected from the PC
- When the usb mode switchs to device mode

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The discharge dp function needs to be added at below situation:
- USB cable is disconnected from the PC
- When the usb mode switchs to device mode

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00174242 usb: device: Improve discharge dp operation</title>
<updated>2012-02-13T02:12:06+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2012-02-09T09:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=32f8be2bfa2a1f933ea6f716113ca6bf75cbc2e6'/>
<id>32f8be2bfa2a1f933ea6f716113ca6bf75cbc2e6</id>
<content type='text'>
The discharge dp function needs to be added at below situation:
- USB cable is disconnected from the PC
- When the usb mode switchs to device mode

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The discharge dp function needs to be added at below situation:
- USB cable is disconnected from the PC
- When the usb mode switchs to device mode

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00174128-1 Revert "Remove the discharge for VBUS and DP-1"</title>
<updated>2012-02-10T05:53:34+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2012-02-09T09:38:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d8c725ed4d516051ae7e3fc2b9ee2dd64c7dab1e'/>
<id>d8c725ed4d516051ae7e3fc2b9ee2dd64c7dab1e</id>
<content type='text'>
As dp/dm is floating with no usb cable and switch host mode to
device mode situation, it do needs this discharge dp patch
But, discharge vbus doesn't be needed at suspend_irq, so
keep it removing.

This reverts commit 0924b71278650fa3891a8f6ea70f91242ca6e5fd.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As dp/dm is floating with no usb cable and switch host mode to
device mode situation, it do needs this discharge dp patch
But, discharge vbus doesn't be needed at suspend_irq, so
keep it removing.

This reverts commit 0924b71278650fa3891a8f6ea70f91242ca6e5fd.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00174124: Revert "[USB Host]change the default wakeup value of RH"</title>
<updated>2012-02-09T09:32:19+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2012-02-09T09:07:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=62ea60a0712052c43618d1cac968ccf51e3a4e5e'/>
<id>62ea60a0712052c43618d1cac968ccf51e3a4e5e</id>
<content type='text'>
This patch creates two bugs at current i.mx usb framework.
- The high speed device can't be recognized at the first time.
- The usb device can't be recognized after system resume with
usb vbus.

The reason why it creates bugs that it changes (auto)suspend/resume
process for usb core.

This reverts commit e5c4318450e1fe7c61950214e779658c6cea0da7.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch creates two bugs at current i.mx usb framework.
- The high speed device can't be recognized at the first time.
- The usb device can't be recognized after system resume with
usb vbus.

The reason why it creates bugs that it changes (auto)suspend/resume
process for usb core.

This reverts commit e5c4318450e1fe7c61950214e779658c6cea0da7.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00174037-2 Add HSIC suspend/resume feature</title>
<updated>2012-02-09T02:01:10+00:00</updated>
<author>
<name>Tony LIU</name>
<email>junjie.liu@freescale.com</email>
</author>
<published>2012-02-08T07:42:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bfd66037a4538488e9665365355b93862e170b82'/>
<id>bfd66037a4538488e9665365355b93862e170b82</id>
<content type='text'>
device part

- implement reset_device interface for HSIC host

Signed-off-by: Tony LIU &lt;junjie.liu@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
device part

- implement reset_device interface for HSIC host

Signed-off-by: Tony LIU &lt;junjie.liu@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00169660 android usb: unstable on function en/disable and plug/unplug</title>
<updated>2012-02-02T08:59:08+00:00</updated>
<author>
<name>Xinyu Chen</name>
<email>b03824@freescale.com</email>
</author>
<published>2011-12-07T05:32:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=35cae1be991d9780a253bd120219e38a1597a272'/>
<id>35cae1be991d9780a253bd120219e38a1597a272</id>
<content type='text'>
This commit revert the previous workaround for hang issue
when usb is not connected and clock gated.

And fix the following issues:
* kernel hang when boot without usb cable connected
  If the usb is not connected and clock gated, do not call
  usb_gadget_connect() until usb connected.
* Android usb manager can not get correct status from driver on boot.
  Android gadget enabled on boot after usb connected, and so
  miss the USB_REQ_SET_CONFIGURATION request.
  Need a reconnect for gadget on gadget enable.
* Enable/disable ADB by UI causes system hang or not functionable
  Only when there's a connection, we call
  usb_gadget_disconnect() when disable android gadget.
  When enable gadget, do reconnect.

Signed-off-by: Xinyu Chen &lt;xinyu.chen@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit revert the previous workaround for hang issue
when usb is not connected and clock gated.

And fix the following issues:
* kernel hang when boot without usb cable connected
  If the usb is not connected and clock gated, do not call
  usb_gadget_connect() until usb connected.
* Android usb manager can not get correct status from driver on boot.
  Android gadget enabled on boot after usb connected, and so
  miss the USB_REQ_SET_CONFIGURATION request.
  Need a reconnect for gadget on gadget enable.
* Enable/disable ADB by UI causes system hang or not functionable
  Only when there's a connection, we call
  usb_gadget_disconnect() when disable android gadget.
  When enable gadget, do reconnect.

Signed-off-by: Xinyu Chen &lt;xinyu.chen@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00151154: Android: UMS write proformance low whatever underlying device.</title>
<updated>2012-02-02T08:59:07+00:00</updated>
<author>
<name>Zhang Jiejing</name>
<email>jiejing.zhang@freescale.com</email>
</author>
<published>2011-08-01T12:37:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e82b3551dd9760ff5a422667a8373f0ae9d38745'/>
<id>e82b3551dd9760ff5a422667a8373f0ae9d38745</id>
<content type='text'>
average UMS write speed in SATA, class 10 SD, class 4 SD card
only can archive about 3.2M/s and lower.

Found this issue is because UMS 's SYNC write mode, that will
serial USM Bluk tansfer and MMC/SATA write, like a 1-buffer write.

Fix it by add the same config that comment out the sync operation.

Signed-off-by: Zhang Jiejing &lt;jiejing.zhang@freescale.com&gt;

Conflicts:
	drivers/usb/gadget/f_mass_storage.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
average UMS write speed in SATA, class 10 SD, class 4 SD card
only can archive about 3.2M/s and lower.

Found this issue is because UMS 's SYNC write mode, that will
serial USM Bluk tansfer and MMC/SATA write, like a 1-buffer write.

Fix it by add the same config that comment out the sync operation.

Signed-off-by: Zhang Jiejing &lt;jiejing.zhang@freescale.com&gt;

Conflicts:
	drivers/usb/gadget/f_mass_storage.c
</pre>
</div>
</content>
</entry>
</feed>
