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