<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/usb, branch PD13.0.0alpha</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>ENGR00219771: Fix high-speed usb hub connection detection failure for Faraday</title>
<updated>2012-09-12T20:50:06+00:00</updated>
<author>
<name>Jingchang Lu</name>
<email>b35083@freescale.com</email>
</author>
<published>2012-08-08T08:37:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8b207089bcbf20474355e29395e5631f96886c66'/>
<id>8b207089bcbf20474355e29395e5631f96886c66</id>
<content type='text'>
  Only disable the high-speed device disconnection detction for
level-1 device, or the connection detecting would fail.

Signed-off-by: Jingchang Lu &lt;b35083@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  Only disable the high-speed device disconnection detction for
level-1 device, or the connection detecting would fail.

Signed-off-by: Jingchang Lu &lt;b35083@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00219354: Fix USB host driver compiled as module fail problem</title>
<updated>2012-09-12T20:50:05+00:00</updated>
<author>
<name>Jingchang Lu</name>
<email>b35083@freescale.com</email>
</author>
<published>2012-08-08T01:55:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f4400c213ae4736e965cf86a33dc1c69f8cbb8c6'/>
<id>f4400c213ae4736e965cf86a33dc1c69f8cbb8c6</id>
<content type='text'>
Signed-off-by: Jingchang Lu &lt;b35083@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jingchang Lu &lt;b35083@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00181396-2: high-speed USB device disconnection management</title>
<updated>2012-09-12T20:49:55+00:00</updated>
<author>
<name>Jingchang Lu</name>
<email>b35083@freescale.com</email>
</author>
<published>2012-07-26T08:37:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=02d27a69deed00b2866ca941cd3312000bd96b7a'/>
<id>02d27a69deed00b2866ca941cd3312000bd96b7a</id>
<content type='text'>
Detection of high-speed USB device disconnection should be enable
on connection and disable on disconnection.

Signed-off-by: Jingchang Lu &lt;b35083@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Detection of high-speed USB device disconnection should be enable
on connection and disable on disconnection.

Signed-off-by: Jingchang Lu &lt;b35083@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00176147-1: usb: fix some wakeup problems</title>
<updated>2012-03-07T07:01:35+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2012-02-22T03:14:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7f40896b71be935f53bf703c686c619062799c6f'/>
<id>7f40896b71be935f53bf703c686c619062799c6f</id>
<content type='text'>
- Do not call hcd core adjust wakeup flag code. It may change
wakeup flag, and cause port change detect(PCD) enable setting change.
- For ID wakeup, it should not call host's fsl_usb_recover_hcd at ID interrupt.
The coming ID switch event will resume host.
- Do not need enable wakeup interrupt for host at platform driver resume
routine, it may introduce unnessary wakeup interrupt during bus resume.
The wakeup will be enabled again when usb host goes to controller again
due to autosuspend.
- When there is no gadget enabled, the otg port is still at host mode with
interrupt enabled, so when male Micro-B to female A-type cable with
usb device plugs in, there will be PCD interrupt before hcd core leaves
suspend 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>
- Do not call hcd core adjust wakeup flag code. It may change
wakeup flag, and cause port change detect(PCD) enable setting change.
- For ID wakeup, it should not call host's fsl_usb_recover_hcd at ID interrupt.
The coming ID switch event will resume host.
- Do not need enable wakeup interrupt for host at platform driver resume
routine, it may introduce unnessary wakeup interrupt during bus resume.
The wakeup will be enabled again when usb host goes to controller again
due to autosuspend.
- When there is no gadget enabled, the otg port is still at host mode with
interrupt enabled, so when male Micro-B to female A-type cable with
usb device plugs in, there will be PCD interrupt before hcd core leaves
suspend mode.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ENGR00176061-1 usb: otg: delete discharge vbus operation at otg driver</title>
<updated>2012-03-07T07:01:34+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2012-02-22T05:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=2f1110c999b6609a61d45742d929632b371fd4f9'/>
<id>2f1110c999b6609a61d45742d929632b371fd4f9</id>
<content type='text'>
It may be useless at most of platforms, the user can enable discharge
vbus if he/she wants speed up vbus lower speed during OTG switch.

Besides, disable vbus interrupt during vbus change due
to device &lt;--&gt; host mode switch.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It may be useless at most of platforms, the user can enable discharge
vbus if he/she wants speed up vbus lower speed during OTG switch.

Besides, disable vbus interrupt during vbus change due
to device &lt;--&gt; host mode switch.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
</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:43:19+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=0e22504776dbb5fcb3550e8888076c6f68b205c9'/>
<id>0e22504776dbb5fcb3550e8888076c6f68b205c9</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>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>
</feed>
