summaryrefslogtreecommitdiffstats
path: root/drivers/media/IR/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab2010-03-25 00:47:53 +0100
committerMauro Carvalho Chehab2010-05-18 05:52:59 +0200
commit995187bed30c0545e8da88372e9807da0a85911e (patch)
treee3e28eff10f8f01f1bfd7ff865a29076bf6700dc /drivers/media/IR/Kconfig
parentV4L/DVB: saa7134: don't wait too much to generate an IR event on raw_decode (diff)
downloadkernel-qcow2-linux-995187bed30c0545e8da88372e9807da0a85911e.tar.gz
kernel-qcow2-linux-995187bed30c0545e8da88372e9807da0a85911e.tar.xz
kernel-qcow2-linux-995187bed30c0545e8da88372e9807da0a85911e.zip
V4L/DVB: ir-core: dynamically load the compiled IR protocols
Instead of hardcoding the protocols into ir-core, add a register interface for the IR protocol decoders, and convert ir-nec-decoder into a client of ir-core. With this approach, it is possible to dynamically load the needed IR protocols, and to add a RAW IR interface module, registered as one IR raw protocol decoder. This patch opens a way to register a lirc_dev interface to work as an userspace IR protocol decoder. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/IR/Kconfig')
-rw-r--r--drivers/media/IR/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/IR/Kconfig b/drivers/media/IR/Kconfig
index 4dde7d180a32..de410d46ae26 100644
--- a/drivers/media/IR/Kconfig
+++ b/drivers/media/IR/Kconfig
@@ -7,3 +7,12 @@ config VIDEO_IR
tristate
depends on IR_CORE
default IR_CORE
+
+config IR_NEC_DECODER
+ tristate "Enable IR raw decoder for NEC protocol"
+ depends on IR_CORE
+ default y
+
+ ---help---
+ Enable this option if you have IR with NEC protocol, and
+ if the IR is decoded in software