<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/common/usb_kbd.c, branch v2012.07</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<entry>
<title>USB: move keyboard polling into kbd driver</title>
<updated>2012-03-03T15:56:29+00:00</updated>
<author>
<name>amartin@nvidia.com</name>
<email>amartin@nvidia.com</email>
</author>
<published>2011-12-20T14:56:16+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f9636e8d38abde096fbb32fee5a36bbdb02b7cae'/>
<id>f9636e8d38abde096fbb32fee5a36bbdb02b7cae</id>
<content type='text'>
This moves keyboard polling logic from USB HCD drivers into USB
keyboard driver.  Remove usb_event_poll() as keyboard polling was
the only user of this API.  With this patch USB keyboard works with
EHCI controllers again.  Tested on a tegra2 seaboard.

Signed-off-by: Allen Martin &lt;amartin@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This moves keyboard polling logic from USB HCD drivers into USB
keyboard driver.  Remove usb_event_poll() as keyboard polling was
the only user of this API.  With this patch USB keyboard works with
EHCI controllers again.  Tested on a tegra2 seaboard.

Signed-off-by: Allen Martin &lt;amartin@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: reevaluate iomux stdin on USB kbd detect</title>
<updated>2012-03-03T15:56:22+00:00</updated>
<author>
<name>amartin@nvidia.com</name>
<email>amartin@nvidia.com</email>
</author>
<published>2011-12-23T10:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fb3ef649ed5cf3e5e73aea6ed161cdde37cb7a5f'/>
<id>fb3ef649ed5cf3e5e73aea6ed161cdde37cb7a5f</id>
<content type='text'>
If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard
device is detected.

Signed-off-by: Allen Martin &lt;amartin@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If CONSOLE_MUX is enabled, reevaluate console stdin when USB keyboard
device is detected.

Signed-off-by: Allen Martin &lt;amartin@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>usb: add numeric keypad support to HID driver</title>
<updated>2012-03-03T15:56:15+00:00</updated>
<author>
<name>Vincent Palatin</name>
<email>vpalatin@chromium.org</email>
</author>
<published>2012-01-09T12:59:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d53da847cf274b8fd3ea362a3dfff68ea6206613'/>
<id>d53da847cf274b8fd3ea362a3dfff68ea6206613</id>
<content type='text'>
When keys are pressed on the numeric keypad, emit key codes for the numbers,
operators, dot and enter.

Signed-off-by: Vincent Palatin &lt;vpalatin@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When keys are pressed on the numeric keypad, emit key codes for the numbers,
operators, dot and enter.

Signed-off-by: Vincent Palatin &lt;vpalatin@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: fix USB keyboard polling parameter</title>
<updated>2012-03-03T15:56:09+00:00</updated>
<author>
<name>Vincent Palatin</name>
<email>vpalatin@chromium.org</email>
</author>
<published>2012-01-09T08:35:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=3d17308e405e6a3eb4de869b36218d2f95c0e546'/>
<id>3d17308e405e6a3eb4de869b36218d2f95c0e546</id>
<content type='text'>
When doing a "GET_REPORT" request on the keyboard control endpoint,
the report ID should 0 (ie report ID not used) rather than 1
as reports are not used in boot mode.

Signed-off-by: Vincent Palatin &lt;vpalatin@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When doing a "GET_REPORT" request on the keyboard control endpoint,
the report ID should 0 (ie report ID not used) rather than 1
as reports are not used in boot mode.

Signed-off-by: Vincent Palatin &lt;vpalatin@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: Drop dead code from usb_kbd.c</title>
<updated>2011-12-11T13:40:38+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-10-10T15:34:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=5a1219efe912855f0fc64471d31c1c392d8ad488'/>
<id>5a1219efe912855f0fc64471d31c1c392d8ad488</id>
<content type='text'>
Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: Rework usb_kbd.c</title>
<updated>2011-12-11T13:40:38+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-10-10T15:34:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9a8c72a6c42471d503d573988510e8ec71edddaa'/>
<id>9a8c72a6c42471d503d573988510e8ec71edddaa</id>
<content type='text'>
* Support dynamic allocation of devices
* Passing data via usb device privptr
* Reorder functions to avoid forward declarations
* Introduce generic polling mechanism to fix musb and ehci-hcd breakage
  due to using "extern new;" to access keyboard driver data!

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Support dynamic allocation of devices
* Passing data via usb device privptr
* Reorder functions to avoid forward declarations
* Introduce generic polling mechanism to fix musb and ehci-hcd breakage
  due to using "extern new;" to access keyboard driver data!

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: Add functionality to poll the USB keyboard via control EP</title>
<updated>2011-12-11T13:40:38+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-09-25T19:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=48c8073ec957b4b472835f4c7b6447f7e518e2f5'/>
<id>48c8073ec957b4b472835f4c7b6447f7e518e2f5</id>
<content type='text'>
This allows the keyboard to avoid requests via Interrupt Endpoint altogether and
run all requests via Control Endpoint. This uses the Get_Report request.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;

