Kconfig 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. menuconfig RC_CORE
  3. tristate "Remote Controller support"
  4. depends on INPUT
  5. help
  6. Enable support for Remote Controllers on Linux. This is
  7. needed in order to support several video capture adapters,
  8. standalone IR receivers/transmitters, and RF receivers.
  9. Enable this option if you have a video capture board even
  10. if you don't need IR, as otherwise, you may not be able to
  11. compile the driver for your adapter.
  12. Say Y when you have a TV or an IR device.
  13. if RC_CORE
  14. config BPF_LIRC_MODE2
  15. bool "Support for eBPF programs attached to lirc devices"
  16. depends on BPF_SYSCALL
  17. depends on RC_CORE=y
  18. depends on LIRC
  19. help
  20. Allow attaching eBPF programs to a lirc device using the bpf(2)
  21. syscall command BPF_PROG_ATTACH. This is supported for raw IR
  22. receivers.
  23. These eBPF programs can be used to decode IR into scancodes, for
  24. IR protocols not supported by the kernel decoders.
  25. config LIRC
  26. bool "LIRC user interface"
  27. help
  28. Enable this option to enable the Linux Infrared Remote
  29. Control user interface (e.g. /dev/lirc*). This interface
  30. passes raw IR to and from userspace, which is needed for
  31. IR transmitting (aka "blasting") and for the lirc daemon.
  32. source "drivers/media/rc/keymaps/Kconfig"
  33. menuconfig RC_DECODERS
  34. bool "Remote controller decoders"
  35. if RC_DECODERS
  36. config IR_IMON_DECODER
  37. tristate "Enable IR raw decoder for the iMON protocol"
  38. help
  39. Enable this option if you have iMON PAD or Antec Veris infrared
  40. remote control and you would like to use it with a raw IR
  41. receiver, or if you wish to use an encoder to transmit this IR.
  42. config IR_JVC_DECODER
  43. tristate "Enable IR raw decoder for the JVC protocol"
  44. select BITREVERSE
  45. help
  46. Enable this option if you have an infrared remote control which
  47. uses the JVC protocol, and you need software decoding support.
  48. config IR_MCE_KBD_DECODER
  49. tristate "Enable IR raw decoder for the MCE keyboard/mouse protocol"
  50. select BITREVERSE
  51. help
  52. Enable this option if you have a Microsoft Remote Keyboard for
  53. Windows Media Center Edition, which you would like to use with
  54. a raw IR receiver in your system.
  55. config IR_NEC_DECODER
  56. tristate "Enable IR raw decoder for the NEC protocol"
  57. select BITREVERSE
  58. help
  59. Enable this option if you have IR with NEC protocol, and
  60. if the IR is decoded in software
  61. config IR_RC5_DECODER
  62. tristate "Enable IR raw decoder for the RC-5 protocol"
  63. select BITREVERSE
  64. help
  65. Enable this option if you have IR with RC-5 protocol, and
  66. if the IR is decoded in software
  67. config IR_RC6_DECODER
  68. tristate "Enable IR raw decoder for the RC6 protocol"
  69. select BITREVERSE
  70. help
  71. Enable this option if you have an infrared remote control which
  72. uses the RC6 protocol, and you need software decoding support.
  73. config IR_RCMM_DECODER
  74. tristate "Enable IR raw decoder for the RC-MM protocol"
  75. help
  76. Enable this option when you have IR with RC-MM protocol, and
  77. you need the software decoder. The driver supports 12,
  78. 24 and 32 bits RC-MM variants. You can enable or disable the
  79. different modes using the following RC protocol keywords:
  80. 'rc-mm-12', 'rc-mm-24' and 'rc-mm-32'.
  81. To compile this driver as a module, choose M here: the module
  82. will be called ir-rcmm-decoder.
  83. config IR_SANYO_DECODER
  84. tristate "Enable IR raw decoder for the Sanyo protocol"
  85. select BITREVERSE
  86. help
  87. Enable this option if you have an infrared remote control which
  88. uses the Sanyo protocol (Sanyo, Aiwa, Chinon remotes),
  89. and you need software decoding support.
  90. config IR_SHARP_DECODER
  91. tristate "Enable IR raw decoder for the Sharp protocol"
  92. select BITREVERSE
  93. help
  94. Enable this option if you have an infrared remote control which
  95. uses the Sharp protocol (Sharp, Denon), and you need software
  96. decoding support.
  97. config IR_SONY_DECODER
  98. tristate "Enable IR raw decoder for the Sony protocol"
  99. select BITREVERSE
  100. help
  101. Enable this option if you have an infrared remote control which
  102. uses the Sony protocol, and you need software decoding support.
  103. config IR_XMP_DECODER
  104. tristate "Enable IR raw decoder for the XMP protocol"
  105. select BITREVERSE
  106. help
  107. Enable this option if you have IR with XMP protocol, and
  108. if the IR is decoded in software
  109. endif #RC_DECODERS
  110. menuconfig RC_DEVICES
  111. bool "Remote Controller devices"
  112. if RC_DEVICES
  113. config IR_ENE
  114. tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)"
  115. depends on PNP || COMPILE_TEST
  116. depends on HAS_IOPORT
  117. help
  118. Say Y here to enable support for integrated infrared receiver
  119. /transceiver made by ENE.
  120. You can see if you have it by looking at lspnp output.
  121. Output should include ENE0100 ENE0200 or something similar.
  122. To compile this driver as a module, choose M here: the
  123. module will be called ene_ir.
  124. config IR_FINTEK
  125. tristate "Fintek Consumer Infrared Transceiver"
  126. depends on PNP || COMPILE_TEST
  127. depends on HAS_IOPORT
  128. help
  129. Say Y here to enable support for integrated infrared receiver
  130. /transceiver made by Fintek. This chip is found on assorted
  131. Jetway motherboards (and of course, possibly others).
  132. To compile this driver as a module, choose M here: the
  133. module will be called fintek-cir.
  134. config IR_GPIO_CIR
  135. tristate "GPIO IR remote control"
  136. depends on (OF && GPIOLIB) || COMPILE_TEST
  137. help
  138. Say Y if you want to use GPIO based IR Receiver.
  139. To compile this driver as a module, choose M here: the module will
  140. be called gpio-ir-recv.
  141. config IR_GPIO_TX
  142. tristate "GPIO IR Bit Banging Transmitter"
  143. depends on LIRC
  144. depends on (OF && GPIOLIB) || COMPILE_TEST
  145. help
  146. Say Y if you want to a GPIO based IR transmitter. This is a
  147. bit banging driver.
  148. To compile this driver as a module, choose M here: the module will
  149. be called gpio-ir-tx.
  150. config IR_HIX5HD2
  151. tristate "Hisilicon hix5hd2 IR remote control"
  152. depends on (OF && HAS_IOMEM) || COMPILE_TEST
  153. help
  154. Say Y here if you want to use hisilicon hix5hd2 remote control.
  155. To compile this driver as a module, choose M here: the module will be
  156. called ir-hix5hd2.
  157. If you're not sure, select N here
  158. config IR_IGORPLUGUSB
  159. tristate "IgorPlug-USB IR Receiver"
  160. depends on USB
  161. help
  162. Say Y here if you want to use the IgorPlug-USB IR Receiver by
  163. Igor Cesko. This device is included on the Fit-PC2.
  164. Note that this device can only record bursts of 36 IR pulses and
  165. spaces, which is not enough for the NEC, Sanyo and RC-6 protocol.
  166. To compile this driver as a module, choose M here: the module will
  167. be called igorplugusb.
  168. config IR_IGUANA
  169. tristate "IguanaWorks USB IR Transceiver"
  170. depends on USB
  171. help
  172. Say Y here if you want to use the IguanaWorks USB IR Transceiver.
  173. Both infrared receive and send are supported. If you want to
  174. change the ID or the pin config, use the user space driver from
  175. IguanaWorks.
  176. Only firmware 0x0205 and later is supported.
  177. To compile this driver as a module, choose M here: the module will
  178. be called iguanair.
  179. config IR_IMON
  180. tristate "SoundGraph iMON Receiver and Display"
  181. depends on USB
  182. help
  183. Say Y here if you want to use a SoundGraph iMON (aka Antec Veris)
  184. IR Receiver and/or LCD/VFD/VGA display.
  185. To compile this driver as a module, choose M here: the
  186. module will be called imon.
  187. config IR_IMON_RAW
  188. tristate "SoundGraph iMON Receiver (early raw IR models)"
  189. depends on USB
  190. help
  191. Say Y here if you want to use a SoundGraph iMON IR Receiver,
  192. early raw models.
  193. To compile this driver as a module, choose M here: the
  194. module will be called imon_raw.
  195. config IR_ITE_CIR
  196. tristate "ITE Tech Inc. IT8712/IT8512 Consumer Infrared Transceiver"
  197. depends on PNP || COMPILE_TEST
  198. depends on HAS_IOPORT
  199. help
  200. Say Y here to enable support for integrated infrared receivers
  201. /transceivers made by ITE Tech Inc. These are found in
  202. several ASUS devices, like the ASUS Digimatrix or the ASUS
  203. EEEBox 1501U.
  204. To compile this driver as a module, choose M here: the
  205. module will be called ite-cir.
  206. config IR_MCEUSB
  207. tristate "Windows Media Center Ed. eHome Infrared Transceiver"
  208. depends on USB
  209. help
  210. Say Y here if you want to use a Windows Media Center Edition
  211. eHome Infrared Transceiver.
  212. To compile this driver as a module, choose M here: the
  213. module will be called mceusb.
  214. config IR_MESON
  215. tristate "Amlogic Meson IR remote receiver"
  216. depends on ARCH_MESON || COMPILE_TEST
  217. select REGMAP_MMIO
  218. help
  219. Say Y if you want to use the IR remote receiver available
  220. on Amlogic Meson SoCs.
  221. To compile this driver as a module, choose M here: the
  222. module will be called meson-ir.
  223. config IR_MESON_TX
  224. tristate "Amlogic Meson IR TX"
  225. depends on ARCH_MESON || COMPILE_TEST
  226. help
  227. Say Y if you want to use the IR transmitter available on
  228. Amlogic Meson SoCs.
  229. To compile this driver as a module, choose M here: the
  230. module will be called meson-ir-tx.
  231. config IR_MTK
  232. tristate "Mediatek IR remote receiver"
  233. depends on ARCH_MEDIATEK || COMPILE_TEST
  234. help
  235. Say Y if you want to use the IR remote receiver available
  236. on Mediatek SoCs.
  237. To compile this driver as a module, choose M here: the
  238. module will be called mtk-cir.
  239. config IR_NUVOTON
  240. tristate "Nuvoton w836x7hg Consumer Infrared Transceiver"
  241. depends on PNP || COMPILE_TEST
  242. depends on HAS_IOPORT
  243. help
  244. Say Y here to enable support for integrated infrared receiver
  245. /transceiver made by Nuvoton (formerly Winbond). This chip is
  246. found in the ASRock ION 330HT, as well as assorted Intel
  247. DP55-series motherboards (and of course, possibly others).
  248. To compile this driver as a module, choose M here: the
  249. module will be called nuvoton-cir.
  250. config IR_PWM_TX
  251. tristate "PWM IR transmitter"
  252. depends on LIRC
  253. depends on PWM
  254. depends on HIGH_RES_TIMERS
  255. depends on OF
  256. help
  257. Say Y if you want to use a PWM based IR transmitter. This is
  258. more power efficient than the bit banging gpio driver.
  259. To compile this driver as a module, choose M here: the module will
  260. be called pwm-ir-tx.
  261. config IR_REDRAT3
  262. tristate "RedRat3 IR Transceiver"
  263. depends on USB
  264. select NEW_LEDS
  265. select LEDS_CLASS
  266. help
  267. Say Y here if you want to use a RedRat3 Infrared Transceiver.
  268. To compile this driver as a module, choose M here: the
  269. module will be called redrat3.
  270. config IR_SERIAL
  271. tristate "Homebrew Serial Port Receiver"
  272. depends on HAS_IOPORT
  273. help
  274. Say Y if you want to use Homebrew Serial Port Receivers and
  275. Transceivers.
  276. To compile this driver as a module, choose M here: the module will
  277. be called serial-ir.
  278. config IR_SERIAL_TRANSMITTER
  279. bool "Serial Port Transmitter"
  280. depends on IR_SERIAL
  281. help
  282. Serial Port Transmitter support
  283. config IR_SPI
  284. tristate "SPI connected IR LED"
  285. depends on SPI && LIRC
  286. depends on OF
  287. help
  288. Say Y if you want to use an IR LED connected through SPI bus.
  289. To compile this driver as a module, choose M here: the module will be
  290. called ir-spi.
  291. config IR_STREAMZAP
  292. tristate "Streamzap PC Remote IR Receiver"
  293. depends on USB
  294. help
  295. Say Y here if you want to use a Streamzap PC Remote
  296. Infrared Receiver.
  297. To compile this driver as a module, choose M here: the
  298. module will be called streamzap.
  299. config IR_SUNXI
  300. tristate "SUNXI IR remote control"
  301. depends on ARCH_SUNXI || COMPILE_TEST
  302. help
  303. Say Y if you want to use sunXi internal IR Controller
  304. To compile this driver as a module, choose M here: the module will
  305. be called sunxi-ir.
  306. config IR_TOY
  307. tristate "Infrared Toy and IR Droid"
  308. depends on USB
  309. help
  310. Say Y here if you want to use the Infrared Toy or IR Droid, USB
  311. versions.
  312. To compile this driver as a module, choose M here: the module will be
  313. called ir_toy.
  314. config IR_TTUSBIR
  315. tristate "TechnoTrend USB IR Receiver"
  316. depends on USB
  317. select NEW_LEDS
  318. select LEDS_CLASS
  319. help
  320. Say Y here if you want to use the TechnoTrend USB IR Receiver. The
  321. driver can control the led.
  322. To compile this driver as a module, choose M here: the module will
  323. be called ttusbir.
  324. config IR_WINBOND_CIR
  325. tristate "Winbond IR remote control"
  326. depends on (X86 && PNP) || COMPILE_TEST
  327. depends on HAS_IOPORT
  328. select NEW_LEDS
  329. select LEDS_CLASS
  330. select BITREVERSE
  331. help
  332. Say Y here if you want to use the IR remote functionality found
  333. in some Winbond SuperI/O chips. Currently only the WPCD376I
  334. chip is supported (included in some Intel Media series
  335. motherboards).
  336. To compile this driver as a module, choose M here: the module will
  337. be called winbond_cir.
  338. config RC_ATI_REMOTE
  339. tristate "ATI / X10 based USB RF remote controls"
  340. depends on USB
  341. help
  342. Say Y here if you want to use an X10 based USB remote control.
  343. These are RF remotes with USB receivers.
  344. Such devices include the ATI remote that comes with many of ATI's
  345. All-In-Wonder video cards, the X10 "Lola" remote, NVIDIA RF remote,
  346. Medion RF remote, and SnapStream FireFly remote.
  347. This driver provides mouse pointer, left and right mouse buttons,
  348. and maps all the other remote buttons to keypress events.
  349. To compile this driver as a module, choose M here: the module will be
  350. called ati_remote.
  351. config RC_LOOPBACK
  352. tristate "Remote Control Loopback Driver"
  353. help
  354. Say Y here if you want support for the remote control loopback
  355. driver which allows TX data to be sent back as RX data.
  356. This is mostly useful for debugging purposes.
  357. If you're not sure, select N here.
  358. To compile this driver as a module, choose M here: the module will
  359. be called rc_loopback.
  360. config RC_ST
  361. tristate "ST remote control receiver"
  362. depends on ARCH_STI || COMPILE_TEST
  363. help
  364. Say Y here if you want support for ST remote control driver
  365. which allows both IR and UHF RX.
  366. The driver passes raw pulse and space information to the LIRC decoder.
  367. If you're not sure, select N here.
  368. config RC_XBOX_DVD
  369. tristate "Xbox DVD Movie Playback Kit"
  370. depends on USB
  371. help
  372. Say Y here if you want to use the Xbox DVD Movie Playback Kit.
  373. These are IR remotes with USB receivers for the Original Xbox (2001).
  374. To compile this driver as a module, choose M here: the module will be
  375. called xbox_remote.
  376. source "drivers/media/rc/img-ir/Kconfig"
  377. endif #RC_DEVICES
  378. endif #RC_CORE