<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/include/media/ir-core.h, branch docs-fixes</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-fixes</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=docs-fixes'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2010-12-29T10:16:50+00:00</updated>
<entry>
<title>[media] rc: rename the remaining things to rc_core</title>
<updated>2010-12-29T10:16:50+00:00</updated>
<author>
<name>Mauro Carvalho Chehab</name>
<email>mchehab@redhat.com</email>
</author>
<published>2010-11-17T16:28:38+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6bda96447cef24fbf97a798b1ea664224d5fdc25'/>
<id>urn:sha1:6bda96447cef24fbf97a798b1ea664224d5fdc25</id>
<content type='text'>
The Remote Controller subsystem is meant to be used not only by Infra Red
but also for similar types of Remote Controllers. The core is not specific
to Infra Red. As such, rename:
	- ir-core.h to rc-core.h
	- IR_CORE to RC_CORE
	- namespace inside rc-core.c/rc-core.h

To be consistent with the other changes.

No functional change on this patch.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] ir-core: make struct rc_dev the primary interface</title>
<updated>2010-12-29T10:16:37+00:00</updated>
<author>
<name>David HÃ¤rdeman</name>
<email>david@hardeman.nu</email>
</author>
<published>2010-10-29T19:08:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d8b4b5822f51e2142b731b42c81e3f03eec475b2'/>
<id>urn:sha1:d8b4b5822f51e2142b731b42c81e3f03eec475b2</id>
<content type='text'>
This patch merges the ir_input_dev and ir_dev_props structs into a single
struct called rc_dev. The drivers and various functions in rc-core used
by the drivers are also changed to use rc_dev as the primary interface
when dealing with rc-core.

This means that the input_dev is abstracted away from the drivers which
is necessary if we ever want to support multiple input devs per rc device.

The new API is similar to what the input subsystem uses, i.e:
rc_device_alloc()
rc_device_free()
rc_device_register()
rc_device_unregister()

[mchehab@redhat.com: Fix compilation on mceusb and cx231xx, due to merge conflicts]
Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Tested-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] rc-core: Code cleanup after merging rc-sysfs and rc-map into rc-main</title>
<updated>2010-12-29T10:16:37+00:00</updated>
<author>
<name>David Härdeman</name>
<email>david@hardeman.nu</email>
</author>
<published>2010-11-10T14:04:19+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4c7b355df6e7f05304e05f6b7a286e59a5f1cc54'/>
<id>urn:sha1:4c7b355df6e7f05304e05f6b7a286e59a5f1cc54</id>
<content type='text'>
[mchehab@redhat.com: this patch were originally bundled with some renaming
stuff and with the file merges, as seen at:
https://patchwork.kernel.org/patch/291092/.

Instead of using the original approach, I wrote the rename patches and the
code merge as separate changes, then applied the difference on this patch.
This way, it is easier to see the real changes at the code, and will be easier
to merge upstream, especially if some conflict rises on the renaming patches]

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Tested-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] ir-core: more cleanups of ir-functions.c</title>
<updated>2010-12-29T10:16:36+00:00</updated>
<author>
<name>David HÃ¤rdeman</name>
<email>david@hardeman.nu</email>
</author>
<published>2010-10-29T19:08:12+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=3ffea4988be3f3fa65f2104ba31eff2b5e0e82a0'/>
<id>urn:sha1:3ffea4988be3f3fa65f2104ba31eff2b5e0e82a0</id>
<content type='text'>
cx88 only depends on VIDEO_IR because it needs ir_extract_bits().
Move that function to ir-core.h and make it inline.

Lots of drivers had dependencies on VIDEO_IR when they really
wanted IR_CORE.

The only remaining drivers to depend on VIDEO_IR are bt8xx and
saa7134 (ir_rc5_timer_end is the only function exported by
ir-functions).

