summaryrefslogtreecommitdiffstats
path: root/drivers/media/rc/rc-ir-raw.c
diff options
context:
space:
mode:
authorAntti Seppälä <a.seppala@gmail.com>2015-03-31 14:48:09 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-05-14 14:33:00 -0300
commitcf257e288ad3a134d4bb809c542a3ae6c87ddfa3 (patch)
treeca7c8f447c79d30f4ce85993b9a27e0f6c8d8ee0 /drivers/media/rc/rc-ir-raw.c
parenta0466f15b4654cf1ac9e387d7c1a401eff494b4f (diff)
downloadblackbird-op-linux-cf257e288ad3a134d4bb809c542a3ae6c87ddfa3.tar.gz
blackbird-op-linux-cf257e288ad3a134d4bb809c542a3ae6c87ddfa3.zip
[media] rc: ir-rc6-decoder: Add encode capability
Add the capability to encode RC-6 and RC-6A scancodes as raw events. The protocol is chosen based on the specified protocol mask, and whether all the required bits are set in the scancode mask, and none of the unused bits are set in the scancode data. The Manchester modulation helper is used several times with various timings so that RC-6 header preamble, the header, header trailing bit and the data itself can be modulated correctly. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Cc: James Hogan <james@albanarts.com> Cc: David Härdeman <david@hardeman.nu> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/rc/rc-ir-raw.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud