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