<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/usb/chipidea/core.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-06-27T15:35:31Z</updated>
<entry>
<title>Merge tag 'usb-ci-v4.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-next</title>
<updated>2017-06-27T15:35:31Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-06-27T15:35:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6e5c7514e77d168da79a9ad1a430bd702ccf1659'/>
<id>urn:sha1:6e5c7514e77d168da79a9ad1a430bd702ccf1659</id>
<content type='text'>
Peter writes:

One patch to improve error handling at chipidea core
</content>
</entry>
<entry>
<title>usb: chipidea: core: check before accessing ci_role in ci_role_show</title>
<updated>2017-05-23T00:36:54Z</updated>
<author>
<name>Michael Thalmeier</name>
</author>
<published>2017-05-19T08:32:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cbb22ebcfb9920380ed69854a7095d497798063d'/>
<id>urn:sha1:cbb22ebcfb9920380ed69854a7095d497798063d</id>
<content type='text'>
ci_role BUGs when the role is &gt;= CI_ROLE_END.
This is the case while the role is changing.

Signed-off-by: Michael Thalmeier &lt;michael.thalmeier@hale.at&gt;
Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: properly handle host or gadget initialization failure</title>
<updated>2017-05-18T00:55:22Z</updated>
<author>
<name>Jisheng Zhang</name>
</author>
<published>2017-04-26T08:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c4a0bbbdb7f6e3c37fa6deb3ef28c5ed99da6175'/>
<id>urn:sha1:c4a0bbbdb7f6e3c37fa6deb3ef28c5ed99da6175</id>
<content type='text'>
If ci_hdrc_host_init() or ci_hdrc_gadget_init() returns error and the
error != -ENXIO, as Peter pointed out, "it stands for initialization
for host or gadget has failed", so we'd better return failure rather
continue.

And before destroying the otg, i.e ci_hdrc_otg_destroy(ci), we should
also check ci-&gt;roles[CI_ROLE_GADGET].

Signed-off-by: Jisheng Zhang &lt;jszhang@marvell.com&gt;
Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'usb-ci-v4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb into usb-next</title>
<updated>2017-04-18T14:52:20Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2017-04-18T14:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac9d947683c1b508f798f0c87c51cfb7b9f1eee5'/>
<id>urn:sha1:ac9d947683c1b508f798f0c87c51cfb7b9f1eee5</id>
<content type='text'>
Peter writes:

Two changes for this v4.12-rc1:
- Add sysfs entry for role switch
- Update gadget state after gadget back from suspend
</content>
</entry>
<entry>
<title>usb: chipidea: core: add sysfs group</title>
<updated>2017-04-14T01:26:37Z</updated>
<author>
<name>Peter Chen</name>
</author>
<published>2017-03-27T02:54:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a932a8041ff9941a244619555f1c75ecf299f662'/>
<id>urn:sha1:a932a8041ff9941a244619555f1c75ecf299f662</id>
<content type='text'>
Sometimes, the user needs to adjust some properties for controllers, eg
the role for controller, we add sysfs group for them.

The attribute 'role' is used to switch host/gadget role dynamically, the
uewr can read the current role, and write the other role compare to
current one to finish the switch.

Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: use bus-&gt;sysdev for DMA configuration</title>
<updated>2017-03-23T07:20:21Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2017-03-13T02:18:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=aeb78cda51005fa00943e331c1fb47c6ad74015d'/>
<id>urn:sha1:aeb78cda51005fa00943e331c1fb47c6ad74015d</id>
<content type='text'>
Set the dma for chipidea from sysdev. This is inherited from its
parent node. Also, do not set dma mask for child as it is not required
now.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Sriram Dash &lt;sriram.dash@nxp.com&gt;
Acked-by: Peter Chen &lt;peter.chen@nxp.com&gt;
Signed-off-by: Mathias Nyman &lt;mathias.nyman@linux.intel.com&gt;
Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: Configure phy for appropriate mode</title>
<updated>2017-02-03T08:48:33Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2017-01-25T22:32:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=490b63e6de63d13e82110f4cb5f1aa31dd27245a'/>
<id>urn:sha1:490b63e6de63d13e82110f4cb5f1aa31dd27245a</id>
<content type='text'>
When the qcom chipidea controller is used with an extcon, we need
to signal device mode or host mode to the phy so it can configure
itself for the correct mode. This should be done after the phy is
powered up, so that the register writes work correctly. Add in
the appropriate phy_set_mode() call here.

Cc: Peter Chen &lt;peter.chen@nxp.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Stephen Boyd &lt;stephen.boyd@linaro.org&gt;
Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: delete an useless header include</title>
<updated>2017-01-23T09:02:36Z</updated>
<author>
<name>Jisheng Zhang</name>
</author>
<published>2017-01-23T07:05:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bec584a87780f2ad0c04157bc7dd3796abfebd2c'/>
<id>urn:sha1:bec584a87780f2ad0c04157bc7dd3796abfebd2c</id>
<content type='text'>
&lt;linux/phy.h&gt; is for net phy drivers, we don't need it.

Signed-off-by: Jisheng Zhang &lt;jszhang@marvell.com&gt;
Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: msm: Handle phy power states</title>
<updated>2017-01-20T07:27:35Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2016-12-28T22:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11893dae63da0f5b251cf7f9a24d64c8ff4771ff'/>
<id>urn:sha1:11893dae63da0f5b251cf7f9a24d64c8ff4771ff</id>
<content type='text'>
The ULPI phy on qcom platforms needs to be initialized and
powered on after a USB reset and before we toggle the run/stop
bit. Otherwise, the phy locks up and doesn't work properly. Hook
the phy initialization into the RESET event and the phy power off
into the STOPPED event.

Acked-by: Peter Chen &lt;peter.chen@nxp.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Stephen Boyd &lt;stephen.boyd@linaro.org&gt;
Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
</content>
</entry>
<entry>
<title>usb: chipidea: Consolidate extcon notifiers</title>
<updated>2017-01-20T07:13:49Z</updated>
<author>
<name>Stephen Boyd</name>
</author>
<published>2017-01-20T07:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5cc49268995a1f063a7a569299393e4cf9d06923'/>
<id>urn:sha1:5cc49268995a1f063a7a569299393e4cf9d06923</id>
<content type='text'>
The two extcon notifiers are almost the same except for the
variable name for the cable structure and the id notifier inverts
the cable-&gt;state logic. Make it the same and replace two
functions with one to save some lines. This also makes it so that
the id cable state is true when the id pin is pulled low, so we
change the name of -&gt;state to -&gt;connected to properly reflect
that we're interested in the cable being connected.

Acked-by: Peter Chen &lt;peter.chen@nxp.com&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Cc: "Ivan T. Ivanov" &lt;iivanov.xz@gmail.com&gt;
Signed-off-by: Stephen Boyd &lt;stephen.boyd@linaro.org&gt;
Signed-off-by: Peter Chen &lt;peter.chen@nxp.com&gt;
</content>
</entry>
</feed>
