xref: /openbmc/linux/drivers/media/radio/Kconfig (revision 9958d30f38b96fb763a10d44d18ddad39127d5f4)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Multimedia Video device configuration
4#
5
6menuconfig RADIO_ADAPTERS
7	bool "Radio Adapters"
8	depends on VIDEO_DEV
9	depends on MEDIA_RADIO_SUPPORT
10	default y
11	help
12	  Say Y here to enable selecting AM/FM radio adapters.
13
14if RADIO_ADAPTERS
15
16config RADIO_TEA575X
17	tristate
18
19source "drivers/media/radio/si470x/Kconfig"
20
21config RADIO_SI4713
22	tristate "Silicon Labs Si4713 FM Radio with RDS Transmitter support"
23
24source "drivers/media/radio/si4713/Kconfig"
25
26config RADIO_SI476X
27	tristate "Silicon Laboratories Si476x I2C FM Radio"
28	depends on I2C
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/userspace-api/media/index.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
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
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 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/userspace-api/media/index.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/userspace-api/media/index.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/userspace-api/media/index.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
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
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
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
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
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
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
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
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/userspace-api/media/index.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	help
236	  Say Y here to enable support for these ISA drivers.
237
238if V4L_RADIO_ISA_DRIVERS
239
240config RADIO_ISA
241	depends on ISA || COMPILE_TEST
242	tristate
243
244config RADIO_CADET
245	tristate "ADS Cadet AM/FM Tuner"
246	depends on ISA || COMPILE_TEST
247	help
248	  Choose Y here if you have one of these AM/FM radio cards, and then
249	  fill in the port address below.
250
251	  To compile this driver as a module, choose M here: the
252	  module will be called radio-cadet.
253
254config RADIO_RTRACK
255	tristate "AIMSlab RadioTrack (aka RadioReveal) support"
256	depends on ISA || COMPILE_TEST
257	select RADIO_ISA
258	help
259	  Choose Y here if you have one of these FM radio cards, and then fill
260	  in the port address below.
261
262	  Note that newer AIMSlab RadioTrack cards have a different chipset
263	  and are not supported by this driver.  For these cards, use the
264	  RadioTrack II driver below.
265
266	  If you have a GemTeks combined (PnP) sound- and radio card you must
267	  use this driver as a module and setup the card with isapnptools.
268	  You must also pass the module a suitable io parameter, 0x248 has
269	  been reported to be used by these cards.
270
271	  More information is contained in the file
272	  <file:Documentation/driver-api/media/drivers/radiotrack.rst>.
273
274	  To compile this driver as a module, choose M here: the
275	  module will be called radio-aimslab.
276
277config RADIO_RTRACK_PORT
278	hex "RadioTrack i/o port (0x20f or 0x30f)"
279	depends on RADIO_RTRACK=y
280	default "30f"
281	help
282	  Enter either 0x30f or 0x20f here.  The card default is 0x30f, if you
283	  haven't changed the jumper setting on the card.
284
285config RADIO_RTRACK2
286	tristate "AIMSlab RadioTrack II support"
287	depends on ISA || COMPILE_TEST
288	select RADIO_ISA
289	help
290	  Choose Y here if you have this FM radio card, and then fill in the
291	  port address below.
292
293	  Note: this driver hasn't been tested since a long time due to lack
294	  of hardware. If you have this hardware, then please contact the
295	  linux-media mailinglist.
296
297	  To compile this driver as a module, choose M here: the
298	  module will be called radio-rtrack2.
299
300config RADIO_RTRACK2_PORT
301	hex "RadioTrack II i/o port (0x20c or 0x30c)"
302	depends on RADIO_RTRACK2=y
303	default "30c"
304	help
305	  Enter either 0x30c or 0x20c here.  The card default is 0x30c, if you
306	  haven't changed the jumper setting on the card.
307
308config RADIO_AZTECH
309	tristate "Aztech/Packard Bell Radio"
310	depends on ISA || COMPILE_TEST
311	select RADIO_ISA
312	help
313	  Choose Y here if you have one of these FM radio cards, and then fill
314	  in the port address below.
315
316	  To compile this driver as a module, choose M here: the
317	  module will be called radio-aztech.
318
319config RADIO_AZTECH_PORT
320	hex "Aztech/Packard Bell I/O port (0x350 or 0x358)"
321	depends on RADIO_AZTECH=y
322	default "350"
323	help
324	  Enter either 0x350 or 0x358 here.  The card default is 0x350, if you
325	  haven't changed the setting of jumper JP3 on the card.  Removing the
326	  jumper sets the card to 0x358.
327
328config RADIO_GEMTEK
329	tristate "GemTek Radio card (or compatible) support"
330	depends on ISA || COMPILE_TEST
331	select RADIO_ISA
332	help
333	  Choose Y here if you have this FM radio card, and then fill in the
334	  I/O port address and settings below. The following cards either have
335	  GemTek Radio tuner or are rebranded GemTek Radio cards:
336
337	  - Sound Vision 16 Gold with FM Radio
338	  - Typhoon Radio card (some models)
339	  - Hama Radio card
340
341	  To compile this driver as a module, choose M here: the
342	  module will be called radio-gemtek.
343
344config RADIO_GEMTEK_PORT
345	hex "Fixed I/O port (0x20c, 0x30c, 0x24c, 0x34c, 0x248 or 0x28c)"
346	depends on RADIO_GEMTEK=y
347	default "34c"
348	help
349	  Enter either 0x20c, 0x30c, 0x24c, 0x34c, 0x248 or 0x28c here. The
350	  card default is 0x34c, if you haven't changed the jumper setting
351	  on the card.
352
353	  On Sound Vision 16 Gold PnP with FM Radio (ESS1869+FM Gemtek), the I/O
354	  port is 0x20c, 0x248 or 0x28c.
355
356	  If automatic I/O port probing is enabled this port will be used only
357	  in case of automatic probing failure, ie. as a fallback.
358
359config RADIO_GEMTEK_PROBE
360	bool "Automatic I/O port probing"
361	depends on RADIO_GEMTEK=y
362	default y
363	help
364	  Say Y here to enable automatic probing for GemTek Radio card. The
365	  following ports will be probed: 0x20c, 0x30c, 0x24c, 0x34c, 0x248 and
366	  0x28c.
367
368config RADIO_MIROPCM20
369	tristate "miroSOUND PCM20 radio"
370	depends on ISA || COMPILE_TEST
371	depends on ISA_DMA_API && SND
372	select SND_ISA
373	select SND_MIRO
374	help
375	  Choose Y here if you have this FM radio card. You also need to enable
376	  the ALSA sound system. This choice automatically selects the ALSA
377	  sound card driver "Miro miroSOUND PCM1pro/PCM12/PCM20radio" as this
378	  is required for the radio-miropcm20.
379
380	  To compile this driver as a module, choose M here: the
381	  module will be called radio-miropcm20.
382
383config RADIO_SF16FMI
384	tristate "SF16-FMI/SF16-FMP/SF16-FMD Radio"
385	depends on ISA || COMPILE_TEST
386	help
387	  Choose Y here if you have one of these FM radio cards.
388
389	  To compile this driver as a module, choose M here: the
390	  module will be called radio-sf16fmi.
391
392config RADIO_SF16FMR2
393	tristate "SF16-FMR2/SF16-FMD2 Radio"
394	depends on ISA || COMPILE_TEST
395	select RADIO_TEA575X
396	help
397	  Choose Y here if you have one of these FM radio cards.
398
399	  To compile this driver as a module, choose M here: the
400	  module will be called radio-sf16fmr2.
401
402config RADIO_TERRATEC
403	tristate "TerraTec ActiveRadio ISA Standalone"
404	depends on ISA || COMPILE_TEST
405	select RADIO_ISA
406	help
407	  Choose Y here if you have this FM radio card.
408
409	  Note: this driver hasn't been tested since a long time due to lack
410	  of hardware. If you have this hardware, then please contact the
411	  linux-media mailinglist.
412
413	  To compile this driver as a module, choose M here: the
414	  module will be called radio-terratec.
415
416config RADIO_TRUST
417	tristate "Trust FM radio card"
418	depends on ISA || COMPILE_TEST
419	select RADIO_ISA
420	help
421	  This is a driver for the Trust FM radio cards. Say Y if you have
422	  such a card and want to use it under Linux.
423
424	  Note: this driver hasn't been tested since a long time due to lack
425	  of hardware. If you have this hardware, then please contact the
426	  linux-media mailinglist.
427
428	  To compile this driver as a module, choose M here: the
429	  module will be called radio-trust.
430
431config RADIO_TRUST_PORT
432	hex "Trust i/o port (usually 0x350 or 0x358)"
433	depends on RADIO_TRUST=y
434	default "350"
435	help
436	  Enter the I/O port of your Trust FM radio card. If unsure, try the
437	  values "0x350" or "0x358".
438
439config RADIO_TYPHOON
440	tristate "Typhoon Radio (a.k.a. EcoRadio)"
441	depends on ISA || COMPILE_TEST
442	select RADIO_ISA
443	help
444	  Choose Y here if you have one of these FM radio cards, and then fill
445	  in the port address and the frequency used for muting below.
446
447	  Note: this driver hasn't been tested since a long time due to lack
448	  of hardware. If you have this hardware, then please contact the
449	  linux-media mailinglist.
450
451	  To compile this driver as a module, choose M here: the
452	  module will be called radio-typhoon.
453
454config RADIO_TYPHOON_PORT
455	hex "Typhoon I/O port (0x316 or 0x336)"
456	depends on RADIO_TYPHOON=y
457	default "316"
458	help
459	  Enter the I/O port of your Typhoon or EcoRadio radio card.
460
461config RADIO_TYPHOON_MUTEFREQ
462	int "Typhoon frequency set when muting the device (kHz)"
463	depends on RADIO_TYPHOON=y
464	default "87500"
465	help
466	  Enter the frequency used for muting the radio. The device is never
467	  completely silent. If the volume is just turned down, you can still
468	  hear silent voices and music. For that reason, the frequency of the
469	  radio device is set to the frequency you can enter here whenever
470	  the device is muted. There should be no local radio station at that
471	  frequency.
472
473config RADIO_ZOLTRIX
474	tristate "Zoltrix Radio"
475	depends on ISA || COMPILE_TEST
476	select RADIO_ISA
477	help
478	  Choose Y here if you have one of these FM radio cards, and then fill
479	  in the port address below.
480
481	  Note: this driver hasn't been tested since a long time due to lack
482	  of hardware. If you have this hardware, then please contact the
483	  linux-media mailinglist.
484
485	  To compile this driver as a module, choose M here: the
486	  module will be called radio-zoltrix.
487
488config RADIO_ZOLTRIX_PORT
489	hex "ZOLTRIX I/O port (0x20c or 0x30c)"
490	depends on RADIO_ZOLTRIX=y
491	default "20c"
492	help
493	  Enter the I/O port of your Zoltrix radio card.
494
495endif # V4L_RADIO_ISA_DRIVERS
496
497endif # RADIO_ADAPTERS
498