Rebased on current code.

Signed-off-by: Remy Bohmer &lt;linux@bohmer.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows the keyboard to avoid requests via Interrupt Endpoint altogether and
run all requests via Control Endpoint. This uses the Get_Report request.

Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;

Rebased on current code.

Signed-off-by: Remy Bohmer &lt;linux@bohmer.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>common/usb_kbd.c: fix bug introduced in commit 00b7d6e</title>
<updated>2011-12-09T11:09:35+00:00</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2011-12-09T11:09:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c4eba6ec5c58083b38340724c006294c7a4fe2eb'/>
<id>c4eba6ec5c58083b38340724c006294c7a4fe2eb</id>
<content type='text'>
During the rebase of commit 00b7d6e "USB: Squash checkpatch warnings
in usb_kbd.c" I missed a brace, resulting in a number of build errors.
Fix these.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
During the rebase of commit 00b7d6e "USB: Squash checkpatch warnings
in usb_kbd.c" I missed a brace, resulting in a number of build errors.
Fix these.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB: Squash checkpatch warnings in usb_kbd.c</title>
<updated>2011-12-09T09:28:26+00:00</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut@gmail.com</email>
</author>
<published>2011-10-10T05:34:25+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=00b7d6ecc99e0560253a9ab50f55410db8828166'/>
<id>00b7d6ecc99e0560253a9ab50f55410db8828166</id>
<content type='text'>
Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;

Rebased to current code.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Marek Vasut &lt;marek.vasut@gmail.com&gt;
Cc: Mike Frysinger &lt;vapier@gentoo.org&gt;
Cc: Remy Bohmer &lt;linux@bohmer.net&gt;
Cc: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;

Rebased to current code.

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>USB Consolidate descriptor definitions</title>
<updated>2009-12-20T11:47:37+00:00</updated>
<author>
<name>Tom Rix</name>
<email>Tom.Rix@windriver.com</email>
</author>
<published>2009-10-31T17:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=8f8bd565f35ff8a068727bfcf8975c50df082043'/>
<id>8f8bd565f35ff8a068727bfcf8975c50df082043</id>
<content type='text'>
The header files usb.h and usbdescriptors.h have the same nameed
structure definitions for

usb_config_descriptor
usb_interface_descriptor
usb_endpoint_descriptor
usb_device_descriptor
usb_string_descriptor

These are out right duplicates in usb.h

usb_device_descriptor
usb_string_descriptor

This one has extra unused elements

usb_endpoint_descriptor

	unsigned char	bRefresh
	unsigned char	bSynchAddress;

These in usb.h have extra elements at the end of the usb 2.0
specified descriptor and are used.

usb_config_descriptor
usb_interface_descriptor

The change is to consolidate the definition of the descriptors
to usbdescriptors.h.  The dublicates in usb.h are removed.
The extra element structure will have their name shorted by
removing the '_descriptor' suffix.

So

usb_config_descriptor -&gt; usb_config
usb_interface_descriptor -&gt; usb_interface

For these, the common descriptor elements are accessed now
by an element 'desc'.

As an example

-	if (iface-&gt;bInterfaceClass != USB_CLASS_HUB)
+	if (iface-&gt;desc.bInterfaceClass != USB_CLASS_HUB)

This has been compile tested on MAKEALL arm, ppc and mips.

Signed-off-by: Tom Rix &lt;Tom.Rix@windriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The header files usb.h and usbdescriptors.h have the same nameed
structure definitions for

usb_config_descriptor
usb_interface_descriptor
usb_endpoint_descriptor
usb_device_descriptor
usb_string_descriptor

These are out right duplicates in usb.h

usb_device_descriptor
usb_string_descriptor

This one has extra unused elements

usb_endpoint_descriptor

	unsigned char	bRefresh
	unsigned char	bSynchAddress;

These in usb.h have extra elements at the end of the usb 2.0
specified descriptor and are used.

usb_config_descriptor
usb_interface_descriptor

The change is to consolidate the definition of the descriptors
to usbdescriptors.h.  The dublicates in usb.h are removed.
The extra element structure will have their name shorted by
removing the '_descriptor' suffix.

So

usb_config_descriptor -&gt; usb_config
usb_interface_descriptor -&gt; usb_interface

For these, the common descriptor elements are accessed now
by an element 'desc'.

As an example

-	if (iface-&gt;bInterfaceClass != USB_CLASS_HUB)
+	if (iface-&gt;desc.bInterfaceClass != USB_CLASS_HUB)

This has been compile tested on MAKEALL arm, ppc and mips.

Signed-off-by: Tom Rix &lt;Tom.Rix@windriver.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
