<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/chipidea/ci.h, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-04-24T19:56:35Z</updated>
<entry>
<title>usb: chipidea: add OTG fsm operation functions implementation</title>
<updated>2014-04-24T19:56:35Z</updated>
<author>
<name>Li Jun</name>
</author>
<published>2014-04-23T07:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=826cfe751f3e1faf4a63b65245f5ee3a7efeb763'/>
<id>urn:sha1:826cfe751f3e1faf4a63b65245f5ee3a7efeb763</id>
<content type='text'>
Add OTG HNP and SRP operation functions implementation:
- charge vbus
- drive vbus
- connection signaling
- drive sof
- start data pulse
- add fsm timer
- delete fsm timer
- start host
- start gadget

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>
</entry>
<entry>
<title>usb: chipidea: usb OTG fsm initialization.</title>
<updated>2014-04-24T19:56:34Z</updated>
<author>
<name>Li Jun</name>
</author>
<published>2014-04-23T07:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57677be5ef838743561f4c1d16821dda0438d362'/>
<id>urn:sha1:57677be5ef838743561f4c1d16821dda0438d362</id>
<content type='text'>
This patch adds OTG fsm related initialization when do otg init,
add a seperate file for OTG fsm related utilities.

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>
</entry>
<entry>
<title>usb: chipidea: export interrupt enable and status register read functions</title>
<updated>2014-04-24T19:56:34Z</updated>
<author>
<name>Li Jun</name>
</author>
<published>2014-04-23T07:56:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=36304b0616280809a58ebdd69d74f7c61286f9b5'/>
<id>urn:sha1:36304b0616280809a58ebdd69d74f7c61286f9b5</id>
<content type='text'>
This patch moves usb interrupt enable and status register read functions
from udc driver to core driver to use them in all ci drivers.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Acked-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>
</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: 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: 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>
<entry>
<title>usb: chipidea: add wait vbus lower than OTGSC_BSV before role starts</title>
<updated>2013-08-14T19:37:20Z</updated>
<author>
<name>Peter Chen</name>
</author>
<published>2013-08-14T09:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=22fa84455a2a80566ead8efe4b5e629f2375da60'/>
<id>urn:sha1:22fa84455a2a80566ead8efe4b5e629f2375da60</id>
<content type='text'>
When the gadget role starts, we need to make sure the vbus is lower
than OTGSC_BSV, or there will be an vbus interrupt since we use
B_SESSION_VALID as vbus interrupt to indicate connect and disconnect.
When the host role starts, it may not be useful to wait vbus to lower
than OTGSC_BSV, but it can indicate some hardware problems like the
vbus is still higher than OTGSC_BSV after we disconnect to host some
time later (5000 milliseconds currently), which is obvious not correct.

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>
</entry>
<entry>
<title>usb: chipidea: add vbus interrupt handler</title>
<updated>2013-08-14T19:37:20Z</updated>
<author>
<name>Peter Chen</name>
</author>
<published>2013-08-14T09:44:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a107f8c505cd8606ae192d24c70b380e980fbe67'/>
<id>urn:sha1:a107f8c505cd8606ae192d24c70b380e980fbe67</id>
<content type='text'>
We add vbus interrupt handler at ci_otg_work, it uses OTGSC_BSV(at otgsc)
to know it is connect or disconnet event.
Meanwhile, we introduce two flags id_event and b_sess_valid_event to
indicate it is an id interrupt or a vbus interrupt.

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>
</entry>
<entry>
<title>usb: chipidea: drop "13xxx" infix</title>
<updated>2013-06-24T23:16:55Z</updated>
<author>
<name>Alexander Shishkin</name>
</author>
<published>2013-06-24T11:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e22978c57087aac4d88693278db1cc3e94f1253'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>usb: chipidea: udc: add multiple td support to hardware_{en,de}queue</title>
<updated>2013-06-17T20:45:47Z</updated>
<author>
<name>Michael Grzeschik</name>
</author>
<published>2013-06-13T14:59:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2e270412968d961ecde347343ffa67dfe39f6c95'/>
<id>urn:sha1:2e270412968d961ecde347343ffa67dfe39f6c95</id>
<content type='text'>
This patch removes the restriction of having a limited amount of only
four active tds on one endpoint. We use the linked list implementation
to manage all tds which get added and removed by hardware_{en,de}queue.

The removal of this restriction adds the driver to run into a hardware
errata. It's possible that the hardware will still address an transfer
descriptor that already got cleaned up. To solve this the patch also
postpone the cleanup of processed tds by one.

Signed-off-by: Michael Grzeschik &lt;m.grzeschik@pengutronix.de&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>
</entry>
</feed>
