blob: d9ce8ff55d0c4ba7b49cf120c263b007a013bff2 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001
2menuconfig RC_CORE
3 tristate "Remote Controller support"
4 depends on INPUT
5 default y
6 ---help---
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.
14
15 Say Y when you have a TV or an IR device.
16
17if RC_CORE
18source "drivers/media/rc/keymaps/Kconfig"
19
20menuconfig RC_DECODERS
21 bool "Remote controller decoders"
22 depends on RC_CORE
23 default y
24
25if RC_DECODERS
26config LIRC
27 tristate "LIRC interface driver"
28 depends on RC_CORE
29
30 ---help---
31 Enable this option to build the Linux Infrared Remote
32 Control (LIRC) core device interface driver. The LIRC
33 interface passes raw IR to and from userspace, where the
34 LIRC daemon handles protocol decoding for IR reception and
35 encoding for IR transmitting (aka "blasting").
36
37config IR_LIRC_CODEC
38 tristate "Enable IR to LIRC bridge"
39 depends on RC_CORE
40 depends on LIRC
41 default y
42
43 ---help---
44 Enable this option to pass raw IR to and from userspace via
45 the LIRC interface.
46
47
48config IR_NEC_DECODER
49 tristate "Enable IR raw decoder for the NEC protocol"
50 depends on RC_CORE
51 select BITREVERSE
52 default y
53
54 ---help---
55 Enable this option if you have IR with NEC protocol, and
56 if the IR is decoded in software
57
58config IR_RC5_DECODER
59 tristate "Enable IR raw decoder for the RC-5 protocol"
60 depends on RC_CORE
61 select BITREVERSE
62 default y
63
64 ---help---
65 Enable this option if you have IR with RC-5 protocol, and
66 if the IR is decoded in software
67
68config IR_RC6_DECODER
69 tristate "Enable IR raw decoder for the RC6 protocol"
70 depends on RC_CORE
71 select BITREVERSE
72 default y
73
74 ---help---
75 Enable this option if you have an infrared remote control which
76 uses the RC6 protocol, and you need software decoding support.
77
78config IR_JVC_DECODER
79 tristate "Enable IR raw decoder for the JVC protocol"
80 depends on RC_CORE
81 select BITREVERSE
82 default y
83
84 ---help---
85 Enable this option if you have an infrared remote control which
86 uses the JVC protocol, and you need software decoding support.
87
88config IR_SONY_DECODER
89 tristate "Enable IR raw decoder for the Sony protocol"
90 depends on RC_CORE
91 select BITREVERSE
92 default y
93
94 ---help---
95 Enable this option if you have an infrared remote control which
96 uses the Sony protocol, and you need software decoding support.
97
98config IR_SANYO_DECODER
99 tristate "Enable IR raw decoder for the Sanyo protocol"
100 depends on RC_CORE
101 default y
102
103 ---help---
104 Enable this option if you have an infrared remote control which
105 uses the Sanyo protocol (Sanyo, Aiwa, Chinon remotes),
106 and you need software decoding support.
107
108config IR_SHARP_DECODER
109 tristate "Enable IR raw decoder for the Sharp protocol"
110 depends on RC_CORE
111 default y
112
113 ---help---
114 Enable this option if you have an infrared remote control which
115 uses the Sharp protocol (Sharp, Denon), and you need software
116 decoding support.
117
118config IR_MCE_KBD_DECODER
119 tristate "Enable IR raw decoder for the MCE keyboard/mouse protocol"
120 depends on RC_CORE
121 select BITREVERSE
122 default y
123
124 ---help---
125 Enable this option if you have a Microsoft Remote Keyboard for
126 Windows Media Center Edition, which you would like to use with
127 a raw IR receiver in your system.
128
129config IR_XMP_DECODER
130 tristate "Enable IR raw decoder for the XMP protocol"
131 depends on RC_CORE
132 select BITREVERSE
133 default y
134
135 ---help---
136 Enable this option if you have IR with XMP protocol, and
137 if the IR is decoded in software
138endif #RC_DECODERS
139
140menuconfig RC_DEVICES
141 bool "Remote Controller devices"
142 depends on RC_CORE
143
144if RC_DEVICES
145
146config RC_ATI_REMOTE
147 tristate "ATI / X10 based USB RF remote controls"
148 depends on USB_ARCH_HAS_HCD
149 depends on RC_CORE
150 select USB
151 help
152 Say Y here if you want to use an X10 based USB remote control.
153 These are RF remotes with USB receivers.
154
155 Such devices include the ATI remote that comes with many of ATI's
156 All-In-Wonder video cards, the X10 "Lola" remote, NVIDIA RF remote,
157 Medion RF remote, and SnapStream FireFly remote.
158
159 This driver provides mouse pointer, left and right mouse buttons,
160 and maps all the other remote buttons to keypress events.
161
162 To compile this driver as a module, choose M here: the module will be
163 called ati_remote.
164
165config IR_ENE
166 tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)"
167 depends on PNP
168 depends on RC_CORE
169 ---help---
170 Say Y here to enable support for integrated infrared receiver
171 /transceiver made by ENE.
172
173 You can see if you have it by looking at lspnp output.
174 Output should include ENE0100 ENE0200 or something similar.
175
176 To compile this driver as a module, choose M here: the
177 module will be called ene_ir.
178
179config IR_HIX5HD2
180 tristate "Hisilicon hix5hd2 IR remote control"
181 depends on RC_CORE
182 help
183 Say Y here if you want to use hisilicon hix5hd2 remote control.
184 To compile this driver as a module, choose M here: the module will be
185 called ir-hix5hd2.
186
187 If you're not sure, select N here
188
189config IR_IMON
190 tristate "SoundGraph iMON Receiver and Display"
191 depends on USB_ARCH_HAS_HCD
192 depends on RC_CORE
193 select USB
194 ---help---
195 Say Y here if you want to use a SoundGraph iMON (aka Antec Veris)
196 IR Receiver and/or LCD/VFD/VGA display.
197
198 To compile this driver as a module, choose M here: the
199 module will be called imon.
200
201config IR_MCEUSB
202 tristate "Windows Media Center Ed. eHome Infrared Transceiver"
203 depends on USB_ARCH_HAS_HCD
204 depends on RC_CORE
205 select USB
206 ---help---
207 Say Y here if you want to use a Windows Media Center Edition
208 eHome Infrared Transceiver.
209
210 To compile this driver as a module, choose M here: the
211 module will be called mceusb.
212
213config IR_ITE_CIR
214 tristate "ITE Tech Inc. IT8712/IT8512 Consumer Infrared Transceiver"
215 depends on PNP
216 depends on RC_CORE
217 ---help---
218 Say Y here to enable support for integrated infrared receivers
219 /transceivers made by ITE Tech Inc. These are found in
220 several ASUS devices, like the ASUS Digimatrix or the ASUS
221 EEEBox 1501U.
222
223 To compile this driver as a module, choose M here: the
224 module will be called ite-cir.
225
226config IR_FINTEK
227 tristate "Fintek Consumer Infrared Transceiver"
228 depends on PNP
229 depends on RC_CORE
230 ---help---
231 Say Y here to enable support for integrated infrared receiver
232 /transciever made by Fintek. This chip is found on assorted
233 Jetway motherboards (and of course, possibly others).
234
235 To compile this driver as a module, choose M here: the
236 module will be called fintek-cir.
237
238config IR_MESON
239 tristate "Amlogic Meson IR remote receiver"
240 depends on RC_CORE
241 depends on ARCH_MESON || COMPILE_TEST
242 ---help---
243 Say Y if you want to use the IR remote receiver available
244 on Amlogic Meson SoCs.
245
246 To compile this driver as a module, choose M here: the
247 module will be called meson-ir.
248
249config IR_MTK
250 tristate "Mediatek IR remote receiver"
251 depends on RC_CORE
252 depends on ARCH_MEDIATEK || COMPILE_TEST
253 ---help---
254 Say Y if you want to use the IR remote receiver available
255 on Mediatek SoCs.
256
257 To compile this driver as a module, choose M here: the
258 module will be called mtk-cir.
259
260config IR_NUVOTON
261 tristate "Nuvoton w836x7hg Consumer Infrared Transceiver"
262 depends on PNP
263 depends on RC_CORE
264 ---help---
265 Say Y here to enable support for integrated infrared receiver
266 /transciever made by Nuvoton (formerly Winbond). This chip is
267 found in the ASRock ION 330HT, as well as assorted Intel
268 DP55-series motherboards (and of course, possibly others).
269
270 To compile this driver as a module, choose M here: the
271 module will be called nuvoton-cir.
272
273config IR_REDRAT3
274 tristate "RedRat3 IR Transceiver"
275 depends on USB_ARCH_HAS_HCD
276 depends on RC_CORE
277 select NEW_LEDS
278 select LEDS_CLASS
279 select USB
280 ---help---
281 Say Y here if you want to use a RedRat3 Infrared Transceiver.
282
283 To compile this driver as a module, choose M here: the
284 module will be called redrat3.
285
286config IR_SPI
287 tristate "SPI connected IR LED"
288 depends on SPI && LIRC
289 ---help---
290 Say Y if you want to use an IR LED connected through SPI bus.
291
292 To compile this driver as a module, choose M here: the module will be
293 called ir-spi.
294
295config IR_STREAMZAP
296 tristate "Streamzap PC Remote IR Receiver"
297 depends on USB_ARCH_HAS_HCD
298 depends on RC_CORE
299 select USB
300 ---help---
301 Say Y here if you want to use a Streamzap PC Remote
302 Infrared Receiver.
303
304 To compile this driver as a module, choose M here: the
305 module will be called streamzap.
306
307config IR_WINBOND_CIR
308 tristate "Winbond IR remote control"
309 depends on X86 && PNP
310 depends on RC_CORE
311 select NEW_LEDS
312 select LEDS_CLASS
313 select BITREVERSE
314 ---help---
315 Say Y here if you want to use the IR remote functionality found
316 in some Winbond SuperI/O chips. Currently only the WPCD376I
317 chip is supported (included in some Intel Media series
318 motherboards).
319
320 To compile this driver as a module, choose M here: the module will
321 be called winbond_cir.
322
323config IR_IGORPLUGUSB
324 tristate "IgorPlug-USB IR Receiver"
325 depends on USB_ARCH_HAS_HCD
326 depends on RC_CORE
327 select USB
328 ---help---
329 Say Y here if you want to use the IgorPlug-USB IR Receiver by
330 Igor Cesko. This device is included on the Fit-PC2.
331
332 Note that this device can only record bursts of 36 IR pulses and
333 spaces, which is not enough for the NEC, Sanyo and RC-6 protocol.
334
335 To compile this driver as a module, choose M here: the module will
336 be called igorplugusb.
337
338config IR_IGUANA
339 tristate "IguanaWorks USB IR Transceiver"
340 depends on USB_ARCH_HAS_HCD
341 depends on RC_CORE
342 select USB
343 ---help---
344 Say Y here if you want to use the IguanaWorks USB IR Transceiver.
345 Both infrared receive and send are supported. If you want to
346 change the ID or the pin config, use the user space driver from
347 IguanaWorks.
348
349 Only firmware 0x0205 and later is supported.
350
351 To compile this driver as a module, choose M here: the module will
352 be called iguanair.
353
354config IR_TTUSBIR
355 tristate "TechnoTrend USB IR Receiver"
356 depends on USB_ARCH_HAS_HCD
357 depends on RC_CORE
358 select USB
359 select NEW_LEDS
360 select LEDS_CLASS
361 ---help---
362 Say Y here if you want to use the TechnoTrend USB IR Receiver. The
363 driver can control the led.
364
365 To compile this driver as a module, choose M here: the module will
366 be called ttusbir.
367
368config IR_RX51
369 tristate "Nokia N900 IR transmitter diode"
370 depends on (OMAP_DM_TIMER && PWM_OMAP_DMTIMER && ARCH_OMAP2PLUS || COMPILE_TEST) && RC_CORE
371 ---help---
372 Say Y or M here if you want to enable support for the IR
373 transmitter diode built in the Nokia N900 (RX51) device.
374
375 The driver uses omap DM timers for generating the carrier
376 wave and pulses.
377
378source "drivers/media/rc/img-ir/Kconfig"
379
380config RC_LOOPBACK
381 tristate "Remote Control Loopback Driver"
382 depends on RC_CORE
383 ---help---
384 Say Y here if you want support for the remote control loopback
385 driver which allows TX data to be sent back as RX data.
386 This is mostly useful for debugging purposes.
387
388 If you're not sure, select N here.
389
390 To compile this driver as a module, choose M here: the module will
391 be called rc_loopback.
392
393config IR_GPIO_CIR
394 tristate "GPIO IR remote control"
395 depends on RC_CORE
396 ---help---
397 Say Y if you want to use GPIO based IR Receiver.
398
399 To compile this driver as a module, choose M here: the module will
400 be called gpio-ir-recv.
401
402config IR_GPIO_TX
403 tristate "GPIO IR Bit Banging Transmitter"
404 depends on RC_CORE
405 depends on LIRC
406 ---help---
407 Say Y if you want to a GPIO based IR transmitter. This is a
408 bit banging driver.
409
410 To compile this driver as a module, choose M here: the module will
411 be called gpio-ir-tx.
412
413config IR_PWM_TX
414 tristate "PWM IR transmitter"
415 depends on RC_CORE
416 depends on LIRC
417 depends on PWM
418 ---help---
419 Say Y if you want to use a PWM based IR transmitter. This is
420 more power efficient than the bit banging gpio driver.
421
422 To compile this driver as a module, choose M here: the module will
423 be called pwm-ir-tx.
424
425config RC_ST
426 tristate "ST remote control receiver"
427 depends on RC_CORE
428 depends on ARCH_STI || COMPILE_TEST
429 ---help---
430 Say Y here if you want support for ST remote control driver
431 which allows both IR and UHF RX.
432 The driver passes raw pulse and space information to the LIRC decoder.
433
434 If you're not sure, select N here.
435
436config IR_SUNXI
437 tristate "SUNXI IR remote control"
438 depends on RC_CORE
439 depends on ARCH_SUNXI || COMPILE_TEST
440 ---help---
441 Say Y if you want to use sunXi internal IR Controller
442
443 To compile this driver as a module, choose M here: the module will
444 be called sunxi-ir.
445
446config IR_SERIAL
447 tristate "Homebrew Serial Port Receiver"
448 depends on RC_CORE
449 ---help---
450 Say Y if you want to use Homebrew Serial Port Receivers and
451 Transceivers.
452
453 To compile this driver as a module, choose M here: the module will
454 be called serial-ir.
455
456config IR_SERIAL_TRANSMITTER
457 bool "Serial Port Transmitter"
458 default y
459 depends on IR_SERIAL
460 ---help---
461 Serial Port Transmitter support
462
463config IR_SIR
464 tristate "Built-in SIR IrDA port"
465 depends on RC_CORE
466 ---help---
467 Say Y if you want to use a IrDA SIR port Transceivers.
468
469 To compile this driver as a module, choose M here: the module will
470 be called sir-ir.
471
472config IR_ZX
473 tristate "ZTE ZX IR remote control"
474 depends on RC_CORE
475 depends on ARCH_ZX || COMPILE_TEST
476 ---help---
477 Say Y if you want to use the IR remote control available
478 on ZTE ZX family SoCs.
479
480 To compile this driver as a module, choose M here: the
481 module will be called zx-irdec.
482
483endif #RC_DEVICES
484
485endif #RC_CORE