All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/7] rc: Add IR encode based wakeup filtering
@ 2015-03-31 17:48 Antti Seppälä
  2015-03-31 17:48 ` [PATCH v3 1/7] rc: rc-ir-raw: Add scancode encoder callback Antti Seppälä
                   ` (6 more replies)
  0 siblings, 7 replies; 29+ messages in thread
From: Antti Seppälä @ 2015-03-31 17:48 UTC (permalink / raw)
  To: linux-media
  Cc: Mauro Carvalho Chehab, Antti Seppälä,
	James Hogan, David Härdeman

Hello.

I'd like to revive efforts and discussion on adding IR encoding support to
rc-core.

Here is an updated patchset which adds support for modulating RC-5 scancodes
into raw IR events which can be written to hardware such as nuvoton-cir to
perform system wakeup with an IR pulse.

The previous patchset was posted by James Hogan roughly a year ago. I've
now updated the patchset to apply cleanly against latest linux-media tree.

For simplicity I've also dropped support for nec scancode encoding as the
nec format turned out to be ambiquous between variants. I'm hoping the nec
scancodes can be re-engineered and support for them added back later once the
initial encoding groundwork is in place. The remaining RC-5(X,SZ) support
should work in an unambiquous manner. I've also added an encoder for RC-6(A)
protocols as the encoding is very similar to RC-5.

Changes since v2:
 - Ported to apply against latest media-tree
 - Fixed new checkpatch.pl warnings
 - Dropped nec scancode support for now
 - Merged separate encoders for rc-5 and rc5-sz into single encoder
 - Added rc-6 encoder

Cc: James Hogan <james@albanarts.com>
Cc: David Härdeman <david@hardeman.nu>

Antti Seppälä (3):
  rc: rc-ir-raw: Add Manchester encoder (phase encoder) helper
  rc: ir-rc6-decoder: Add encode capability
  rc: nuvoton-cir: Add support for writing wakeup samples via sysfs
    filter callback

James Hogan (4):
  rc: rc-ir-raw: Add scancode encoder callback
  rc: ir-rc5-decoder: Add encode capability
  rc: rc-core: Add support for encode_wakeup drivers
  rc: rc-loopback: Add loopback of filter scancodes

 drivers/media/rc/ir-rc5-decoder.c | 116 +++++++++++++++++++++++++++++++
 drivers/media/rc/ir-rc6-decoder.c | 121 +++++++++++++++++++++++++++++++++
 drivers/media/rc/nuvoton-cir.c    | 127 ++++++++++++++++++++++++++++++++++
 drivers/media/rc/nuvoton-cir.h    |   1 +
 drivers/media/rc/rc-core-priv.h   |  36 ++++++++++
 drivers/media/rc/rc-ir-raw.c      | 139 ++++++++++++++++++++++++++++++++++++++
 drivers/media/rc/rc-loopback.c    |  36 ++++++++++
 drivers/media/rc/rc-main.c        |   7 +-
 include/media/rc-core.h           |   7 ++
 9 files changed, 589 insertions(+), 1 deletion(-)

-- 
2.0.5


^ permalink raw reply	[flat|nested] 29+ messages in thread

end of thread, other threads:[~2015-07-17 13:15 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-31 17:48 [PATCH v3 0/7] rc: Add IR encode based wakeup filtering Antti Seppälä
2015-03-31 17:48 ` [PATCH v3 1/7] rc: rc-ir-raw: Add scancode encoder callback Antti Seppälä
2015-05-19 20:38   ` David Härdeman
2015-05-20 16:46     ` Antti Seppälä
2015-05-20 18:29       ` David Härdeman
2015-05-20 19:26         ` Antti Seppälä
2015-05-20 20:45           ` David Härdeman
2015-05-21  7:53             ` Antti Seppälä
2015-05-21  9:14               ` David Härdeman
2015-05-21 11:51                 ` Antti Seppälä
2015-05-21 12:30                   ` David Härdeman
2015-05-21 14:22                     ` Antti Seppälä
2015-05-21 19:40                       ` David Härdeman
2015-05-22  5:27                         ` Antti Seppälä
2015-05-22 10:33                           ` David Härdeman
2015-05-23 11:34                             ` Antti Seppälä
2015-06-13 23:44                               ` David Härdeman
2015-06-17 22:59                                 ` Antti Seppälä
2015-06-18 21:23                                 ` Mauro Carvalho Chehab
2015-06-23 20:45                                   ` David Härdeman
2015-06-29 19:05                                     ` David Härdeman
2015-07-13 17:47                                       ` David Härdeman
2015-07-17 13:15                                         ` Mauro Carvalho Chehab
2015-03-31 17:48 ` [PATCH v3 2/7] rc: rc-ir-raw: Add Manchester encoder (phase encoder) helper Antti Seppälä
2015-03-31 17:48 ` [PATCH v3 3/7] rc: ir-rc5-decoder: Add encode capability Antti Seppälä
2015-03-31 17:48 ` [PATCH v3 4/7] rc: ir-rc6-decoder: " Antti Seppälä
2015-03-31 17:48 ` [PATCH v3 5/7] rc: rc-core: Add support for encode_wakeup drivers Antti Seppälä
2015-03-31 17:48 ` [PATCH v3 6/7] rc: rc-loopback: Add loopback of filter scancodes Antti Seppälä
2015-03-31 17:48 ` [PATCH v3 7/7] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback Antti Seppälä

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.