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