Rename VIDEO_IR -&gt; IR_LEGACY to give a hint to anyone writing or
converting drivers to IR_CORE that they do not want a dependency
on IR_LEGACY.

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] ir-core: remove remaining users of the ir-functions keyhandlers</title>
<updated>2010-12-29T10:16:35+00:00</updated>
<author>
<name>David HÃ¤rdeman</name>
<email>david@hardeman.nu</email>
</author>
<published>2010-10-29T19:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=62c6503125389763a74911408d984c5dd09eeb97'/>
<id>urn:sha1:62c6503125389763a74911408d984c5dd09eeb97</id>
<content type='text'>
This patch removes the remaining usages of the ir_input_nokey() and
ir_input_keydown() functions provided by drivers/media/IR/ir-functions.c
by using the corresponding functionality in ir-core instead.

Signed-off-by: David Härdeman &lt;david@hardeman.nu&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>[media] IR: extend ir_raw_event and do refactoring</title>
<updated>2010-10-21T12:59:47+00:00</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-10-16T22:56:28+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4651918a4afdd49bdea21d2f919b189ef17a6399'/>
<id>urn:sha1:4651918a4afdd49bdea21d2f919b189ef17a6399</id>
<content type='text'>
Add new event types for timeout &amp; carrier report
Move timeout handling from ir_raw_event_store_with_filter to
ir-lirc-codec, where it is really needed.
Now lirc bridge ensures proper gap handling.
Extend lirc bridge for carrier &amp; timeout reports

Note: all new ir_raw_event variables now should be initialized
like that: DEFINE_IR_RAW_EVENT(ev);

To clean an existing event, use init_ir_raw_event(&amp;ev);

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: IR: export ir_keyup so imon driver can use it directly</title>
<updated>2010-10-21T03:06:07+00:00</updated>
<author>
<name>Jarod Wilson</name>
<email>jarod@redhat.com</email>
</author>
<published>2010-09-15T18:31:12+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=ee08940531193ccce680ca3c2f17ecc497c4bb67'/>
<id>urn:sha1:ee08940531193ccce680ca3c2f17ecc497c4bb67</id>
<content type='text'>
The imon driver currently reimplements its own version of ir_keyup
(along with key release timer functionality also already present in the
core IR code). A follow-up imon patch will make use of ir_keyup and the
IR stack's key release code.

Trivial extraction from David Härdeman's pending rc-core merge and
device interface abstraction patchset to facilitate merging a patch
based on his imon input dev split patch ahead of the larger churn, which
is slated for post-2.6.37-rc1 (after Dmitry's large keycode patches are
merged in mainline).

Signed-off-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: IR: extend interfaces to support more device settings</title>
<updated>2010-08-09T02:43:00+00:00</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-07-31T14:59:23+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=e589333f346b58f8da5bb8152e1219c52d375ccc'/>
<id>urn:sha1:e589333f346b58f8da5bb8152e1219c52d375ccc</id>
<content type='text'>
LIRC: add new IOCTL that enables learning mode (wide band receiver)
Still missing features: carrier report &amp; timeout reports.
Will need to pack these into ir_raw_event

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: IR: add helper function for hardware with small o/b buffer</title>
<updated>2010-08-09T02:43:00+00:00</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-07-31T14:59:22+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4a702ebf61120906696f8366dd2be0653b1643e3'/>
<id>urn:sha1:4a702ebf61120906696f8366dd2be0653b1643e3</id>
<content type='text'>
Some ir input devices have small buffer, and interrupt the host
each time it is full (or half full)

Add a helper that automaticly handles timeouts, and also
automaticly merges samples of same time (space-space)
Such samples might be placed by hardware because size of
sample in the buffer is small (a byte for example).

Also remove constness from ir_dev_props, because it now contains timeout
settings that driver might want to change

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>V4L/DVB: IR: Allow not to compile keymaps in</title>
<updated>2010-08-09T02:43:00+00:00</updated>
<author>
<name>Maxim Levitsky</name>
<email>maximlevitsky@gmail.com</email>
</author>
<published>2010-07-31T14:59:21+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=b378f43fe9466e7712a8b16be64795ffca3a937e'/>
<id>urn:sha1:b378f43fe9466e7712a8b16be64795ffca3a937e</id>
<content type='text'>
Currently, ir device registration fails if keymap requested by driver is not found.
Fix that by always compiling in the empty keymap, and using it as a failback.

Signed-off-by: Maxim Levitsky &lt;maximlevitsky@gmail.com&gt;
Acked-by: Jarod Wilson &lt;jarod@redhat.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
