<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/arch/mips/ath79/dev-usb.c, branch v3.9.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>MIPS: ath79: add USB controller registration code for the QCA955X SoCs</title>
<updated>2013-02-19T08:36:33+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2013-02-15T13:38:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=82c46840ae6bd8a147c59cd51f636d913989324a'/>
<id>82c46840ae6bd8a147c59cd51f636d913989324a</id>
<content type='text'>
Register platfom devices for the built-in USB
controllers of the SoCs.

Cc: Rodriguez, Luis &lt;rodrigue@qca.qualcomm.com&gt;
Cc: Giori, Kathy &lt;kgiori@qca.qualcomm.com&gt;
Cc: QCA Linux Team &lt;qca-linux-team@qca.qualcomm.com&gt;
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4952/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Register platfom devices for the built-in USB
controllers of the SoCs.

Cc: Rodriguez, Luis &lt;rodrigue@qca.qualcomm.com&gt;
Cc: Giori, Kathy &lt;kgiori@qca.qualcomm.com&gt;
Cc: QCA Linux Team &lt;qca-linux-team@qca.qualcomm.com&gt;
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4952/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: ath79: use dynamically allocated USB platform devices</title>
<updated>2013-02-17T00:25:42+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2013-02-09T17:57:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=90a938d1add4859ad3e43c3dd5ee54bd0627e42d'/>
<id>90a938d1add4859ad3e43c3dd5ee54bd0627e42d</id>
<content type='text'>
The current code uses static resources and static platform
device instances for the possible USB controllers in the
system. These static variables contains initial values which
leads to data segment pollution.

Remove the static variables and use dynamically allocated
structures instead.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4933/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code uses static resources and static platform
device instances for the possible USB controllers in the
system. These static variables contains initial values which
leads to data segment pollution.

Remove the static variables and use dynamically allocated
structures instead.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4933/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath79: remove ATH79_MISC_IRQ_* defines</title>
<updated>2013-02-17T00:25:42+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2013-02-07T19:32:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=fd633cf1cfe978003888dc78ff94f926fbe7dd8a'/>
<id>fd633cf1cfe978003888dc78ff94f926fbe7dd8a</id>
<content type='text'>
Use the ATH79_MISC_IRQ() macro instead.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4930/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the ATH79_MISC_IRQ() macro instead.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4930/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ath79: add ATH79_CPU_IRQ() macro</title>
<updated>2013-02-17T00:25:41+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2013-02-07T19:32:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7e69c10a8ee1f201c040997c6742c27e915730ad'/>
<id>7e69c10a8ee1f201c040997c6742c27e915730ad</id>
<content type='text'>
Remove the individual ATH79_CPU_IRQ_* constants and
use the new macro instead of those.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4929/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the individual ATH79_CPU_IRQ_* constants and
use the new macro instead of those.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4929/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: EHCI: remove ehci_port_power() routine</title>
<updated>2012-10-31T19:48:07+00:00</updated>
<author>
<name>Alan Stern</name>
<email>stern@rowland.harvard.edu</email>
</author>
<published>2012-10-31T17:21:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c73cee717e7d5da0698acb720ad1219646fe4f46'/>
<id>c73cee717e7d5da0698acb720ad1219646fe4f46</id>
<content type='text'>
This patch (as1623) removes the ehci_port_power() routine and all the
places that call it.  There's no reason for ehci-hcd to change the
port power settings; the hub driver takes care of all that stuff.

There is one exception: When the controller is resumed from
hibernation or following a loss of power, the ports that are supposed
to be handed over to a companion controller must be powered on first.
Otherwise the handover won't work.  This process is not visible to the
hub driver, so it has to be handled in ehci-hcd.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&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>
This patch (as1623) removes the ehci_port_power() routine and all the
places that call it.  There's no reason for ehci-hcd to change the
port power settings; the hub driver takes care of all that stuff.

There is one exception: When the controller is resumed from
hibernation or following a loss of power, the ports that are supposed
to be handed over to a companion controller must be powered on first.
Otherwise the handover won't work.  This process is not visible to the
hub driver, so it has to be handled in ehci-hcd.

