mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 14:55:02 +07:00
995187bed3
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>
19 lines
338 B
Plaintext
19 lines
338 B
Plaintext
config IR_CORE
|
|
tristate
|
|
depends on INPUT
|
|
default INPUT
|
|
|
|
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
|