<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/usb/chipidea/host.c, branch v3.17</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>usb: chipidea: host: init otg port number</title>
<updated>2014-04-24T19:56:35+00:00</updated>
<author>
<name>Li Jun</name>
<email>B47624@freescale.com</email>
</author>
<published>2014-04-23T07:56:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0698b9b384d39ae8e855bbffac180ad5773efa72'/>
<id>0698b9b384d39ae8e855bbffac180ad5773efa72</id>
<content type='text'>
Init otg_port number of otg capable host to be 1 at host start.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Li Jun &lt;b47624@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Init otg_port number of otg capable host to be 1 at host start.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Li Jun &lt;b47624@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: chipidea: host: vbus control change for OTG HNP</title>
<updated>2014-04-24T19:56:34+00:00</updated>
<author>
<name>Li Jun</name>
<email>B47624@freescale.com</email>
</author>
<published>2014-04-23T07:56:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8a28b904ad9146cfb217e814f6d07355b1f77536'/>
<id>8a28b904ad9146cfb217e814f6d07355b1f77536</id>
<content type='text'>
Leave vbus on/off hanlded by OTG fsm if in OTG mode.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Li Jun &lt;b47624@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Leave vbus on/off hanlded by OTG fsm if in OTG mode.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Li Jun &lt;b47624@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: chipidea: add freescale imx28 special write register method</title>
<updated>2014-01-13T23:55:19+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2014-01-10T05:51:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=ed8f8318d2ef3e5f9e4ddf79349508c116b68d7f'/>
<id>ed8f8318d2ef3e5f9e4ddf79349508c116b68d7f</id>
<content type='text'>
According to Freescale imx28 Errata, "ENGR119653 USB: ARM to USB
register error issue", All USB register write operations must
use the ARM SWP instruction. So, we implement special hw_write
and hw_test_and_clear for imx28.

Discussion for it at below:
http://marc.info/?l=linux-usb&amp;m=137996395529294&amp;w=2

This patch is needed for stable tree 3.11+.

Cc: stable@vger.kernel.org
Cc: robert.hodaszi@digi.com
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Tested-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to Freescale imx28 Errata, "ENGR119653 USB: ARM to USB
register error issue", All USB register write operations must
use the ARM SWP instruction. So, we implement special hw_write
and hw_test_and_clear for imx28.

Discussion for it at below:
http://marc.info/?l=linux-usb&amp;m=137996395529294&amp;w=2

This patch is needed for stable tree 3.11+.

Cc: stable@vger.kernel.org
Cc: robert.hodaszi@digi.com
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Tested-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: chipidea: host: Only disable the vbus regulator if it is not NULL</title>
<updated>2013-12-03T18:16:12+00:00</updated>
<author>
<name>Fabio Estevam</name>
<email>fabio.estevam@freescale.com</email>
</author>
<published>2013-11-08T03:09:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=46adcf3d82b44a4a9f147b2b898595d48873aa53'/>
<id>46adcf3d82b44a4a9f147b2b898595d48873aa53</id>
<content type='text'>
Commit 40ed51a4b (usb: chipidea: host: add vbus regulator
control) introduced a smatch complaint because regulator_disable() is called
without checking whether ci-&gt;platdata-&gt;reg_vbus is not NULL.

Fix this by adding the check.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Commit 40ed51a4b (usb: chipidea: host: add vbus regulator
control) introduced a smatch complaint because regulator_disable() is called
without checking whether ci-&gt;platdata-&gt;reg_vbus is not NULL.

Fix this by adding the check.

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Fabio Estevam &lt;fabio.estevam@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: chipidea: host: more enhancement when ci-&gt;hcd is NULL</title>
<updated>2013-10-29T23:43:37+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2013-10-22T03:13:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=df101c531eb737915349a1c4b677da7db55eaf69'/>
<id>df101c531eb737915349a1c4b677da7db55eaf69</id>
<content type='text'>
Like http://marc.info/?l=linux-usb&amp;m=138200449428874&amp;w=2 said:
two more things are needed to be done:

