Kconfig 14.2 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0-only
2 3 4

menuconfig RC_CORE
	tristate "Remote Controller support"
5
	depends on INPUT
6
	help
7 8 9 10 11 12 13
	  Enable support for Remote Controllers on Linux. This is
	  needed in order to support several video capture adapters,
	  standalone IR receivers/transmitters, and RF receivers.

	  Enable this option if you have a video capture board even
	  if you don't need IR, as otherwise, you may not be able to
	  compile the driver for your adapter.
14

15 16 17
	  Say Y when you have a TV or an IR device.

if RC_CORE
18 19
source "drivers/media/rc/keymaps/Kconfig"

20
config LIRC
21
	bool "LIRC user interface"
22
	help
23 24 25 26
	   Enable this option to enable the Linux Infrared Remote
	   Control user interface (e.g. /dev/lirc*). This interface
	   passes raw IR to and from userspace, which is needed for
	   IR transmitting (aka "blasting") and for the lirc daemon.
27

28 29 30 31 32 33 34 35 36 37 38 39 40
config BPF_LIRC_MODE2
	bool "Support for eBPF programs attached to lirc devices"
	depends on BPF_SYSCALL
	depends on RC_CORE=y
	depends on LIRC
	help
	   Allow attaching eBPF programs to a lirc device using the bpf(2)
	   syscall command BPF_PROG_ATTACH. This is supported for raw IR
	   receivers.

	   These eBPF programs can be used to decode IR into scancodes, for
	   IR protocols not supported by the kernel decoders.

41
menuconfig RC_DECODERS
42
	bool "Remote controller decoders"
43

44
if RC_DECODERS
45
config IR_NEC_DECODER
46
	tristate "Enable IR raw decoder for the NEC protocol"
47
	select BITREVERSE
48

49
	help
50 51
	   Enable this option if you have IR with NEC protocol, and
	   if the IR is decoded in software
52 53

config IR_RC5_DECODER
54
	tristate "Enable IR raw decoder for the RC-5 protocol"
55
	select BITREVERSE
56

57
	help
58 59
	   Enable this option if you have IR with RC-5 protocol, and
	   if the IR is decoded in software
60 61 62

config IR_RC6_DECODER
	tristate "Enable IR raw decoder for the RC6 protocol"
63
	select BITREVERSE
64

65
	help
66 67
	   Enable this option if you have an infrared remote control which
	   uses the RC6 protocol, and you need software decoding support.
68

69 70
config IR_JVC_DECODER
	tristate "Enable IR raw decoder for the JVC protocol"
71
	select BITREVERSE
72

73
	help
74 75 76
	   Enable this option if you have an infrared remote control which
	   uses the JVC protocol, and you need software decoding support.

77 78
config IR_SONY_DECODER
	tristate "Enable IR raw decoder for the Sony protocol"
79
	select BITREVERSE
80

81
	help
82 83 84
	   Enable this option if you have an infrared remote control which
	   uses the Sony protocol, and you need software decoding support.

85 86
config IR_SANYO_DECODER
	tristate "Enable IR raw decoder for the Sanyo protocol"
87
	select BITREVERSE
88

89
	help
90 91 92 93
	   Enable this option if you have an infrared remote control which
	   uses the Sanyo protocol (Sanyo, Aiwa, Chinon remotes),
	   and you need software decoding support.

94 95
config IR_SHARP_DECODER
	tristate "Enable IR raw decoder for the Sharp protocol"
96
	select BITREVERSE
97

98
	help
99
	   Enable this option if you have an infrared remote control which
100 101
	   uses the Sharp protocol (Sharp, Denon), and you need software
	   decoding support.
102

103 104 105 106
config IR_MCE_KBD_DECODER
	tristate "Enable IR raw decoder for the MCE keyboard/mouse protocol"
	select BITREVERSE

107
	help
108 109 110
	   Enable this option if you have a Microsoft Remote Keyboard for
	   Windows Media Center Edition, which you would like to use with
	   a raw IR receiver in your system.
111 112 113 114 115

config IR_XMP_DECODER
	tristate "Enable IR raw decoder for the XMP protocol"
	select BITREVERSE

116
	help
117 118
	   Enable this option if you have IR with XMP protocol, and
	   if the IR is decoded in software
119 120 121

config IR_IMON_DECODER
	tristate "Enable IR raw decoder for the iMON protocol"
122
	help
123 124 125 126
	   Enable this option if you have iMON PAD or Antec Veris infrared
	   remote control and you would like to use it with a raw IR
	   receiver, or if you wish to use an encoder to transmit this IR.