Signed-off-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: ath79: add USB platform setup code for AR934X</title>
<updated>2012-08-28T10:29:57+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2012-08-04T15:03:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=00ffed582fe8a3f7556593c0e8baaf3da3df85b0'/>
<id>00ffed582fe8a3f7556593c0e8baaf3da3df85b0</id>
<content type='text'>
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4172/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4172/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: ath79: use a helper function for USB resource initialization</title>
<updated>2012-08-28T10:29:57+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2012-08-04T15:03:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=8d3e03e186cb94a333d0176fe8b22a6df200fcc7'/>
<id>8d3e03e186cb94a333d0176fe8b22a6df200fcc7</id>
<content type='text'>
This improves code readability, and ensures that
all resource fields will be initialized correctly.
Additionally, it helps to reduce the size of the
kernel image by using uninitialized resource
variables.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4171/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This improves code readability, and ensures that
all resource fields will be initialized correctly.
Additionally, it helps to reduce the size of the
kernel image by using uninitialized resource
variables.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Patchwork: http://patchwork.linux-mips.org/patch/4171/
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: ath79: Use correct IRQ number for the OHCI controller on AR7240</title>
<updated>2012-08-17T08:57:27+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2012-08-04T16:01:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5fb234560eb3033b35812cd0d80613dbf37dca2f'/>
<id>5fb234560eb3033b35812cd0d80613dbf37dca2f</id>
<content type='text'>
The currently assigned IRQ number to the OHCI controller is incorrect for
the AR7240 SoC, and that leads to the following error message from the
OHCI driver:

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ath79-ohci ath79-ohci: Atheros built-in OHCI controller
ath79-ohci ath79-ohci: new USB bus registered, assigned bus number 1
ath79-ohci ath79-ohci: irq 14, io mem 0x1b000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new full-speed USB device number 2 using ath79-ohci
ath79-ohci ath79-ohci: Unlink after no-IRQ?  Controller is probably using the wrong IRQ.

Fix this by using the correct IRQ number.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4168/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The currently assigned IRQ number to the OHCI controller is incorrect for
the AR7240 SoC, and that leads to the following error message from the
OHCI driver:

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ath79-ohci ath79-ohci: Atheros built-in OHCI controller
ath79-ohci ath79-ohci: new USB bus registered, assigned bus number 1
ath79-ohci ath79-ohci: irq 14, io mem 0x1b000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
usb 1-1: new full-speed USB device number 2 using ath79-ohci
ath79-ohci ath79-ohci: Unlink after no-IRQ?  Controller is probably using the wrong IRQ.

Fix this by using the correct IRQ number.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/4168/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: use generic platform driver on ath79</title>
<updated>2012-03-15T19:45:43+00:00</updated>
<author>
<name>Hauke Mehrtens</name>
<email>hauke@hauke-m.de</email>
</author>
<published>2012-03-13T00:04:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=5d98cd4e1df9587963ade40ef29bef604fb3920a'/>
<id>5d98cd4e1df9587963ade40ef29bef604fb3920a</id>
<content type='text'>
The ath79 usb driver doesn't do anything special and is now converted
to the generic ehci and ohci driver.
This was tested on a TP-Link TL-WR1043ND (AR9132)

Acked-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
CC: Imre Kaloz &lt;kaloz@openwrt.org&gt;
CC: linux-mips@linux-mips.org
CC: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.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>
The ath79 usb driver doesn't do anything special and is now converted
to the generic ehci and ohci driver.
This was tested on a TP-Link TL-WR1043ND (AR9132)

Acked-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
CC: Imre Kaloz &lt;kaloz@openwrt.org&gt;
CC: linux-mips@linux-mips.org
CC: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>MIPS: ath79: add AR933X specific USB platform device registration</title>
<updated>2011-12-07T22:02:46+00:00</updated>
<author>
<name>Gabor Juhos</name>
<email>juhosg@openwrt.org</email>
</author>
<published>2011-06-20T19:26:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c279b7759602d4ef97d45f3eb2cdf36a713eb99a'/>
<id>c279b7759602d4ef97d45f3eb2cdf36a713eb99a</id>
<content type='text'>
Also select the USB_ARCH_HAS_EHCI symbol in order to make the
EHCI driver available.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Cc: linux-mips@linux-mips.org
Cc: Kathy Giori &lt;kgiori@qca.qualcomm.com&gt;
Cc: "Luis R.  Rodriguez" &lt;rodrigue@qca.qualcomm.com&gt;
Patchwork: https://patchwork.linux-mips.org/patch/2527/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also select the USB_ARCH_HAS_EHCI symbol in order to make the
EHCI driver available.

Signed-off-by: Gabor Juhos &lt;juhosg@openwrt.org&gt;
Cc: linux-mips@linux-mips.org
Cc: Kathy Giori &lt;kgiori@qca.qualcomm.com&gt;
Cc: "Luis R.  Rodriguez" &lt;rodrigue@qca.qualcomm.com&gt;
Patchwork: https://patchwork.linux-mips.org/patch/2527/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