- If host_start fails, the host_stop should not be called, so we
add check that ci-&gt;hcd is not NULL.
- if the host_start fails at the beginning, we need to consider
regulator mismatch issue.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Like http://marc.info/?l=linux-usb&amp;m=138200449428874&amp;w=2 said:
two more things are needed to be done:

- If host_start fails, the host_stop should not be called, so we
add check that ci-&gt;hcd is not NULL.
- if the host_start fails at the beginning, we need to consider
regulator mismatch issue.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb/chipidea: fix oops on memory allocation failure</title>
<updated>2013-10-16T20:52:16+00:00</updated>
<author>
<name>Russell King - ARM Linux</name>
<email>linux@arm.linux.org.uk</email>
</author>
<published>2013-10-16T12:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=41314fea2ffb6dc716b7e698a47c68b329602fc0'/>
<id>41314fea2ffb6dc716b7e698a47c68b329602fc0</id>
<content type='text'>
When CMA fails to initialize in v3.12-rc4, the chipidea driver oopses
the kernel while trying to remove and put the HCD which doesn't exist:

WARNING: CPU: 0 PID: 6 at /home/rmk/git/linux-rmk/arch/arm/mm/dma-mapping.c:511
__dma_alloc+0x200/0x240()
coherent pool not initialised!
Modules linked in:
CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W    3.12.0-rc4+ #56
Workqueue: deferwq deferred_probe_work_func
Backtrace:
[&lt;c001218c&gt;] (dump_backtrace+0x0/0x10c) from [&lt;c0012328&gt;] (show_stack+0x18/0x1c)
 r6:c05fd9cc r5:000001ff r4:00000000 r3:df86ad00
[&lt;c0012310&gt;] (show_stack+0x0/0x1c) from [&lt;c05f3a4c&gt;] (dump_stack+0x70/0x8c)
[&lt;c05f39dc&gt;] (dump_stack+0x0/0x8c) from [&lt;c00230a8&gt;] (warn_slowpath_common+0x6c/0x8c)
 r4:df883a60 r3:df86ad00
[&lt;c002303c&gt;] (warn_slowpath_common+0x0/0x8c) from [&lt;c002316c&gt;] (warn_slowpath_fmt+0x38/0x40)
 r8:ffffffff r7:00001000 r6:c083b808 r5:00000000 r4:df2efe80
[&lt;c0023134&gt;] (warn_slowpath_fmt+0x0/0x40) from [&lt;c00196bc&gt;] (__dma_alloc+0x200/0x240)
 r3:00000000 r2:c05fda00
[&lt;c00194bc&gt;] (__dma_alloc+0x0/0x240) from [&lt;c001982c&gt;] (arm_dma_alloc+0x88/0xa0)
[&lt;c00197a4&gt;] (arm_dma_alloc+0x0/0xa0) from [&lt;c03e2904&gt;] (ehci_setup+0x1f4/0x438)
[&lt;c03e2710&gt;] (ehci_setup+0x0/0x438) from [&lt;c03cbd60&gt;] (usb_add_hcd+0x18c/0x664)
[&lt;c03cbbd4&gt;] (usb_add_hcd+0x0/0x664) from [&lt;c03e89f4&gt;] (host_start+0xf0/0x180)
[&lt;c03e8904&gt;] (host_start+0x0/0x180) from [&lt;c03e7c34&gt;] (ci_hdrc_probe+0x360/0x670
)
 r6:df2ef410 r5:00000000 r4:df2c3010 r3:c03e8904
