xref: /openbmc/linux/drivers/media/radio/Kconfig (revision e3d786a3)
1#
2# Multimedia Video device configuration
3#
4
5menuconfig RADIO_ADAPTERS
6	bool "Radio Adapters"
7	depends on VIDEO_V4L2
8	depends on MEDIA_RADIO_SUPPORT
9	default y
10	---help---
11	  Say Y here to enable selecting AM/FM radio adapters.
12
13if RADIO_ADAPTERS && VIDEO_V4L2
14
15config RADIO_TEA575X
16	tristate
17
18source "drivers/media/radio/si470x/Kconfig"
19
20config RADIO_SI4713
21	tristate "Silicon Labs Si4713 FM Radio with RDS Transmitter support"
22	depends on VIDEO_V4L2
23
24source "drivers/media/radio/si4713/Kconfig"
25
26config RADIO_SI476X
27	tristate "Silicon Laboratories Si476x I2C FM Radio"
28	depends on I2C && VIDEO_V4L2
29	depends on MFD_SI476X_CORE
30	depends on SND_SOC
31	select SND_SOC_SI476X
32	---help---
33	  Choose Y here if you have this FM radio chip.
34
35	  In order to control your radio card, you will need to use programs
36	  that are compatible with the Video For Linux 2 API.  Information on
37	  this API and pointers to "v4l2" programs may be found at
38	  <file:Documentation/media/media_uapi.rst>.
39
40	  To compile this driver as a module, choose M here: the
41	  module will be called radio-si476x.
42
43config USB_MR800
44	tristate "AverMedia MR 800 USB FM radio support"
45	depends on USB && VIDEO_V4L2
46	---help---
47	  Say Y here if you want to connect this type of radio to your
48	  computer's USB port. Note that the audio is not digital, and
49	  you must connect the line out connector to a sound card or a
50	  set of speakers.
51
52	  To compile this driver as a module, choose M here: the
53	  module will be called radio-mr800.
54
55config USB_DSBR
56	tristate "D-Link/GemTek USB FM radio support"
57	depends on USB && VIDEO_V4L2
58	---help---
59	  Say Y here if you want to connect this type of radio to your
60	  computer's USB port. Note that the audio is not digital, and
61	  you must connect the line out connector to a sound card or a
62	  set of speakers.
63
64	  To compile this driver as a module, choose M here: the
65	  module will be called dsbr100.
66
67config RADIO_MAXIRADIO
68	tristate "Guillemot MAXI Radio FM 2000 radio"
69	depends on VIDEO_V4L2 && PCI
70	select RADIO_TEA575X
71	---help---
72	  Choose Y here if you have this radio card.  This card may also be
73	  found as Gemtek PCI FM.
74
75	  In order to control your radio card, you will need to use programs
76	  that are compatible with the Video For Linux API.  Information on
77	  this API and pointers to "v4l" programs may be found at
78	  <file:Documentation/media/media_uapi.rst>.
79
80	  To compile this driver as a module, choose M here: the
81	  module will be called radio-maxiradio.
82
83config RADIO_SHARK
84	tristate "Griffin radioSHARK USB radio receiver"
85	depends on USB
86	select RADIO_TEA575X
87	---help---
88	  Choose Y here if you have this radio receiver.
89
90	  There are 2 versions of this device, this driver is for version 1,
91	  which is white.
92
93	  In order to control your radio card, you will need to use programs
94	  that are compatible with the Video For Linux API.  Information on
95	  this API and pointers to "v4l" programs may be found at
96	  <file:Documentation/media/media_uapi.rst>.
97
98	  To compile this driver as a module, choose M here: the
99	  module will be called radio-shark.
100
101config RADIO_SHARK2
102	tristate "Griffin radioSHARK2 USB radio receiver"
103	depends on USB
104	---help---
105	  Choose Y here if you have this radio receiver.
106
107	  There are 2 versions of this device, this driver is for version 2,
108	  which is black.
109
110	  In order to control your radio card, you will need to use programs
111	  that are compatible with the Video For Linux API.  Information on
112	  this API and pointers to "v4l" programs may be found at
113	  <file:Documentation/media/media_uapi.rst>.
114
115	  To compile this driver as a module, choose M here: the
116	  module will be called radio-shark2.
117
118config USB_KEENE
119	tristate "Keene FM Transmitter USB support"
120	depends on USB && VIDEO_V4L2
121	---help---
122	  Say Y here if you want to connect this type of FM transmitter
123	  to your computer's USB port.
124
125	  To compile this driver as a module, choose M here: the
126	  module will be called radio-keene.
127
128config USB_RAREMONO
129	tristate "Thanko's Raremono AM/FM/SW radio support"
130	depends on USB && VIDEO_V4L2
131	---help---
132	  The 'Thanko's Raremono' device contains the Si4734 chip from Silicon Labs Inc.
133	  It is one of the very few or perhaps the only consumer USB radio device
134	  to receive the AM/FM/SW bands.
135
136	  Say Y here if you want to connect this type of AM/FM/SW receiver
137	  to your computer's USB port.
138
139	  To compile this driver as a module, choose M here: the
140	  module will be called radio-raremono.
141
142config USB_MA901
143	tristate "Masterkit MA901 USB FM radio support"
144	depends on USB && VIDEO_V4L2
145	---help---
146	  Say Y here if you want to connect this type of radio to your
147	  computer's USB port. Note that the audio is not digital, and
148	  you must connect the line out connector to a sound card or a
149	  set of speakers or headphones.
150
151	  To compile this driver as a module, choose M here: the
152	  module will be called radio-ma901.
153
154config RADIO_TEA5764
155	tristate "TEA5764 I2C FM radio support"
156	depends on I2C && VIDEO_V4L2
157	---help---
158	  Say Y here if you want to use the TEA5764 FM chip found in
159	  EZX phones. This FM chip is present in EZX phones from Motorola,
160	  connected to internal pxa I2C bus.
161
162	  To compile this driver as a module, choose M here: the
163	  module will be called radio-tea5764.
164
165config RADIO_TEA5764_XTAL
166	bool "TEA5764 crystal reference"
167	depends on RADIO_TEA5764=y
168	default y
169	help
170	  Say Y here if TEA5764 have a 32768 Hz crystal in circuit, say N
171	  here if TEA5764 reference frequency is connected in FREQIN.
172
173config RADIO_SAA7706H
174	tristate "SAA7706H Car Radio DSP"
175	depends on I2C && VIDEO_V4L2
176	---help---
177	  Say Y here if you want to use the SAA7706H Car radio Digital
178	  Signal Processor, found for instance on the Russellville development
179	  board. On the russellville the device is connected to internal
180	  timberdale I2C bus.
181
182	  To compile this driver as a module, choose M here: the
183	  module will be called SAA7706H.
184
185config RADIO_TEF6862
186	tristate "TEF6862 Car Radio Enhanced Selectivity Tuner"
187	depends on I2C && VIDEO_V4L2
188	---help---
189	  Say Y here if you want to use the TEF6862 Car Radio Enhanced
190	  Selectivity Tuner, found for instance on the Russellville development
191	  board. On the russellville the device is connected to internal
192	  timberdale I2C bus.
193
194	  To compile this driver as a module, choose M here: the
195	  module will be called TEF6862.
196
197config RADIO_TIMBERDALE
198	tristate "Enable the Timberdale radio driver"
199	depends on MFD_TIMBERDALE && VIDEO_V4L2
200	depends on I2C	# for RADIO_SAA7706H
201	select RADIO_TEF6862
202	select RADIO_SAA7706H
203	---help---
204	  This is a kind of umbrella driver for the Radio Tuner and DSP
205	  found behind the Timberdale FPGA on the Russellville board.
206	  Enabling this driver will automatically select the DSP and tuner.
207
208config RADIO_WL1273
209	tristate "Texas Instruments WL1273 I2C FM Radio"
210	depends on I2C && VIDEO_V4L2
211	select MFD_CORE
212	select MFD_WL1273_CORE
213	select FW_LOADER
214	---help---
215	  Choose Y here if you have this FM radio chip.
216
217	  In order to control your radio card, you will need to use programs
218	  that are compatible with the Video For Linux 2 API.  Information on
219	  this API and pointers to "v4l2" programs may be found at
220	  <file:Documentation/media/media_uapi.rst>.
221
222	  To compile this driver as a module, choose M here: the
223	  module will be called radio-wl1273.
224
225# TI's ST based wl128x FM radio
226source "drivers/media/radio/wl128x/Kconfig"
227
228#
229# ISA drivers configuration
230#
231
232menuconfig V4L_RADIO_ISA_DRIVERS
233	bool "ISA radio devices"
234	depends on ISA || COMPILE_TEST
235	default n
236	---help---
237	  Say Y here to enable support for these ISA drivers.
238
239if V4L_RADIO_ISA_DRIVERS
240
241config RADIO_ISA
242	depends on ISA || COMPILE_TEST
243	tristate
244
245config RADIO_CADET
246	tristate "ADS Cadet AM/FM Tuner"
247	depends on ISA || COMPILE_TEST
248	depends on VIDEO_V4L2
249	---help---
250	  Choose Y here if you have one of these AM/FM radio cards, and then
251	  fill in the port address below.
252
253	  To compile this driver as a module, choose M here: the
254	  module will be called radio-cadet.
255
256config RADIO_RTRACK
257	tristate "AIMSlab RadioTrack (aka RadioReveal) support"
258	depends on ISA || COMPILE_TEST
259	depends on VIDEO_V4L2
260	select RADIO_ISA
261	---help---
262	  Choose Y here if you have one of these FM radio cards, and then fill
263	  in the port address below.
264
265	  Note that newer AIMSlab RadioTrack cards have a different chipset
266	  and are not supported by this driver.  For these cards, use the
267	  RadioTrack II driver below.
268
269	  If you have a GemTeks combined (PnP) sound- and radio card you must
270	  use this driver as a module and setup the card with isapnptools.
271	  You must also pass the module a suitable io parameter, 0x248 has
272	  been reported to be used by these cards.
273
274	  More information is contained in the file
275	  <file:Documentation/media/v4l-drivers/radiotrack.rst>.
276
277	  To compile this driver as a module, choose M here: the
278	  module will be called radio-aimslab.
279
280config RADIO_RTRACK_PORT
281	hex "RadioTrack i/o port (0x20f or 0x30f)"
282	depends on RADIO_RTRACK=y
283	default "30f"
284	help
285	  Enter either 0x30f or 0x20f here.  The card default is 0x30f, if you
286	  haven't changed the jumper setting on the card.
287
288config RADIO_RTRACK2
289	tristate "AIMSlab RadioTrack II support"
290	depends on ISA || COMPILE_TEST
291	depends on VIDEO_V4L2
292	select RADIO_ISA
293	---help---
294	  Choose Y here if you have this FM radio card, and then fill in the
295	  port address below.
296
297	  Note: this driver hasn't been tested since a long time due to lack
298	  of hardware. If you have this hardware, then please contact the
299	  linux-media mailinglist.
300
301	  To compile this driver as a module, choose M here: the
302	  module will be called radio-rtrack2.
303
304config RADIO_RTRACK2_PORT
305	hex "RadioTrack II i/o port (0x20c or 0x30c)"
306	depends on RADIO_RTRACK2=y
307	default "30c"
308	help
309	  Enter either 0x30c or 0x20c here.  The card default is 0x30c, if you
310	  haven't changed the jumper setting on the card.
311
312config RADIO_AZTECH
313	tristate "Aztech/Packard Bell Radio"
314	depends on ISA || COMPILE_TEST
315	depends on VIDEO_V4L2
316	select RADIO_ISA
317	---help---
318	  Choose Y here if you have one of these FM radio cards, and then fill
319	  in the port address below.
320
321	  To compile this driver as a module, choose M here: the
322	  module will be called radio-aztech.
323
324config RADIO_AZTECH_PORT
325	hex "Aztech/Packard Bell I/O port (0x350 or 0x358)"
326	depends on RADIO_AZTECH=y
327	default "350"
328	help
329	  Enter either 0x350 or 0x358 here.  The card default is 0x350, if you
330	  haven't changed the setting of jumper JP3 on the card.  Removing the
331	  jumper sets the card to 0x358.
332
333config RADIO_GEMTEK
334	tristate "GemTek Radio card (or compatible) support"
335	depends on ISA || COMPILE_TEST
336	depends on VIDEO_V4L2
337	select RADIO_ISA
338	---help---
339	  Choose Y here if you have this FM radio card, and then fill in the
340	  I/O port address and settings below. The following cards either have
341	  GemTek Radio tuner or are rebranded GemTek Radio cards:
342
343	  - Sound Vision 16 Gold with FM Radio
344	  - Typhoon Radio card (some models)
345	  - Hama Radio card
346
347	  To compile this driver as a module, choose M here: the
348	  module will be called radio-gemtek.
349
350config RADIO_GEMTEK_PORT
351	hex "Fixed I/O port (0x20c, 0x30c, 0x24c, 0x34c, 0x248 or 0x28c)"
352	depends on RADIO_GEMTEK=y
353	default "34c"
354	help
355	  Enter either 0x20c, 0x30c, 0x24c, 0x34c, 0x248 or 0x28c here. The
356	  card default is 0x34c, if you haven't changed the jumper setting
357	  on the card.
358
359	  On Sound Vision 16 Gold PnP with FM Radio (ESS1869+FM Gemtek), the I/O
360	  port is 0x20c, 0x248 or 0x28c.
361
362	  If automatic I/O port probing is enabled this port will be used only
363	  in case of automatic probing failure, ie. as a fallback.
364
365config RADIO_GEMTEK_PROBE
366	bool "Automatic I/O port probing"
367	depends on RADIO_GEMTEK=y
368	default y
369	help
370	  Say Y here to enable automatic probing for GemTek Radio card. The
371	  following ports will be probed: 0x20c, 0x30c, 0x24c, 0x34c, 0x248 and
372	  0x28c.
373
374config RADIO_MIROPCM20
375	tristate "miroSOUND PCM20 radio"
376	depends on ISA || COMPILE_TEST
377	depends on ISA_DMA_API && VIDEO_V4L2 && SND
378	select SND_ISA
379	select SND_MIRO
380	---help---
381	  Choose Y here if you have this FM radio card. You also need to enable
382	  the ALSA sound system. This choice automatically selects the ALSA
383	  sound card driver "Miro miroSOUND PCM1pro/PCM12/PCM20radio" as this
384	  is required for the radio-miropcm20.
385
386	  To compile this driver as a module, choose M here: the
387	  module will be called radio-miropcm20.
388
389config RADIO_SF16FMI
390	tristate "SF16-FMI/SF16-FMP/SF16-FMD Radio"
391	depends on ISA || COMPILE_TEST
392	depends on VIDEO_V4L2
393	---help---
394	  Choose Y here if you have one of these FM radio cards.
395
396	  To compile this driver as a module, choose M here: the
397	  module will be called radio-sf16fmi.
398
399config RADIO_SF16FMR2
400	tristate "SF16-FMR2/SF16-FMD2 Radio"
401	depends on ISA || COMPILE_TEST
402	depends on VIDEO_V4L2
403	select RADIO_TEA575X
404	---help---
405	  Choose Y here if you have one of these FM radio cards.
406
407	  To compile this driver as a module, choose M here: the
408	  module will be called radio-sf16fmr2.
409
410config RADIO_TERRATEC
411	tristate "TerraTec ActiveRadio ISA Standalone"
412	depends on ISA || COMPILE_TEST
413	depends on VIDEO_V4L2
414	select RADIO_ISA
415	---help---
416	  Choose Y here if you have this FM radio card.
417
418	  Note: this driver hasn't been tested since a long time due to lack
419	  of hardware. If you have this hardware, then please contact the
420	  linux-media mailinglist.
421
422	  To compile this driver as a module, choose M here: the
423	  module will be called radio-terratec.
424
425config RADIO_TRUST
426	tristate "Trust FM radio card"
427	depends on ISA || COMPILE_TEST
428	depends on VIDEO_V4L2
429	select RADIO_ISA
430	help
431	  This is a driver for the Trust FM radio cards. Say Y if you have
432	  such a card and want to use it under Linux.
433
434	  Note: this driver hasn't been tested since a long time due to lack
435	  of hardware. If you have this hardware, then please contact the
436	  linux-media mailinglist.
437
438	  To compile this driver as a module, choose M here: the
439	  module will be called radio-trust.
440
441config RADIO_TRUST_PORT
442	hex "Trust i/o port (usually 0x350 or 0x358)"
443	depends on RADIO_TRUST=y
444	default "350"
445	help
446	  Enter the I/O port of your Trust FM radio card. If unsure, try the
447	  values "0x350" or "0x358".
448
449config RADIO_TYPHOON
450	tristate "Typhoon Radio (a.k.a. EcoRadio)"
451	depends on ISA || COMPILE_TEST
452	depends on VIDEO_V4L2
453	select RADIO_ISA
454	---help---
455	  Choose Y here if you have one of these FM radio cards, and then fill
456	  in the port address and the frequency used for muting below.
457
458	  Note: this driver hasn't been tested since a long time due to lack
459	  of hardware. If you have this hardware, then please contact the
460	  linux-media mailinglist.
461
462	  To compile this driver as a module, choose M here: the
463	  module will be called radio-typhoon.
464
465config RADIO_TYPHOON_PORT
466	hex "Typhoon I/O port (0x316 or 0x336)"
467	depends on RADIO_TYPHOON=y
468	default "316"
469	help
470	  Enter the I/O port of your Typhoon or EcoRadio radio card.
471
472config RADIO_TYPHOON_MUTEFREQ
473	int "Typhoon frequency set when muting the device (kHz)"
474	depends on RADIO_TYPHOON=y
475	default "87500"
476	help
477	  Enter the frequency used for muting the radio. The device is never
478	  completely silent. If the volume is just turned down, you can still
479	  hear silent voices and music. For that reason, the frequency of the
480	  radio device is set to the frequency you can enter here whenever
481	  the device is muted. There should be no local radio station at that
482	  frequency.
483
484config RADIO_ZOLTRIX
485	tristate "Zoltrix Radio"
486	depends on ISA || COMPILE_TEST
487	depends on VIDEO_V4L2
488	select RADIO_ISA
489	---help---
490	  Choose Y here if you have one of these FM radio cards, and then fill
491	  in the port address below.
492
493	  Note: this driver hasn't been tested since a long time due to lack
494	  of hardware. If you have this hardware, then please contact the
495	  linux-media mailinglist.
496
497	  To compile this driver as a module, choose M here: the
498	  module will be called radio-zoltrix.
499
500config RADIO_ZOLTRIX_PORT
501	hex "ZOLTRIX I/O port (0x20c or 0x30c)"
502	depends on RADIO_ZOLTRIX=y
503	default "20c"
504	help
505	  Enter the I/O port of your Zoltrix radio card.
506
507endif # V4L_RADIO_ISA_DRIVERS
508
509endif # RADIO_ADAPTERS
510