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