127 128 129 130 131 132 133 134 135 136 137 138
config IR_RCMM_DECODER
	tristate "Enable IR raw decoder for the RC-MM protocol"
	help
	   Enable this option when you have IR with RC-MM protocol, and
	   you need the software decoder. The driver supports 12,
	   24 and 32 bits RC-MM variants. You can enable or disable the
	   different modes using the following RC protocol keywords:
	   'rc-mm-12', 'rc-mm-24' and 'rc-mm-32'.

	   To compile this driver as a module, choose M here: the module
	   will be called ir-rcmm-decoder.

139
endif #RC_DECODERS
140

141 142 143 144 145
menuconfig RC_DEVICES
	bool "Remote Controller devices"

if RC_DEVICES

146
config RC_ATI_REMOTE
147
	tristate "ATI / X10 based USB RF remote controls"
148
	depends on USB
149
	help
150
	   Say Y here if you want to use an X10 based USB remote control.
151
	   These are RF remotes with USB receivers.
152 153 154 155 156

	   Such devices include the ATI remote that comes with many of ATI's
	   All-In-Wonder video cards, the X10 "Lola" remote, NVIDIA RF remote,
	   Medion RF remote, and SnapStream FireFly remote.

157 158 159 160 161 162
	   This driver provides mouse pointer, left and right mouse buttons,
	   and maps all the other remote buttons to keypress events.

	   To compile this driver as a module, choose M here: the module will be
	   called ati_remote.

163
config IR_ENE
Maxim Levitsky's avatar
Maxim Levitsky committed
164
	tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)"
165
	depends on PNP || COMPILE_TEST
166
	help
167
	   Say Y here to enable support for integrated infrared receiver
Maxim Levitsky's avatar
Maxim Levitsky committed
168
	   /transceiver made by ENE.
169 170

	   You can see if you have it by looking at lspnp output.
Maxim Levitsky's avatar
Maxim Levitsky committed
171
	   Output should include ENE0100 ENE0200 or something similar.
172 173 174 175

	   To compile this driver as a module, choose M here: the
	   module will be called ene_ir.

176 177
config IR_HIX5HD2
	tristate "Hisilicon hix5hd2 IR remote control"
178
	depends on (OF && HAS_IOMEM) || COMPILE_TEST
179
	help
180 181 182
	   Say Y here if you want to use hisilicon hix5hd2 remote control.
	   To compile this driver as a module, choose M here: the module will be
	   called ir-hix5hd2.
183

184
	   If you're not sure, select N here
185

186 187
config IR_IMON
	tristate "SoundGraph iMON Receiver and Display"
188
	depends on USB
189
	help
190 191 192 193 194
	   Say Y here if you want to use a SoundGraph iMON (aka Antec Veris)
	   IR Receiver and/or LCD/VFD/VGA display.

	   To compile this driver as a module, choose M here: the
	   module will be called imon.
195

196 197
config IR_IMON_RAW
	tristate "SoundGraph iMON Receiver (early raw IR models)"
198
	depends on USB
199
	help
200 201 202 203 204 205
	   Say Y here if you want to use a SoundGraph iMON IR Receiver,
	   early raw models.

	   To compile this driver as a module, choose M here: the
	   module will be called imon_raw.

206 207
config IR_MCEUSB
	tristate "Windows Media Center Ed. eHome Infrared Transceiver"
208
	depends on USB
209
	help
210 211 212 213 214
	   Say Y here if you want to use a Windows Media Center Edition
	   eHome Infrared Transceiver.

	   To compile this driver as a module, choose M here: the
	   module will be called mceusb.
215

216 217
config IR_ITE_CIR
	tristate "ITE Tech Inc. IT8712/IT8512 Consumer Infrared Transceiver"
218
	depends on PNP || COMPILE_TEST
219
	help
220 221 222 223 224 225 226 227
	   Say Y here to enable support for integrated infrared receivers
	   /transceivers made by ITE Tech Inc. These are found in
	   several ASUS devices, like the ASUS Digimatrix or the ASUS
	   EEEBox 1501U.

	   To compile this driver as a module, choose M here: the
	   module will be called ite-cir.

228 229
config IR_FINTEK
	tristate "Fintek Consumer Infrared Transceiver"
230
	depends on PNP || COMPILE_TEST
231
	help
232
	   Say Y here to enable support for integrated infrared receiver
233
	   /transceiver made by Fintek. This chip is found on assorted
234 235 236 237 238
	   Jetway motherboards (and of course, possibly others).

	   To compile this driver as a module, choose M here: the
	   module will be called fintek-cir.

