<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/include/linux/usb/composite.h, branch Colibri_T30_LinuxImageV2.1Beta2_20140206</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>usb: gadget: android: Update android gadget driver</title>
<updated>2011-12-01T05:38:41+00:00</updated>
<author>
<name>Benoit Goby</name>
<email>benoit@android.com</email>
</author>
<published>2011-04-20T03:37:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=63fc2625d029bb01844f3b6cd4510cb1fffcac27'/>
<id>63fc2625d029bb01844f3b6cd4510cb1fffcac27</id>
<content type='text'>
* Functions and the device descriptor are configured from user space:
echo 0       &gt; /sys/class/android_usb/android0/enable
echo adb,acm &gt; /sys/class/android_usb/android0/functions
echo 2       &gt; /sys/class/android_usb/android0/f_acm/instances
echo 1       &gt; /sys/class/android_usb/android0/enable

* Driver does not require platform data anymore

* Moved function initialization to android.c instead of each
function file

* Replaced switches by uevents

Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
Change-Id: If5ad9267c111ad0a442f0d87a0d31082dc5381b6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Functions and the device descriptor are configured from user space:
echo 0       &gt; /sys/class/android_usb/android0/enable
echo adb,acm &gt; /sys/class/android_usb/android0/functions
echo 2       &gt; /sys/class/android_usb/android0/f_acm/instances
echo 1       &gt; /sys/class/android_usb/android0/enable

* Driver does not require platform data anymore

* Moved function initialization to android.c instead of each
function file

* Replaced switches by uevents

Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
Change-Id: If5ad9267c111ad0a442f0d87a0d31082dc5381b6
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: composite: Add usb_remove_config</title>
<updated>2011-12-01T05:38:41+00:00</updated>
<author>
<name>Benoit Goby</name>
<email>benoit@android.com</email>
</author>
<published>2011-05-26T06:59:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=d74a4a005ef4fd02a5fef4e7565fc7c09fad1136'/>
<id>d74a4a005ef4fd02a5fef4e7565fc7c09fad1136</id>
<content type='text'>
This allows composite drivers to dynamically change their configuration.
For example, a driver might remove a configuration and register a new
one with a different set of functions.
User should prevent the host from enumerating the device while changing
the configuration:

	usb_gadget_disconnect(cdev-&gt;gadget);
	usb_remove_config(cdev, old_config);
	usb_add_config(cdev, new_config, new_conf_bind);
	usb_gadget_connect(cdev-&gt;gadget);

Change-Id: Icbfb4ce41685fde9bf63d5d58fca1ad242aa69f9
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows composite drivers to dynamically change their configuration.
For example, a driver might remove a configuration and register a new
one with a different set of functions.
User should prevent the host from enumerating the device while changing
the configuration:

	usb_gadget_disconnect(cdev-&gt;gadget);
	usb_remove_config(cdev, old_config);
	usb_add_config(cdev, new_config, new_conf_bind);
	usb_gadget_connect(cdev-&gt;gadget);

Change-Id: Icbfb4ce41685fde9bf63d5d58fca1ad242aa69f9
Signed-off-by: Benoit Goby &lt;benoit@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: composite: Use separate switches for connected and config state</title>
<updated>2011-12-01T05:38:09+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2010-12-11T00:30:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9cda6a28208019f2c9c7d902dcba7c0d33310b5a'/>
<id>9cda6a28208019f2c9c7d902dcba7c0d33310b5a</id>
<content type='text'>
Also remove disconnect debouncing, which didn't actually work on some platforms

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also remove disconnect debouncing, which didn't actually work on some platforms

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: composite: Add usb_composite_force_reset utility to force enumeration</title>
<updated>2011-12-01T05:38:07+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2010-06-28T20:19:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b004b615d0baddd762d9a9a8f953b95be8e87399'/>
<id>b004b615d0baddd762d9a9a8f953b95be8e87399</id>
<content type='text'>
Use this rather than calling usb_gadget_disconnect and usb_gadget_connect
directly to avoid sending USB disconnect events to userspace when resetting
the bus.

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use this rather than calling usb_gadget_disconnect and usb_gadget_connect
directly to avoid sending USB disconnect events to userspace when resetting
the bus.

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: composite: Move switch_set_state calls to a work queue</title>
<updated>2011-12-01T05:38:06+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2010-06-28T00:05:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7b5e39ee0664d185da2e72ce669eb11c0fea2138'/>
<id>7b5e39ee0664d185da2e72ce669eb11c0fea2138</id>
<content type='text'>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: gadget: composite: Add userspace notifications for USB state changes</title>
<updated>2011-12-01T05:38:06+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2010-06-23T12:20:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f0dc4ebd035a22b6f6ac01087dc8a4176166ce8a'/>
<id>f0dc4ebd035a22b6f6ac01087dc8a4176166ce8a</id>
<content type='text'>
Add switch to notify current USB configuration.  This can be used to detect
USB connect and disconnect events.

