<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/chipidea/core.c, branch linux-3.15.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.15.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-04-24T19:45:40Z</updated>
<entry>
<title>usb: chipidea: coordinate usb phy initialization for different phy type</title>
<updated>2014-04-24T19:45:40Z</updated>
<author>
<name>Peter Chen</name>
</author>
<published>2014-04-24T00:15:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd84f009e98b3aa6109503f80f66ccf3e19e8fa9'/>
<id>urn:sha1:cd84f009e98b3aa6109503f80f66ccf3e19e8fa9</id>
<content type='text'>
For internal PHY (like UTMI), the phy clock may from internal pll,
it is on/off on the fly, the access PORTSC.PTS will hang without
phy clock. So, the usb_phy_init which will open phy clock needs to
be called before hw_phymode_configure.
See: http://marc.info/?l=linux-arm-kernel&amp;m=139350618732108&amp;w=2

For external PHY (like ulpi), it needs to configure portsc.pts before
visit viewport, or the viewport can't be visited. so phy_phymode_configure
needs to be called before usb_phy_init.
See: cd0b42c2a6d2a74244f0053f8960f5dad5842278

It may not the best solution, but it can work for all situations.

Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Cc: Chris Ruehl &lt;chris.ruehl@gtsys.com.hk&gt;
Cc: shc_work@mail.ru
Cc: denis@eukrea.com
Cc: festevam@gmail.com
Cc: stable &lt;stable@vger.kernel.org&gt; # 3.14
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: Propagate the real error code on platform_get_irq() failure</title>
<updated>2014-02-25T01:07:53Z</updated>
<author>
<name>Fabio Estevam</name>
</author>
<published>2014-02-19T05:41:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42d182124801573e06284200d81c3963962e753d'/>
<id>urn:sha1:42d182124801573e06284200d81c3963962e753d</id>
<content type='text'>
No need to return a 'fake' return value on platform_get_irq() failure.

Just return the error code itself instead.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.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>
</entry>
<entry>
<title>usb: chipidea: udc: add maximum-speed = full-speed option</title>
<updated>2014-02-25T01:07:52Z</updated>
<author>
<name>Michael Grzeschik</name>
</author>
<published>2014-02-19T05:41:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f6743d5ca97ac66831add302cc5467db4ee3809'/>
<id>urn:sha1:4f6743d5ca97ac66831add302cc5467db4ee3809</id>
<content type='text'>
This patch makes it possible to set the chipidea udc into full-speed only mode.
It is set by the oftree property "maximum-speed = full-speed".

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: use dev_get_platdata()</title>
<updated>2014-02-25T01:07:52Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2014-02-19T05:41:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fad56745a641750745d85f59d5cc640a1a4c1719'/>
<id>urn:sha1:fad56745a641750745d85f59d5cc640a1a4c1719</id>
<content type='text'>
Use the wrapper function for retrieving the platform data instead
of accessing dev-&gt;platform_data directly. This is a cosmetic change
to make the code simpler and enhance the readability.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: refine PHY operation</title>
<updated>2014-02-25T01:07:52Z</updated>
<author>
<name>Peter Chen</name>
</author>
<published>2014-02-19T05:41:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c859aa65a7ec40c02f435f14fa71de2a87c64513'/>
<id>urn:sha1:c859aa65a7ec40c02f435f14fa71de2a87c64513</id>
<content type='text'>
- Delete global_phy due to we can get the phy from phy layer now
- using devm_usb_get_phy to instead of usb_get_phy
- delete the otg_set_peripheral, which should be handled by otg layer

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: put hw_phymode_configure before ci_usb_phy_init</title>
<updated>2014-01-13T23:55:19Z</updated>
<author>
<name>Chris Ruehl</name>
</author>
<published>2014-01-10T05:51:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cd0b42c2a6d2a74244f0053f8960f5dad5842278'/>
<id>urn:sha1:cd0b42c2a6d2a74244f0053f8960f5dad5842278</id>
<content type='text'>
hw_phymode_configure configures the PORTSC registers and allow the
following phy_inits to operate on the right parameters. This fix a problem
where the UPLI (ISP1504) could not be detected, because the Viewport was not
available and read the viewport return 0's only.

Signed-off-by: Chris Ruehl &lt;chris.ruehl@gtsys.com.hk&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag</title>
<updated>2014-01-13T23:55:19Z</updated>
<author>
<name>Chris Ruehl</name>
</author>
<published>2014-01-10T05:51:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b5d3e6845bfe68777d069886b0d1cd5f23b9d58'/>
<id>urn:sha1:3b5d3e6845bfe68777d069886b0d1cd5f23b9d58</id>
<content type='text'>
* init the sts flag to 0 (missed)
* fix write the real bit not sts value
* Set PORTCS_STS and DEVLC_STS only if sts = 1

[Peter Chen: This one and the next patch fix the problem occurred imx27
and imx31, and imx27 and imx31 usb support are enabled until 3.14, so
these two patches isn't needed for -stable]

Signed-off-by: Chris Ruehl &lt;chris.ruehl@gtsys.com.hk&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: add freescale imx28 special write register method</title>
<updated>2014-01-13T23:55:19Z</updated>
<author>
<name>Peter Chen</name>
</author>
<published>2014-01-10T05:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ed8f8318d2ef3e5f9e4ddf79349508c116b68d7f'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>usb: chipidea: mark register map as "const" and convert to u8</title>
<updated>2014-01-08T00:21:06Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-01-06T02:10:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=987e7bc3484fdc8c8018e1368608f6a81053b86f'/>
<id>urn:sha1:987e7bc3484fdc8c8018e1368608f6a81053b86f</id>
<content type='text'>
This patch makes the controller register map ci_regs_nolpm and ci_regs_lpm as
"const". Further, as all offset fit into a single byte, the type is changed
from uintptr_t to u8.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: move malloced regmap directly into struct hw_bank</title>
<updated>2014-01-08T00:21:06Z</updated>
<author>
<name>Marc Kleine-Budde</name>
</author>
<published>2014-01-06T02:10:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=21395a1aac7ce1e19dbb43542a9e06cca2bfca01'/>
<id>urn:sha1:21395a1aac7ce1e19dbb43542a9e06cca2bfca01</id>
<content type='text'>
Without this patch a seperate chunk of memory is allocated for the regmap
array. As the regmap is always used it makes no sense to allocate a seperate
memory block for it, this patch moves the regmap array directly into the struct
hw_bank.

Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