239 240 241
config IR_MESON
	tristate "Amlogic Meson IR remote receiver"
	depends on ARCH_MESON || COMPILE_TEST
242
	help
243 244 245 246 247 248
	   Say Y if you want to use the IR remote receiver available
	   on Amlogic Meson SoCs.

	   To compile this driver as a module, choose M here: the
	   module will be called meson-ir.

249 250 251 252 253 254 255 256 257 258
config IR_MESON_TX
	tristate "Amlogic Meson IR TX"
	depends on ARCH_MESON || COMPILE_TEST
	help
	   Say Y if you want to use the IR transmitter available on
	   Amlogic Meson SoCs.

	   To compile this driver as a module, choose M here: the
	   module will be called meson-ir-tx.

259 260 261
config IR_MTK
	tristate "Mediatek IR remote receiver"
	depends on ARCH_MEDIATEK || COMPILE_TEST
262
	help
263 264 265 266 267 268
	   Say Y if you want to use the IR remote receiver available
	   on Mediatek SoCs.

	   To compile this driver as a module, choose M here: the
	   module will be called mtk-cir.

269 270
config IR_NUVOTON
	tristate "Nuvoton w836x7hg Consumer Infrared Transceiver"
271
	depends on PNP || COMPILE_TEST
272
	help
273
	   Say Y here to enable support for integrated infrared receiver
274
	   /transceiver made by Nuvoton (formerly Winbond). This chip is
275 276
	   found in the ASRock ION 330HT, as well as assorted Intel
	   DP55-series motherboards (and of course, possibly others).
277 278

	   To compile this driver as a module, choose M here: the
279
	   module will be called nuvoton-cir.
280

281 282
config IR_REDRAT3
	tristate "RedRat3 IR Transceiver"
283
	depends on USB
284 285
	select NEW_LEDS
	select LEDS_CLASS
286
	help
287 288 289 290 291
	   Say Y here if you want to use a RedRat3 Infrared Transceiver.

	   To compile this driver as a module, choose M here: the
	   module will be called redrat3.

292 293 294
config IR_SPI
	tristate "SPI connected IR LED"
	depends on SPI && LIRC
Sean Young's avatar
Sean Young committed
295
	depends on OF || COMPILE_TEST
296
	help
297 298 299 300 301
	  Say Y if you want to use an IR LED connected through SPI bus.

	  To compile this driver as a module, choose M here: the module will be
	  called ir-spi.

302 303
config IR_STREAMZAP
	tristate "Streamzap PC Remote IR Receiver"
304
	depends on USB
305
	help
306 307 308 309 310
	   Say Y here if you want to use a Streamzap PC Remote
	   Infrared Receiver.

	   To compile this driver as a module, choose M here: the
	   module will be called streamzap.
Maxim Levitsky's avatar
Maxim Levitsky committed
311

312
config IR_WINBOND_CIR
313
	tristate "Winbond IR remote control"
314
	depends on (X86 && PNP) || COMPILE_TEST
315 316 317
	select NEW_LEDS
	select LEDS_CLASS
	select BITREVERSE
318
	help
319 320 321
	   Say Y here if you want to use the IR remote functionality found
	   in some Winbond SuperI/O chips. Currently only the WPCD376I
	   chip is supported (included in some Intel Media series
322 323
	   motherboards).

324
	   To compile this driver as a module, choose M here: the module will
325 326
	   be called winbond_cir.

327 328
config IR_IGORPLUGUSB
	tristate "IgorPlug-USB IR Receiver"
329
	depends on USB
330
	help
331 332 333 334 335 336 337 338 339
	   Say Y here if you want to use the IgorPlug-USB IR Receiver by
	   Igor Cesko. This device is included on the Fit-PC2.

	   Note that this device can only record bursts of 36 IR pulses and
	   spaces, which is not enough for the NEC, Sanyo and RC-6 protocol.

	   To compile this driver as a module, choose M here: the module will
	   be called igorplugusb.

340 341
config IR_IGUANA
	tristate "IguanaWorks USB IR Transceiver"
342
	depends on USB
343
	help
344 345 346 347 348 349
	   Say Y here if you want to use the IguanaWorks USB IR Transceiver.
	   Both infrared receive and send are supported. If you want to
	   change the ID or the pin config, use the user space driver from
	   IguanaWorks.

	   Only firmware 0x0205 and later is supported.
350 351 352 353

	   To compile this driver as a module, choose M here: the module will
	   be called iguanair.

354 355
config IR_TTUSBIR
	tristate "TechnoTrend USB IR Receiver"