Broadcast a change via the usb_composite class when a USB function is
enabled or disabled.

Rename usb_function.hidden to usb_function.disabled.

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add switch to notify current USB configuration.  This can be used to detect
USB connect and disconnect events.

Broadcast a change via the usb_composite class when a USB function is
enabled or disabled.

Rename usb_function.hidden to usb_function.disabled.

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: composite: Add class driver for enabling and disabling USB functions.</title>
<updated>2011-12-01T05:38:00+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2010-02-07T02:53:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c9ca3a71cacaabc6a5707d4c72749b4722a7271e'/>
<id>c9ca3a71cacaabc6a5707d4c72749b4722a7271e</id>
<content type='text'>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: composite: Add flag to usb_function to hide its interface during enumeration</title>
<updated>2011-12-01T05:37:59+00:00</updated>
<author>
<name>Mike Lockwood</name>
<email>lockwood@android.com</email>
</author>
<published>2009-12-11T16:24:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4a31111965b47d374521f19311d17bcc0195214a'/>
<id>4a31111965b47d374521f19311d17bcc0195214a</id>
<content type='text'>
Change-Id: Ie999b5190e3e2b6fd23015b8e796cdd178829929

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ie999b5190e3e2b6fd23015b8e796cdd178829929

Signed-off-by: Mike Lockwood &lt;lockwood@android.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: add SuperSpeed support to the Gadget Framework</title>
<updated>2011-07-01T21:27:05+00:00</updated>
<author>
<name>Tatyana Brokhman</name>
<email>tlinder@codeaurora.org</email>
</author>
<published>2011-06-29T13:41:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bdb64d727216b49a18c2b8337658adc6b2db82ea'/>
<id>bdb64d727216b49a18c2b8337658adc6b2db82ea</id>
<content type='text'>
SuperSpeed USB has defined a new descriptor, called
the Binary Device Object Store (BOS) Descriptor. It
has also changed a bit the definition of SET_FEATURE
and GET_STATUS requests to add USB3-specific details.

This patch implements both changes to the Composite
Gadget Framework.

[ balbi@ti.com : slight changes to commit log
		 fixed a compile error on ARM ]

Signed-off-by: Tatyana Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SuperSpeed USB has defined a new descriptor, called
the Binary Device Object Store (BOS) Descriptor. It
has also changed a bit the definition of SET_FEATURE
and GET_STATUS requests to add USB3-specific details.

This patch implements both changes to the Composite
Gadget Framework.

[ balbi@ti.com : slight changes to commit log
		 fixed a compile error on ARM ]

Signed-off-by: Tatyana Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: gadget: add max_speed to usb_composite_driver</title>
<updated>2011-07-01T21:27:05+00:00</updated>
<author>
<name>Tatyana Brokhman</name>
<email>tlinder@codeaurora.org</email>
</author>
<published>2011-06-29T13:41:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=35a0e0bf6f6b2b900d461e9f35c286953b2b1afc'/>
<id>35a0e0bf6f6b2b900d461e9f35c286953b2b1afc</id>
<content type='text'>
This field is used by the Gadget drivers to specify
the maximum speed they support, meaning: the maximum
speed they can provide descriptors for.

The driver speed will be set in consideration of this
value.

[ balbi@ti.com : dropped the ifdeffery ]

Signed-off-by: Tatyana Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This field is used by the Gadget drivers to specify
the maximum speed they support, meaning: the maximum
speed they can provide descriptors for.

The driver speed will be set in consideration of this
value.

[ balbi@ti.com : dropped the ifdeffery ]

Signed-off-by: Tatyana Brokhman &lt;tlinder@codeaurora.org&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</pre>
</div>
</content>
</entry>
</feed>
