xref: /openbmc/linux/drivers/media/rc/Kconfig (revision 565d76cb)
1menuconfig RC_CORE
2	tristate "Remote Controller adapters"
3	depends on INPUT
4	default INPUT
5	---help---
6	  Enable support for Remote Controllers on Linux. This is
7	  needed in order to support several video capture adapters.
8	  Currently, all supported devices use InfraRed.
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
14if RC_CORE
15
16config LIRC
17	tristate
18	default y
19
20	---help---
21	   Enable this option to build the Linux Infrared Remote
22	   Control (LIRC) core device interface driver. The LIRC
23	   interface passes raw IR to and from userspace, where the
24	   LIRC daemon handles protocol decoding for IR reception and
25	   encoding for IR transmitting (aka "blasting").
26
27source "drivers/media/rc/keymaps/Kconfig"
28
29config IR_NEC_DECODER
30	tristate "Enable IR raw decoder for the NEC protocol"
31	depends on RC_CORE
32	select BITREVERSE
33	default y
34
35	---help---
36	   Enable this option if you have IR with NEC protocol, and
37	   if the IR is decoded in software
38
39config IR_RC5_DECODER
40	tristate "Enable IR raw decoder for the RC-5 protocol"
41	depends on RC_CORE
42	select BITREVERSE
43	default y
44
45	---help---
46	   Enable this option if you have IR with RC-5 protocol, and
47	   if the IR is decoded in software
48
49config IR_RC6_DECODER
50	tristate "Enable IR raw decoder for the RC6 protocol"
51	depends on RC_CORE
52	select BITREVERSE
53	default y
54
55	---help---
56	   Enable this option if you have an infrared remote control which
57	   uses the RC6 protocol, and you need software decoding support.
58
59config IR_JVC_DECODER
60	tristate "Enable IR raw decoder for the JVC protocol"
61	depends on RC_CORE
62	select BITREVERSE
63	default y
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	default y
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_RC5_SZ_DECODER
79	tristate "Enable IR raw decoder for the RC-5 (streamzap) protocol"
80	depends on RC_CORE
81	select BITREVERSE
82	default y
83
84	---help---
85	   Enable this option if you have IR with RC-5 (streamzap) protocol,
86	   and if the IR is decoded in software. (The Streamzap PC Remote
87	   uses an IR protocol that is almost standard RC-5, but not quite,
88	   as it uses an additional bit).
89
90config IR_LIRC_CODEC
91	tristate "Enable IR to LIRC bridge"
92	depends on RC_CORE
93	depends on LIRC
94	default y
95
96	---help---
97	   Enable this option to pass raw IR to and from userspace via
98	   the LIRC interface.
99
100config IR_ENE
101	tristate "ENE eHome Receiver/Transceiver (pnp id: ENE0100/ENE02xxx)"
102	depends on PNP
103	depends on RC_CORE
104	---help---
105	   Say Y here to enable support for integrated infrared receiver
106	   /transceiver made by ENE.
107
108	   You can see if you have it by looking at lspnp output.
109	   Output should include ENE0100 ENE0200 or something similar.
110
111	   To compile this driver as a module, choose M here: the
112	   module will be called ene_ir.
113
114config IR_IMON
115	tristate "SoundGraph iMON Receiver and Display"
116	depends on USB_ARCH_HAS_HCD
117	depends on RC_CORE
118	select USB
119	---help---
120	   Say Y here if you want to use a SoundGraph iMON (aka Antec Veris)
121	   IR Receiver and/or LCD/VFD/VGA display.
122
123	   To compile this driver as a module, choose M here: the
124	   module will be called imon.
125
126config IR_MCEUSB
127	tristate "Windows Media Center Ed. eHome Infrared Transceiver"
128	depends on USB_ARCH_HAS_HCD
129	depends on RC_CORE
130	select USB
131	---help---
132	   Say Y here if you want to use a Windows Media Center Edition
133	   eHome Infrared Transceiver.
134
135	   To compile this driver as a module, choose M here: the
136	   module will be called mceusb.
137
138config IR_NUVOTON
139	tristate "Nuvoton w836x7hg Consumer Infrared Transceiver"
140	depends on PNP
141	depends on RC_CORE
142	---help---
143	   Say Y here to enable support for integrated infrared receiver
144	   /transciever made by Nuvoton (formerly Winbond). This chip is
145	   found in the ASRock ION 330HT, as well as assorted Intel
146	   DP55-series motherboards (and of course, possibly others).
147
148	   To compile this driver as a module, choose M here: the
149	   module will be called nuvoton-cir.
150
151config IR_STREAMZAP
152	tristate "Streamzap PC Remote IR Receiver"
153	depends on USB_ARCH_HAS_HCD
154	depends on RC_CORE
155	select USB
156	---help---
157	   Say Y here if you want to use a Streamzap PC Remote
158	   Infrared Receiver.
159
160	   To compile this driver as a module, choose M here: the
161	   module will be called streamzap.
162
163config IR_WINBOND_CIR
164        tristate "Winbond IR remote control"
165        depends on X86 && PNP
166	depends on RC_CORE
167        select NEW_LEDS
168        select LEDS_CLASS
169        select LEDS_TRIGGERS
170        select BITREVERSE
171	---help---
172           Say Y here if you want to use the IR remote functionality found
173           in some Winbond SuperI/O chips. Currently only the WPCD376I
174           chip is supported (included in some Intel Media series
175	   motherboards).
176
177           To compile this driver as a module, choose M here: the module will
178	   be called winbond_cir.
179
180config RC_LOOPBACK
181	tristate "Remote Control Loopback Driver"
182	depends on RC_CORE
183	---help---
184	   Say Y here if you want support for the remote control loopback
185	   driver which allows TX data to be sent back as RX data.
186	   This is mostly useful for debugging purposes.
187
188	   If you're not sure, select N here.
189
190	   To compile this driver as a module, choose M here: the module will
191	   be called rc_loopback.
192
193endif #RC_CORE
194