]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blame - drivers/media/rc/Kconfig
treewide: Add SPDX license identifier - Makefile/Kconfig
[mirror_ubuntu-kernels.git] / drivers / media / rc / Kconfig
CommitLineData
ec8f24b7 1# SPDX-License-Identifier: GPL-2.0-only
b9e1486e
SY
2
3menuconfig RC_CORE
4 tristate "Remote Controller support"
e27d3811 5 depends on INPUT
b60a5b8d 6 help
b9e1486e
SY
7 Enable support for Remote Controllers on Linux. This is
8 needed in order to support several video capture adapters,
9 standalone IR receivers/transmitters, and RF receivers.
10
11 Enable this option if you have a video capture board even
12 if you don't need IR, as otherwise, you may not be able to
13 compile the driver for your adapter.
cfec93f7 14
b9e1486e
SY
15 Say Y when you have a TV or an IR device.
16
17if RC_CORE
c455f5c8
MCC
18source "drivers/media/rc/keymaps/Kconfig"
19
4a62a5ab 20config LIRC
a60d64b1 21 bool "LIRC user interface"
b4c184e5 22 depends on RC_CORE
b60a5b8d 23 help
a60d64b1
SY
24 Enable this option to enable the Linux Infrared Remote
25 Control user interface (e.g. /dev/lirc*). This interface
26 passes raw IR to and from userspace, which is needed for
27 IR transmitting (aka "blasting") and for the lirc daemon.
4a62a5ab 28
f4364dcf
SY
29config BPF_LIRC_MODE2
30 bool "Support for eBPF programs attached to lirc devices"
31 depends on BPF_SYSCALL
32 depends on RC_CORE=y
33 depends on LIRC
34 help
35 Allow attaching eBPF programs to a lirc device using the bpf(2)
36 syscall command BPF_PROG_ATTACH. This is supported for raw IR
37 receivers.
38
39 These eBPF programs can be used to decode IR into scancodes, for
40 IR protocols not supported by the kernel decoders.
41
a60d64b1 42menuconfig RC_DECODERS
4a3fad70 43 bool "Remote controller decoders"
94f74767 44 depends on RC_CORE
94f74767 45
a60d64b1 46if RC_DECODERS
995187be 47config IR_NEC_DECODER
897c7b3b 48 tristate "Enable IR raw decoder for the NEC protocol"
6bda9644 49 depends on RC_CORE
58aac2bf 50 select BITREVERSE
995187be 51
b60a5b8d 52 help
995187be
MCC
53 Enable this option if you have IR with NEC protocol, and
54 if the IR is decoded in software
db1423a6
MCC
55
56config IR_RC5_DECODER
897c7b3b 57 tristate "Enable IR raw decoder for the RC-5 protocol"
6bda9644 58 depends on RC_CORE
033608c1 59 select BITREVERSE
db1423a6 60
b60a5b8d 61 help
db1423a6
MCC
62 Enable this option if you have IR with RC-5 protocol, and
63 if the IR is decoded in software
784a4931
DH
64
65config IR_RC6_DECODER
66 tristate "Enable IR raw decoder for the RC6 protocol"
6bda9644 67 depends on RC_CORE
2135436a 68 select BITREVERSE
784a4931 69
b60a5b8d 70 help
784a4931
DH
71 Enable this option if you have an infrared remote control which
72 uses the RC6 protocol, and you need software decoding support.
21677cfc 73
bf670f64
DH
74config IR_JVC_DECODER
75 tristate "Enable IR raw decoder for the JVC protocol"
6bda9644 76 depends on RC_CORE
f9839da0 77 select BITREVERSE
bf670f64 78
b60a5b8d 79 help
bf670f64
DH
80 Enable this option if you have an infrared remote control which
81 uses the JVC protocol, and you need software decoding support.
82
3fe29c89
DH
83config IR_SONY_DECODER
84 tristate "Enable IR raw decoder for the Sony protocol"
6bda9644 85 depends on RC_CORE
b66d2086 86 select BITREVERSE
3fe29c89 87
b60a5b8d 88 help
3fe29c89
DH
89 Enable this option if you have an infrared remote control which
90 uses the Sony protocol, and you need software decoding support.
91
b32e7243
MCC
92config IR_SANYO_DECODER
93 tristate "Enable IR raw decoder for the Sanyo protocol"
94 depends on RC_CORE
b32e7243 95
b60a5b8d 96 help
b32e7243
MCC
97 Enable this option if you have an infrared remote control which
98 uses the Sanyo protocol (Sanyo, Aiwa, Chinon remotes),
99 and you need software decoding support.
100
1d184b0b
JH
101config IR_SHARP_DECODER
102 tristate "Enable IR raw decoder for the Sharp protocol"
103 depends on RC_CORE
1d184b0b 104
b60a5b8d 105 help
1d184b0b 106 Enable this option if you have an infrared remote control which
1b0621af
HK
107 uses the Sharp protocol (Sharp, Denon), and you need software
108 decoding support.
1d184b0b 109
f5f2cc64
JW
110config IR_MCE_KBD_DECODER
111 tristate "Enable IR raw decoder for the MCE keyboard/mouse protocol"
112 depends on RC_CORE
113 select BITREVERSE
f5f2cc64 114
b60a5b8d 115 help
f5f2cc64
JW
116 Enable this option if you have a Microsoft Remote Keyboard for
117 Windows Media Center Edition, which you would like to use with
118 a raw IR receiver in your system.
1dee9b59
MM
119
120config IR_XMP_DECODER
121 tristate "Enable IR raw decoder for the XMP protocol"
122 depends on RC_CORE
123 select BITREVERSE
1dee9b59 124
b60a5b8d 125 help
1dee9b59
MM
126 Enable this option if you have IR with XMP protocol, and
127 if the IR is decoded in software
447dcc0c
SY
128
129config IR_IMON_DECODER
130 tristate "Enable IR raw decoder for the iMON protocol"
131 depends on RC_CORE
b60a5b8d 132 help
447dcc0c
SY
133 Enable this option if you have iMON PAD or Antec Veris infrared
134 remote control and you would like to use it with a raw IR
135 receiver, or if you wish to use an encoder to transmit this IR.
136
721074b0
PL
137config IR_RCMM_DECODER
138 tristate "Enable IR raw decoder for the RC-MM protocol"
139 depends on RC_CORE
140 help
141 Enable this option when you have IR with RC-MM protocol, and
142 you need the software decoder. The driver supports 12,
143 24 and 32 bits RC-MM variants. You can enable or disable the
144 different modes using the following RC protocol keywords:
145 'rc-mm-12', 'rc-mm-24' and 'rc-mm-32'.
146
147 To compile this driver as a module, choose M here: the module
148 will be called ir-rcmm-decoder.
149
c455f5c8 150endif #RC_DECODERS
f5f2cc64 151
b4c184e5
MCC
152menuconfig RC_DEVICES
153 bool "Remote Controller devices"
154 depends on RC_CORE
155
156if RC_DEVICES
157
9688efda 158config RC_ATI_REMOTE
3a7a6237 159 tristate "ATI / X10 based USB RF remote controls"
9688efda 160 depends on USB_ARCH_HAS_HCD
c34516e5 161 depends on RC_CORE
9688efda
AH
162 select USB
163 help
3a7a6237 164 Say Y here if you want to use an X10 based USB remote control.
9688efda 165 These are RF remotes with USB receivers.
3a7a6237
AH
166
167 Such devices include the ATI remote that comes with many of ATI's
168 All-In-Wonder video cards, the X10 "Lola" remote, NVIDIA RF remote,
169 Medion RF remote, and SnapStream FireFly remote.
170
9688efda
AH
171 This driver provides mouse pointer, left and right mouse buttons,
172 and maps all the other remote buttons to keypress events.
173
174 To compile this driver as a module, choose M here: the module will be
175 called ati_remote.
176
d322bf4a 177config IR_ENE
11b64d31 178 tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)"
6ba0b22d 179 depends on PNP || COMPILE_TEST
6bda9644 180 depends on RC_CORE
b60a5b8d 181 help
d322bf4a 182 Say Y here to enable support for integrated infrared receiver
11b64d31 183 /transceiver made by ENE.
d322bf4a
JW
184
185 You can see if you have it by looking at lspnp output.
11b64d31 186 Output should include ENE0100 ENE0200 or something similar.
d322bf4a
JW
187
188 To compile this driver as a module, choose M here: the
189 module will be called ene_ir.
190
a84fcdaa
GY
191config IR_HIX5HD2
192 tristate "Hisilicon hix5hd2 IR remote control"
193 depends on RC_CORE
a840f3c7 194 depends on OF || COMPILE_TEST
a84fcdaa 195 help
842e39c0
DH
196 Say Y here if you want to use hisilicon hix5hd2 remote control.
197 To compile this driver as a module, choose M here: the module will be
198 called ir-hix5hd2.
a84fcdaa 199
842e39c0 200 If you're not sure, select N here
a84fcdaa 201
21677cfc
JW
202config IR_IMON
203 tristate "SoundGraph iMON Receiver and Display"
204 depends on USB_ARCH_HAS_HCD
6bda9644 205 depends on RC_CORE
21677cfc 206 select USB
b60a5b8d 207 help
21677cfc
JW
208 Say Y here if you want to use a SoundGraph iMON (aka Antec Veris)
209 IR Receiver and/or LCD/VFD/VGA display.
210
211 To compile this driver as a module, choose M here: the
212 module will be called imon.
66e89522 213
8a4e8f8d
SY
214config IR_IMON_RAW
215 tristate "SoundGraph iMON Receiver (early raw IR models)"
216 depends on USB_ARCH_HAS_HCD
217 depends on RC_CORE
218 select USB
b60a5b8d 219 help
8a4e8f8d
SY
220 Say Y here if you want to use a SoundGraph iMON IR Receiver,
221 early raw models.
222
223 To compile this driver as a module, choose M here: the
224 module will be called imon_raw.
225
66e89522
JW
226config IR_MCEUSB
227 tristate "Windows Media Center Ed. eHome Infrared Transceiver"
228 depends on USB_ARCH_HAS_HCD
6bda9644 229 depends on RC_CORE
66e89522 230 select USB
b60a5b8d 231 help
66e89522
JW
232 Say Y here if you want to use a Windows Media Center Edition
233 eHome Infrared Transceiver.
234
235 To compile this driver as a module, choose M here: the
236 module will be called mceusb.
2c1101d5 237
620a32bb
JGS
238config IR_ITE_CIR
239 tristate "ITE Tech Inc. IT8712/IT8512 Consumer Infrared Transceiver"
6ba0b22d 240 depends on PNP || COMPILE_TEST
620a32bb 241 depends on RC_CORE
b60a5b8d 242 help
620a32bb
JGS
243 Say Y here to enable support for integrated infrared receivers
244 /transceivers made by ITE Tech Inc. These are found in
245 several ASUS devices, like the ASUS Digimatrix or the ASUS
246 EEEBox 1501U.
247
248 To compile this driver as a module, choose M here: the
249 module will be called ite-cir.
250
9bdc79ea
JW
251config IR_FINTEK
252 tristate "Fintek Consumer Infrared Transceiver"
6ba0b22d 253 depends on PNP || COMPILE_TEST
9bdc79ea 254 depends on RC_CORE
b60a5b8d 255 help
9bdc79ea 256 Say Y here to enable support for integrated infrared receiver
04ad3011 257 /transceiver made by Fintek. This chip is found on assorted
9bdc79ea
JW
258 Jetway motherboards (and of course, possibly others).
259
260 To compile this driver as a module, choose M here: the
261 module will be called fintek-cir.
262
12ddbadf
BG
263config IR_MESON
264 tristate "Amlogic Meson IR remote receiver"
265 depends on RC_CORE
266 depends on ARCH_MESON || COMPILE_TEST
b60a5b8d 267 help
12ddbadf
BG
268 Say Y if you want to use the IR remote receiver available
269 on Amlogic Meson SoCs.
270
271 To compile this driver as a module, choose M here: the
272 module will be called meson-ir.
273
6691e7b9
SW
274config IR_MTK
275 tristate "Mediatek IR remote receiver"
276 depends on RC_CORE
277 depends on ARCH_MEDIATEK || COMPILE_TEST
b60a5b8d 278 help
6691e7b9
SW
279 Say Y if you want to use the IR remote receiver available
280 on Mediatek SoCs.
281
282 To compile this driver as a module, choose M here: the
283 module will be called mtk-cir.
284
d322bf4a
JW
285config IR_NUVOTON
286 tristate "Nuvoton w836x7hg Consumer Infrared Transceiver"
6ba0b22d 287 depends on PNP || COMPILE_TEST
6bda9644 288 depends on RC_CORE
b60a5b8d 289 help
931e39a1 290 Say Y here to enable support for integrated infrared receiver
04ad3011 291 /transceiver made by Nuvoton (formerly Winbond). This chip is
d322bf4a
JW
292 found in the ASRock ION 330HT, as well as assorted Intel
293 DP55-series motherboards (and of course, possibly others).
931e39a1
ML
294
295 To compile this driver as a module, choose M here: the
d322bf4a 296 module will be called nuvoton-cir.
931e39a1 297
2154be65
JW
298config IR_REDRAT3
299 tristate "RedRat3 IR Transceiver"
300 depends on USB_ARCH_HAS_HCD
301 depends on RC_CORE
bf139726
SY
302 select NEW_LEDS
303 select LEDS_CLASS
2154be65 304 select USB
b60a5b8d 305 help
2154be65
JW
306 Say Y here if you want to use a RedRat3 Infrared Transceiver.
307
308 To compile this driver as a module, choose M here: the
309 module will be called redrat3.
310
fe052da4
AS
311config IR_SPI
312 tristate "SPI connected IR LED"
313 depends on SPI && LIRC
950db1a8 314 depends on OF || COMPILE_TEST
b60a5b8d 315 help
fe052da4
AS
316 Say Y if you want to use an IR LED connected through SPI bus.
317
318 To compile this driver as a module, choose M here: the module will be
319 called ir-spi.
320
2c1101d5
JW
321config IR_STREAMZAP
322 tristate "Streamzap PC Remote IR Receiver"
323 depends on USB_ARCH_HAS_HCD
6bda9644 324 depends on RC_CORE
2c1101d5 325 select USB
b60a5b8d 326 help
2c1101d5
JW
327 Say Y here if you want to use a Streamzap PC Remote
328 Infrared Receiver.
329
330 To compile this driver as a module, choose M here: the
331 module will be called streamzap.
ade321c5 332
5b2e303f 333config IR_WINBOND_CIR
baf075ec 334 tristate "Winbond IR remote control"
6ba0b22d 335 depends on (X86 && PNP) || COMPILE_TEST
6bda9644 336 depends on RC_CORE
baf075ec
MCC
337 select NEW_LEDS
338 select LEDS_CLASS
baf075ec 339 select BITREVERSE
b60a5b8d 340 help
baf075ec
MCC
341 Say Y here if you want to use the IR remote functionality found
342 in some Winbond SuperI/O chips. Currently only the WPCD376I
343 chip is supported (included in some Intel Media series
5b2e303f
DH
344 motherboards).
345
baf075ec 346 To compile this driver as a module, choose M here: the module will
5b2e303f
DH
347 be called winbond_cir.
348
b1c97193
SY
349config IR_IGORPLUGUSB
350 tristate "IgorPlug-USB IR Receiver"
351 depends on USB_ARCH_HAS_HCD
352 depends on RC_CORE
353 select USB
b60a5b8d 354 help
b1c97193
SY
355 Say Y here if you want to use the IgorPlug-USB IR Receiver by
356 Igor Cesko. This device is included on the Fit-PC2.
357
358 Note that this device can only record bursts of 36 IR pulses and
359 spaces, which is not enough for the NEC, Sanyo and RC-6 protocol.
360
361 To compile this driver as a module, choose M here: the module will
362 be called igorplugusb.
363
26ff6313
SY
364config IR_IGUANA
365 tristate "IguanaWorks USB IR Transceiver"
ac6eb458 366 depends on USB_ARCH_HAS_HCD
26ff6313
SY
367 depends on RC_CORE
368 select USB
b60a5b8d 369 help
0797b480
SY
370 Say Y here if you want to use the IguanaWorks USB IR Transceiver.
371 Both infrared receive and send are supported. If you want to
372 change the ID or the pin config, use the user space driver from
373 IguanaWorks.
374
375 Only firmware 0x0205 and later is supported.
26ff6313
SY
376
377 To compile this driver as a module, choose M here: the module will
378 be called iguanair.
379
0938069f
SY
380config IR_TTUSBIR
381 tristate "TechnoTrend USB IR Receiver"
3ab2a83e 382 depends on USB_ARCH_HAS_HCD
0938069f
SY
383 depends on RC_CORE
384 select USB
385 select NEW_LEDS
386 select LEDS_CLASS
b60a5b8d 387 help
0938069f
SY
388 Say Y here if you want to use the TechnoTrend USB IR Receiver. The
389 driver can control the led.
390
391 To compile this driver as a module, choose M here: the module will
392 be called ttusbir.
393
c332e847 394config IR_RX51
2ea4b442 395 tristate "Nokia N900 IR transmitter diode"
a92def1b 396 depends on (OMAP_DM_TIMER && PWM_OMAP_DMTIMER && ARCH_OMAP2PLUS || COMPILE_TEST) && RC_CORE
b60a5b8d 397 help
c332e847
TK
398 Say Y or M here if you want to enable support for the IR
399 transmitter diode built in the Nokia N900 (RX51) device.
400
362b29ba 401 The driver uses omap DM timers for generating the carrier
c332e847
TK
402 wave and pulses.
403
54b29120
JH
404source "drivers/media/rc/img-ir/Kconfig"
405
801c73c0
DH
406config RC_LOOPBACK
407 tristate "Remote Control Loopback Driver"
408 depends on RC_CORE
b60a5b8d 409 help
801c73c0
DH
410 Say Y here if you want support for the remote control loopback
411 driver which allows TX data to be sent back as RX data.
412 This is mostly useful for debugging purposes.
413
414 If you're not sure, select N here.
415
416 To compile this driver as a module, choose M here: the module will
417 be called rc_loopback.
418
fd0f6851
RK
419config IR_GPIO_CIR
420 tristate "GPIO IR remote control"
421 depends on RC_CORE
c1301077 422 depends on (OF && GPIOLIB) || COMPILE_TEST
b60a5b8d 423 help
fd0f6851
RK
424 Say Y if you want to use GPIO based IR Receiver.
425
426 To compile this driver as a module, choose M here: the module will
427 be called gpio-ir-recv.
428
24d79ebc
SY
429config IR_GPIO_TX
430 tristate "GPIO IR Bit Banging Transmitter"
431 depends on RC_CORE
432 depends on LIRC
52888793 433 depends on (OF && GPIOLIB) || COMPILE_TEST
b60a5b8d 434 help
24d79ebc
SY
435 Say Y if you want to a GPIO based IR transmitter. This is a
436 bit banging driver.
437
438 To compile this driver as a module, choose M here: the module will
439 be called gpio-ir-tx.
440
db3df876
SY
441config IR_PWM_TX
442 tristate "PWM IR transmitter"
443 depends on RC_CORE
444 depends on LIRC
445 depends on PWM
2d726aaa 446 depends on OF || COMPILE_TEST
b60a5b8d 447 help
db3df876
SY
448 Say Y if you want to use a PWM based IR transmitter. This is
449 more power efficient than the bit banging gpio driver.
450
451 To compile this driver as a module, choose M here: the module will
452 be called pwm-ir-tx.
453
80f93c7b
SK
454config RC_ST
455 tristate "ST remote control receiver"
7155043c
MCC
456 depends on RC_CORE
457 depends on ARCH_STI || COMPILE_TEST
b60a5b8d 458 help
cfcffe39
HV
459 Say Y here if you want support for ST remote control driver
460 which allows both IR and UHF RX.
461 The driver passes raw pulse and space information to the LIRC decoder.
80f93c7b 462
cfcffe39 463 If you're not sure, select N here.
80f93c7b 464
b4e3e59f 465config IR_SUNXI
cfcffe39
HV
466 tristate "SUNXI IR remote control"
467 depends on RC_CORE
468 depends on ARCH_SUNXI || COMPILE_TEST
b60a5b8d 469 help
cfcffe39
HV
470 Say Y if you want to use sunXi internal IR Controller
471
472 To compile this driver as a module, choose M here: the module will
473 be called sunxi-ir.
b4e3e59f 474
fa5dc29c
SY
475config IR_SERIAL
476 tristate "Homebrew Serial Port Receiver"
477 depends on RC_CORE
b60a5b8d 478 help
fa5dc29c
SY
479 Say Y if you want to use Homebrew Serial Port Receivers and
480 Transceivers.
481
482 To compile this driver as a module, choose M here: the module will
483 be called serial-ir.
484
485config IR_SERIAL_TRANSMITTER
486 bool "Serial Port Transmitter"
fa5dc29c 487 depends on IR_SERIAL
b60a5b8d 488 help
fa5dc29c
SY
489 Serial Port Transmitter support
490
e6626716 491config IR_SIR
4a3fad70
MCC
492 tristate "Built-in SIR IrDA port"
493 depends on RC_CORE
b60a5b8d 494 help
e6626716
SY
495 Say Y if you want to use a IrDA SIR port Transceivers.
496
497 To compile this driver as a module, choose M here: the module will
498 be called sir-ir.
499
d3455273
MR
500config IR_TANGO
501 tristate "Sigma Designs SMP86xx IR decoder"
502 depends on RC_CORE
503 depends on ARCH_TANGO || COMPILE_TEST
b60a5b8d 504 help
d3455273
MR
505 Adds support for the HW IR decoder embedded on Sigma Designs
506 Tango-based systems (SMP86xx, SMP87xx).
507 The HW decoder supports NEC, RC-5, RC-6 IR protocols.
508 When compiled as a module, look for tango-ir.
509
02d32bda
BV
510config RC_XBOX_DVD
511 tristate "Xbox DVD Movie Playback Kit"
512 depends on RC_CORE
513 depends on USB_ARCH_HAS_HCD
514 select USB
515 help
516 Say Y here if you want to use the Xbox DVD Movie Playback Kit.
517 These are IR remotes with USB receivers for the Original Xbox (2001).
518
519 To compile this driver as a module, choose M here: the module will be
520 called xbox_remote.
521
b429996c
SG
522config IR_ZX
523 tristate "ZTE ZX IR remote control"
524 depends on RC_CORE
525 depends on ARCH_ZX || COMPILE_TEST
b60a5b8d 526 help
b429996c
SG
527 Say Y if you want to use the IR remote control available
528 on ZTE ZX family SoCs.
529
530 To compile this driver as a module, choose M here: the
531 module will be called zx-irdec.
532
b4c184e5 533endif #RC_DEVICES
b9e1486e
SY
534
535endif #RC_CORE