356
	depends on USB
357 358
	select NEW_LEDS
	select LEDS_CLASS
359
	help
360 361 362 363 364 365
	   Say Y here if you want to use the TechnoTrend USB IR Receiver. The
	   driver can control the led.

	   To compile this driver as a module, choose M here: the module will
	   be called ttusbir.

366
config IR_RX51
367
	tristate "Nokia N900 IR transmitter diode"
368
	depends on (OMAP_DM_TIMER && PWM_OMAP_DMTIMER && ARCH_OMAP2PLUS || COMPILE_TEST) && RC_CORE
369
	help
370 371 372
	   Say Y or M here if you want to enable support for the IR
	   transmitter diode built in the Nokia N900 (RX51) device.

373
	   The driver uses omap DM timers for generating the carrier
374 375
	   wave and pulses.

376 377
source "drivers/media/rc/img-ir/Kconfig"

378 379
config RC_LOOPBACK
	tristate "Remote Control Loopback Driver"
380
	help
381 382 383 384 385 386 387 388 389
	   Say Y here if you want support for the remote control loopback
	   driver which allows TX data to be sent back as RX data.
	   This is mostly useful for debugging purposes.

	   If you're not sure, select N here.

	   To compile this driver as a module, choose M here: the module will
	   be called rc_loopback.

390 391
config IR_GPIO_CIR
	tristate "GPIO IR remote control"
392
	depends on (OF && GPIOLIB) || COMPILE_TEST
393
	help
394 395 396 397 398
	   Say Y if you want to use GPIO based IR Receiver.

	   To compile this driver as a module, choose M here: the module will
	   be called gpio-ir-recv.

399 400 401
config IR_GPIO_TX
	tristate "GPIO IR Bit Banging Transmitter"
	depends on LIRC
402
	depends on (OF && GPIOLIB) || COMPILE_TEST
403
	help
404 405 406 407 408 409
	   Say Y if you want to a GPIO based IR transmitter. This is a
	   bit banging driver.

	   To compile this driver as a module, choose M here: the module will
	   be called gpio-ir-tx.

410 411 412 413
config IR_PWM_TX
	tristate "PWM IR transmitter"
	depends on LIRC
	depends on PWM
Sean Young's avatar
Sean Young committed
414
	depends on OF || COMPILE_TEST
415
	help
416 417 418 419 420 421
	   Say Y if you want to use a PWM based IR transmitter. This is
	   more power efficient than the bit banging gpio driver.

	   To compile this driver as a module, choose M here: the module will
	   be called pwm-ir-tx.

422 423
config RC_ST
	tristate "ST remote control receiver"
424
	depends on ARCH_STI || COMPILE_TEST
425
	help
426 427 428
	   Say Y here if you want support for ST remote control driver
	   which allows both IR and UHF RX.
	   The driver passes raw pulse and space information to the LIRC decoder.
429

430
	   If you're not sure, select N here.
431

432
config IR_SUNXI
433 434
	tristate "SUNXI IR remote control"
	depends on ARCH_SUNXI || COMPILE_TEST
435
	help
436 437 438 439
	   Say Y if you want to use sunXi internal IR Controller

	   To compile this driver as a module, choose M here: the module will
	   be called sunxi-ir.
440

441 442
config IR_SERIAL
	tristate "Homebrew Serial Port Receiver"
443
	help
444 445 446 447 448 449 450 451 452
	   Say Y if you want to use Homebrew Serial Port Receivers and
	   Transceivers.

	   To compile this driver as a module, choose M here: the module will
	   be called serial-ir.

config IR_SERIAL_TRANSMITTER
	bool "Serial Port Transmitter"
	depends on IR_SERIAL
453
	help
454 455
	   Serial Port Transmitter support

456 457
config RC_XBOX_DVD
	tristate "Xbox DVD Movie Playback Kit"
458
	depends on USB
459 460 461 462 463 464 465
	help
	   Say Y here if you want to use the Xbox DVD Movie Playback Kit.
	   These are IR remotes with USB receivers for the Original Xbox (2001).

	   To compile this driver as a module, choose M here: the module will be
	   called xbox_remote.

466 467
config IR_TOY
	tristate "Infrared Toy and IR Droid"
468
	depends on USB
469 470 471 472 473 474 475
	help
	   Say Y here if you want to use the Infrared Toy or IR Droid, USB
	   versions.

	   To compile this driver as a module, choose M here: the module will be
	   called ir_toy.

476
endif #RC_DEVICES
477 478

endif #RC_CORE