[&lt;c03e78d4&gt;] (ci_hdrc_probe+0x0/0x670) from [&lt;c0311044&gt;] (platform_drv_probe+0x20/0x24)
[&lt;c0311024&gt;] (platform_drv_probe+0x0/0x24) from [&lt;c030fcac&gt;] (driver_probe_device+0x9c/0x234)
...
---[ end trace c88ccaf3969e8422 ]---
Unable to handle kernel NULL pointer dereference at virtual address 00000028
pgd = c0004000
[00000028] *pgd=00000000
Internal error: Oops: 17 [#1] SMP ARM
Modules linked in:
CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W    3.12.0-rc4+ #56
Workqueue: deferwq deferred_probe_work_func
task: df86ad00 ti: df882000 task.ti: df882000
PC is at usb_remove_hcd+0x10/0x150
LR is at host_stop+0x1c/0x3c
pc : [&lt;c03cacec&gt;]    lr : [&lt;c03e88e4&gt;]    psr: 60000013
sp : df883b50  ip : df883b78  fp : df883b74
r10: c11f4c54  r9 : c0836450  r8 : df30c400
r7 : fffffff4  r6 : df2ef410  r5 : 00000000  r4 : df2c3010
r3 : 00000000  r2 : 00000000  r1 : df86b0a0  r0 : 00000000
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 2f29404a  DAC: 00000015
Process kworker/u2:0 (pid: 6, stack limit = 0xdf882240)
Stack: (0xdf883b50 to 0xdf884000)
...
Backtrace:
[&lt;c03cacdc&gt;] (usb_remove_hcd+0x0/0x150) from [&lt;c03e88e4&gt;] (host_stop+0x1c/0x3c)
 r6:df2ef410 r5:00000000 r4:df2c3010
[&lt;c03e88c8&gt;] (host_stop+0x0/0x3c) from [&lt;c03e8aa0&gt;] (ci_hdrc_host_destroy+0x1c/0x20)
 r5:00000000 r4:df2c3010
[&lt;c03e8a84&gt;] (ci_hdrc_host_destroy+0x0/0x20) from [&lt;c03e7c80&gt;] (ci_hdrc_probe+0x3ac/0x670)
[&lt;c03e78d4&gt;] (ci_hdrc_probe+0x0/0x670) from [&lt;c0311044&gt;] (platform_drv_probe+0x20/0x24)
[&lt;c0311024&gt;] (platform_drv_probe+0x0/0x24) from [&lt;c030fcac&gt;] (driver_probe_device+0x9c/0x234)
[&lt;c030fc10&gt;] (driver_probe_device+0x0/0x234) from [&lt;c030ff28&gt;] (__device_attach+0x44/0x48)
...
---[ end trace c88ccaf3969e8423 ]---

Fix this so at least we can continue booting and get to a shell prompt.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Tested-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When CMA fails to initialize in v3.12-rc4, the chipidea driver oopses
the kernel while trying to remove and put the HCD which doesn't exist:

WARNING: CPU: 0 PID: 6 at /home/rmk/git/linux-rmk/arch/arm/mm/dma-mapping.c:511
__dma_alloc+0x200/0x240()
coherent pool not initialised!
Modules linked in:
CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W    3.12.0-rc4+ #56
Workqueue: deferwq deferred_probe_work_func
Backtrace:
[&lt;c001218c&gt;] (dump_backtrace+0x0/0x10c) from [&lt;c0012328&gt;] (show_stack+0x18/0x1c)
 r6:c05fd9cc r5:000001ff r4:00000000 r3:df86ad00
[&lt;c0012310&gt;] (show_stack+0x0/0x1c) from [&lt;c05f3a4c&gt;] (dump_stack+0x70/0x8c)
[&lt;c05f39dc&gt;] (dump_stack+0x0/0x8c) from [&lt;c00230a8&gt;] (warn_slowpath_common+0x6c/0x8c)
 r4:df883a60 r3:df86ad00
[&lt;c002303c&gt;] (warn_slowpath_common+0x0/0x8c) from [&lt;c002316c&gt;] (warn_slowpath_fmt+0x38/0x40)
 r8:ffffffff r7:00001000 r6:c083b808 r5:00000000 r4:df2efe80
[&lt;c0023134&gt;] (warn_slowpath_fmt+0x0/0x40) from [&lt;c00196bc&gt;] (__dma_alloc+0x200/0x240)
 r3:00000000 r2:c05fda00
[&lt;c00194bc&gt;] (__dma_alloc+0x0/0x240) from [&lt;c001982c&gt;] (arm_dma_alloc+0x88/0xa0)
[&lt;c00197a4&gt;] (arm_dma_alloc+0x0/0xa0) from [&lt;c03e2904&gt;] (ehci_setup+0x1f4/0x438)
[&lt;c03e2710&gt;] (ehci_setup+0x0/0x438) from [&lt;c03cbd60&gt;] (usb_add_hcd+0x18c/0x664)
[&lt;c03cbbd4&gt;] (usb_add_hcd+0x0/0x664) from [&lt;c03e89f4&gt;] (host_start+0xf0/0x180)
[&lt;c03e8904&gt;] (host_start+0x0/0x180) from [&lt;c03e7c34&gt;] (ci_hdrc_probe+0x360/0x670
)
 r6:df2ef410 r5:00000000 r4:df2c3010 r3:c03e8904
[&lt;c03e78d4&gt;] (ci_hdrc_probe+0x0/0x670) from [&lt;c0311044&gt;] (platform_drv_probe+0x20/0x24)
[&lt;c0311024&gt;] (platform_drv_probe+0x0/0x24) from [&lt;c030fcac&gt;] (driver_probe_device+0x9c/0x234)
...
---[ end trace c88ccaf3969e8422 ]---
Unable to handle kernel NULL pointer dereference at virtual address 00000028
pgd = c0004000
[00000028] *pgd=00000000
Internal error: Oops: 17 [#1] SMP ARM
Modules linked in:
CPU: 0 PID: 6 Comm: kworker/u2:0 Tainted: G        W    3.12.0-rc4+ #56
Workqueue: deferwq deferred_probe_work_func
task: df86ad00 ti: df882000 task.ti: df882000
PC is at usb_remove_hcd+0x10/0x150
LR is at host_stop+0x1c/0x3c
pc : [&lt;c03cacec&gt;]    lr : [&lt;c03e88e4&gt;]    psr: 60000013
sp : df883b50  ip : df883b78  fp : df883b74
r10: c11f4c54  r9 : c0836450  r8 : df30c400
r7 : fffffff4  r6 : df2ef410  r5 : 00000000  r4 : df2c3010
r3 : 00000000  r2 : 00000000  r1 : df86b0a0  r0 : 00000000
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 2f29404a  DAC: 00000015
Process kworker/u2:0 (pid: 6, stack limit = 0xdf882240)
Stack: (0xdf883b50 to 0xdf884000)
...
Backtrace:
[&lt;c03cacdc&gt;] (usb_remove_hcd+0x0/0x150) from [&lt;c03e88e4&gt;] (host_stop+0x1c/0x3c)
 r6:df2ef410 r5:00000000 r4:df2c3010
[&lt;c03e88c8&gt;] (host_stop+0x0/0x3c) from [&lt;c03e8aa0&gt;] (ci_hdrc_host_destroy+0x1c/0x20)
 r5:00000000 r4:df2c3010
[&lt;c03e8a84&gt;] (ci_hdrc_host_destroy+0x0/0x20) from [&lt;c03e7c80&gt;] (ci_hdrc_probe+0x3ac/0x670)
[&lt;c03e78d4&gt;] (ci_hdrc_probe+0x0/0x670) from [&lt;c0311044&gt;] (platform_drv_probe+0x20/0x24)
[&lt;c0311024&gt;] (platform_drv_probe+0x0/0x24) from [&lt;c030fcac&gt;] (driver_probe_device+0x9c/0x234)
[&lt;c030fc10&gt;] (driver_probe_device+0x0/0x234) from [&lt;c030ff28&gt;] (__device_attach+0x44/0x48)
...
---[ end trace c88ccaf3969e8423 ]---

Fix this so at least we can continue booting and get to a shell prompt.

Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Tested-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: chipidea: add role init and destroy APIs</title>
<updated>2013-08-14T19:37:19+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2013-08-14T09:44:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=3f124d233e97db96d9471d1fb346335d43d8650d'/>
<id>3f124d233e97db96d9471d1fb346335d43d8650d</id>
<content type='text'>
- The role's init will be called at probe procedure.
- The role's destroy will be called at fail patch
at probe and driver's removal.
- The role's start/stop will be called when specific
role has started.

Tested-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- The role's init will be called at probe procedure.
- The role's destroy will be called at fail patch
at probe and driver's removal.
- The role's start/stop will be called when specific
role has started.

Tested-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: chipidea: host: add vbus regulator control</title>
<updated>2013-08-14T19:34:17+00:00</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2013-08-14T09:44:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=40ed51a4b8588055ccd8e5420c76290659c4c974'/>
<id>40ed51a4b8588055ccd8e5420c76290659c4c974</id>
<content type='text'>
For boards which have board level vbus control (eg, through gpio), we
need to vbus operation according to below rules:
- For host, we need open vbus before start hcd, and close it
after remove hcd.
- For otg, the vbus needs to be on/off when usb role switches.
When the host roles begins, it opens vbus; when the host role
finishes, it closes vbus.

We put vbus operation to host as host is the only vbus user,
When we are at host mode, the vbus is on, when we are not at
host mode, vbus should be off.

Tested-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For boards which have board level vbus control (eg, through gpio), we
need to vbus operation according to below rules:
- For host, we need open vbus before start hcd, and close it
after remove hcd.
- For otg, the vbus needs to be on/off when usb role switches.
When the host roles begins, it opens vbus; when the host role
finishes, it closes vbus.

We put vbus operation to host as host is the only vbus user,
When we are at host mode, the vbus is on, when we are not at
host mode, vbus should be off.

Tested-by: Marek Vasut &lt;marex@denx.de&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: host: add has_tdi_phy_lpm capability bit</title>
<updated>2013-08-12T18:29:46+00:00</updated>
<author>
<name>Tuomas Tynkkynen</name>
<email>ttynkkynen@nvidia.com</email>
</author>
<published>2013-08-12T13:06:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2cdcec4fedd6a5ee77bd551e6be7505f2230cd43'/>
<id>2cdcec4fedd6a5ee77bd551e6be7505f2230cd43</id>
<content type='text'>
The has_hostpc capability bit indicates that the host controller has the
HOSTPC register extensions, but at the same time enables clock disabling
power saving features with the PHY Low Power Clock Disable (PHCD) bit.

However, some host controllers have the HOSTPC extensions but don't
support the low-power feature, so the PHCD bit must not be set on those
controllers. Add a separate capability bit for the low-power feature
instead, and change all existing users of has_hostpc to use this new
capability bit.

The idea for this commit is taken from an old 2012 commit that never got
merged ("disociate chipidea PHY low power suspend control from hostpc")

Inspired-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Tuomas Tynkkynen &lt;ttynkkynen@nvidia.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The has_hostpc capability bit indicates that the host controller has the
HOSTPC register extensions, but at the same time enables clock disabling
power saving features with the PHY Low Power Clock Disable (PHCD) bit.

However, some host controllers have the HOSTPC extensions but don't
support the low-power feature, so the PHCD bit must not be set on those
controllers. Add a separate capability bit for the low-power feature
instead, and change all existing users of has_hostpc to use this new
capability bit.

The idea for this commit is taken from an old 2012 commit that never got
merged ("disociate chipidea PHY low power suspend control from hostpc")

Inspired-by: Matthieu CASTET &lt;matthieu.castet@parrot.com&gt;
Signed-off-by: Tuomas Tynkkynen &lt;ttynkkynen@nvidia.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Tested-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: chipidea: drop "13xxx" infix</title>
<updated>2013-06-24T23:16:55+00:00</updated>
<author>
<name>Alexander Shishkin</name>
<email>alexander.shishkin@linux.intel.com</email>
</author>
<published>2013-06-24T11:46:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=8e22978c57087aac4d88693278db1cc3e94f1253'/>
<id>8e22978c57087aac4d88693278db1cc3e94f1253</id>
<content type='text'>
"ci13xxx" is bad for at least the following reasons:
  * people often mistype it
  * it doesn't add any informational value to the names it's used in
  * it needlessly attracts mail filters

This patch replaces it with "ci_hdrc", "ci_udc" or "ci_hw", depending
on the situation. Modules with ci13xxx prefix are also renamed accordingly
and aliases are added for compatibility. Otherwise, no functional changes.

Signed-off-by: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"ci13xxx" is bad for at least the following reasons:
  * people often mistype it
  * it doesn't add any informational value to the names it's used in
  * it needlessly attracts mail filters

This patch replaces it with "ci_hdrc", "ci_udc" or "ci_hw", depending
on the situation. Modules with ci13xxx prefix are also renamed accordingly
and aliases are added for compatibility. Otherwise, no functional changes.

Signed-off-by: Alexander Shishkin &lt;alexander.shishkin@linux.intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
