<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/usb/gadget.h, branch v4.2.4</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.2.4</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v4.2.4'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2015-03-19T16:26:03Z</updated>
<entry>
<title>usb: udc: add usb_udc_vbus_handler</title>
<updated>2015-03-19T16:26:03Z</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2015-03-06T02:36:03Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=628ef0d273a69d889669a459fb4675c678ae0418'/>
<id>urn:sha1:628ef0d273a69d889669a459fb4675c678ae0418</id>
<content type='text'>
This commit updates udc core vbus status, and try to connect
or disconnect gadget.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: udc: store usb_udc pointer in struct usb_gadget</title>
<updated>2015-03-19T16:25:46Z</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2015-03-06T02:36:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=dfea9c94837d27e38c8cc85a3c1c7c268973c3c2'/>
<id>urn:sha1:dfea9c94837d27e38c8cc85a3c1c7c268973c3c2</id>
<content type='text'>
Instead of iterate to find usb_udc according to usb_gadget, this
way is easier.

Alan Stern suggests this way too:
http://marc.info/?l=linux-usb&amp;m=142168496528894&amp;w=2

Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: Fix typo fond in Documentation/Docbook/gadget.xml</title>
<updated>2015-03-11T15:19:35Z</updated>
<author>
<name>Masanari Iida</name>
<email>standby24x7@gmail.com</email>
</author>
<published>2015-03-10T13:37:46Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=06ed0de5188c9ef6553b2824b6cdd767ad46ece5'/>
<id>urn:sha1:06ed0de5188c9ef6553b2824b6cdd767ad46ece5</id>
<content type='text'>
This patch fix some spelling typo found in gadget.xml.
It is because this file is generated from comments in sources,
I had to fix comments in the source, instead of xml file itself.

Signed-off-by: Masanari Iida &lt;standby24x7@gmail.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: introduce is_selfpowered for usb_gadget</title>
<updated>2015-01-29T16:32:21Z</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2015-01-28T08:32:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=80b2502cea34a965a6b3390691854e753945ca5f'/>
<id>urn:sha1:80b2502cea34a965a6b3390691854e753945ca5f</id>
<content type='text'>
Whether the gadget is selfpowerwed or not can be determined by composite
core, so we can use a common entry to indicate if the self-powered
is supported by gadget, and the related private variable at individual
udc driver can be deleted.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: udc: core: prepend udc_attach_driver with usb_</title>
<updated>2014-11-03T16:01:16Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2014-10-17T23:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=02e8c966274f1049cca8d3f17092f8275979b8eb'/>
<id>urn:sha1:02e8c966274f1049cca8d3f17092f8275979b8eb</id>
<content type='text'>
No functional changes, just adding a prefix
which should have been there from the start.

Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: remove unnecessary 'driver' argument</title>
<updated>2014-11-03T16:01:16Z</updated>
<author>
<name>Felipe Balbi</name>
<email>balbi@ti.com</email>
</author>
<published>2014-10-17T17:05:12Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=22835b807e7ca946a4d1fbd4c7af56aa09cd273e'/>
<id>urn:sha1:22835b807e7ca946a4d1fbd4c7af56aa09cd273e</id>
<content type='text'>
now that no UDC driver relies on the extra
'driver' argument to -&gt;udc_stop(), we can
safely remove it.

This commit is based on previous work by
Robert Baldyga &lt;r.baldyga@samsung.com&gt; which
can be found at [1]; however that patch turned
out to have a high probability of regressing
many UDC drivers because of a blind search &amp; replace
s/driver/$udc-&gt;driver/ which caused the 'driver'
argument to stop_activity() to be a valid non-NULL
pointer when it should be NULL, thus causing UDCs
to mistakenly call gadget driver's -&gt;disconnect()
callback.

[1] http://markmail.org/message/x5zneg4xea4zntab

Acked-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: Introduce usb_gadget_giveback_request()</title>
<updated>2014-09-25T14:58:17Z</updated>
<author>
<name>Michal Sojka</name>
<email>sojka@merica.cz</email>
</author>
<published>2014-09-24T20:43:18Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3fc2aa5522ab958374d93ef5d2e12df7ee233c91'/>
<id>urn:sha1:3fc2aa5522ab958374d93ef5d2e12df7ee233c91</id>
<content type='text'>
All USB peripheral controller drivers call completion routines directly.
This patch adds usb_gadget_giveback_request() which will be used instead
of direct invocation in the next patch. The goal here is to have a place
where common functionality can be added.

Signed-off-by: Michal Sojka &lt;sojka@merica.cz&gt;
Acked-by: Felipe Balbi &lt;balbi@ti.com&gt;
Tested-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>usb: gadget: udc-core: add utility for bus reset</title>
<updated>2014-09-12T14:12:51Z</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2014-09-12T01:32:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=974a70bdecea5296db1b643e4046ef208e99c592'/>
<id>urn:sha1:974a70bdecea5296db1b643e4046ef208e99c592</id>
<content type='text'>
The udc driver can notify the udc core that bus reset occurs by
calling this utility, the core will notify gadget driver this
information and update gadget state accordingly.

Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: add reset API at usb_gadget_driver</title>
<updated>2014-09-09T14:58:09Z</updated>
<author>
<name>Peter Chen</name>
<email>peter.chen@freescale.com</email>
</author>
<published>2014-09-09T00:56:48Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ef979a26e3d521d51dbd9950e46a69e303073171'/>
<id>urn:sha1:ef979a26e3d521d51dbd9950e46a69e303073171</id>
<content type='text'>
Adding reset API for UDC bus reset handler is useful for below
two issues.

Current disconnect API at usb_gadget_driver is also invoked at
udc's bus reset handler, but the document says it is invoked when
the host is disconnected.

Besides, we may expect the gadget_driver to do different things
for host sends bus reset and host disconnects gadget, eg, we may not
want to flush dirty page for mass storage at bus reset, and want to
do it at disconnection.

Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Peter Chen &lt;peter.chen@freescale.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: document a usb_ep_dequeue() requirement</title>
<updated>2014-08-21T21:13:52Z</updated>
<author>
<name>Paul Zimmerman</name>
<email>Paul.Zimmerman@synopsys.com</email>
</author>
<published>2014-08-21T20:28:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8913dc0bb913ac3dc83ed5c10bac2f4e55431981'/>
<id>urn:sha1:8913dc0bb913ac3dc83ed5c10bac2f4e55431981</id>
<content type='text'>
Document the requirement that the request be dequeued and its
completion routine called before usb_ep_dequeue() returns. Also
fix some capitalization issues in the existing text.

Signed-off-by: Paul Zimmerman &lt;paulz@synopsys.com&gt;
Acked-by: Alan Stern &lt;stern@rowland.harvard.edu&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
</content>
</entry>
</feed>
