xref: /openbmc/linux/drivers/media/radio/Kconfig (revision 7296bd3f)
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 RADIO_WL1273
145	tristate "Texas Instruments WL1273 I2C FM Radio"
146	depends on I2C
147	select MFD_CORE
148	select MFD_WL1273_CORE
149	select FW_LOADER
150	help
151	  Choose Y here if you have this FM radio chip.
152
153	  In order to control your radio card, you will need to use programs
154	  that are compatible with the Video For Linux 2 API.  Information on
155	  this API and pointers to "v4l2" programs may be found at
156	  <file:Documentation/userspace-api/media/index.rst>.
157
158	  To compile this driver as a module, choose M here: the
159	  module will be called radio-wl1273.
160
161config USB_DSBR
162	tristate "D-Link/GemTek USB FM radio support"
163	depends on USB
164	help
165	  Say Y here if you want to connect this type of radio to your
166	  computer's USB port. Note that the audio is not digital, and
167	  you must connect the line out connector to a sound card or a
168	  set of speakers.
169
170	  To compile this driver as a module, choose M here: the
171	  module will be called dsbr100.
172
173config USB_KEENE
174	tristate "Keene FM Transmitter USB support"
175	depends on USB
176	help
177	  Say Y here if you want to connect this type of FM transmitter
178	  to your computer's USB port.
179
180	  To compile this driver as a module, choose M here: the
181	  module will be called radio-keene.
182
183config USB_MA901
184	tristate "Masterkit MA901 USB FM radio support"
185	depends on USB
186	help
187	  Say Y here if you want to connect this type of radio to your
188	  computer's USB port. Note that the audio is not digital, and
189	  you must connect the line out connector to a sound card or a
190	  set of speakers or headphones.
191
192	  To compile this driver as a module, choose M here: the
193	  module will be called radio-ma901.
194
195config USB_MR800
196	tristate "AverMedia MR 800 USB FM radio support"
197	depends on USB
198	help
199	  Say Y here if you want to connect this type of radio to your
200	  computer's USB port. Note that the audio is not digital, and
201	  you must connect the line out connector to a sound card or a
202	  set of speakers.
203
204	  To compile this driver as a module, choose M here: the
205	  module will be called radio-mr800.
206
207config USB_RAREMONO
208	tristate "Thanko's Raremono AM/FM/SW radio support"
209	depends on USB
210	help
211	  The 'Thanko's Raremono' device contains the Si4734 chip from Silicon Labs Inc.
212	  It is one of the very few or perhaps the only consumer USB radio device
213	  to receive the AM/FM/SW bands.
214
215	  Say Y here if you want to connect this type of AM/FM/SW receiver
216	  to your computer's USB port.
217
218	  To compile this driver as a module, choose M here: the
219	  module will be called radio-raremono.
220
221source "drivers/media/radio/si470x/Kconfig"
222source "drivers/media/radio/si4713/Kconfig"
223
224# TI's ST based wl128x FM radio
225
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	depends on HAS_IOPORT
236	help
237	  Say Y here to enable support for these ISA drivers.
238
239if V4L_RADIO_ISA_DRIVERS
240
241config RADIO_AZTECH
242	tristate "Aztech/Packard Bell Radio"
243	depends on ISA || COMPILE_TEST
244	depends on HAS_IOPORT
245	select RADIO_ISA
246	help
247	  Choose Y here if you have one of these FM radio cards, and then fill
248	  in the port address below.
249
250	  To compile this driver as a module, choose M here: the
251	  module will be called radio-aztech.
252
253config RADIO_AZTECH_PORT
254	hex "Aztech/Packard Bell I/O port (0x350 or 0x358)"
255	depends on RADIO_AZTECH=y
256	default "350"
257	help
258	  Enter either 0x350 or 0x358 here.  The card default is 0x350, if you
259	  haven't changed the setting of jumper JP3 on the card.  Removing the
260	  jumper sets the card to 0x358.
261
262config RADIO_CADET
263	tristate "ADS Cadet AM/FM Tuner"
264	depends on ISA || COMPILE_TEST
265	depends on HAS_IOPORT
266	help
267	  Choose Y here if you have one of these AM/FM radio cards, and then
268	  fill in the port address below.
269
270	  To compile this driver as a module, choose M here: the
271	  module will be called radio-cadet.
272
273config RADIO_GEMTEK
274	tristate "GemTek Radio card (or compatible) support"
275	depends on ISA || COMPILE_TEST
276	depends on HAS_IOPORT
277	select RADIO_ISA
278	help
279	  Choose Y here if you have this FM radio card, and then fill in the
280	  I/O port address and settings below. The following cards either have
281	  GemTek Radio tuner or are rebranded GemTek Radio cards:
282
283	  - Sound Vision 16 Gold with FM Radio
284	  - Typhoon Radio card (some models)
285	  - Hama Radio card
286
287	  To compile this driver as a module, choose M here: the
288	  module will be called radio-gemtek.
289
290config RADIO_GEMTEK_PORT
291	hex "Fixed I/O port (0x20c, 0x30c, 0x24c, 0x34c, 0x248 or 0x28c)"
292	depends on RADIO_GEMTEK=y
293	default "34c"
294	help
295	  Enter either 0x20c, 0x30c, 0x24c, 0x34c, 0x248 or 0x28c here. The
296	  card default is 0x34c, if you haven't changed the jumper setting
297	  on the card.
298
299	  On Sound Vision 16 Gold PnP with FM Radio (ESS1869+FM Gemtek), the I/O
300	  port is 0x20c, 0x248 or 0x28c.
301
302	  If automatic I/O port probing is enabled this port will be used only
303	  in case of automatic probing failure, ie. as a fallback.
304
305config RADIO_GEMTEK_PROBE
306	bool "Automatic I/O port probing"
307	depends on RADIO_GEMTEK=y
308	default y
309	help
310	  Say Y here to enable automatic probing for GemTek Radio card. The
311	  following ports will be probed: 0x20c, 0x30c, 0x24c, 0x34c, 0x248 and
312	  0x28c.
313
314config RADIO_ISA
315	depends on ISA || COMPILE_TEST
316	depends on HAS_IOPORT
317	tristate
318
319config RADIO_MIROPCM20
320	tristate "miroSOUND PCM20 radio"
321	depends on ISA || COMPILE_TEST
322	depends on ISA_DMA_API && SND
323	select SND_ISA
324	select SND_MIRO
325	help
326	  Choose Y here if you have this FM radio card. You also need to enable
327	  the ALSA sound system. This choice automatically selects the ALSA
328	  sound card driver "Miro miroSOUND PCM1pro/PCM12/PCM20radio" as this
329	  is required for the radio-miropcm20.
330
331	  To compile this driver as a module, choose M here: the
332	  module will be called radio-miropcm20.
333
334config RADIO_RTRACK
335	tristate "AIMSlab RadioTrack (aka RadioReveal) support"
336	depends on ISA || COMPILE_TEST
337	depends on HAS_IOPORT
338	select RADIO_ISA
339	help
340	  Choose Y here if you have one of these FM radio cards, and then fill
341	  in the port address below.
342
343	  Note that newer AIMSlab RadioTrack cards have a different chipset
344	  and are not supported by this driver.  For these cards, use the
345	  RadioTrack II driver below.
346
347	  If you have a GemTeks combined (PnP) sound- and radio card you must
348	  use this driver as a module and setup the card with isapnptools.
349	  You must also pass the module a suitable io parameter, 0x248 has
350	  been reported to be used by these cards.
351
352	  More information is contained in the file
353	  <file:Documentation/driver-api/media/drivers/radiotrack.rst>.
354
355	  To compile this driver as a module, choose M here: the
356	  module will be called radio-aimslab.
357
358config RADIO_RTRACK2
359	tristate "AIMSlab RadioTrack II support"
360	depends on ISA || COMPILE_TEST
361	select RADIO_ISA
362	help
363	  Choose Y here if you have this FM radio card, and then fill in the
364	  port address below.
365
366	  Note: this driver hasn't been tested since a long time due to lack
367	  of hardware. If you have this hardware, then please contact the
368	  linux-media mailinglist.
369
370	  To compile this driver as a module, choose M here: the
371	  module will be called radio-rtrack2.
372
373config RADIO_RTRACK2_PORT
374	hex "RadioTrack II i/o port (0x20c or 0x30c)"
375	depends on RADIO_RTRACK2=y
376	default "30c"
377	help
378	  Enter either 0x30c or 0x20c here.  The card default is 0x30c, if you
379	  haven't changed the jumper setting on the card.
380
381config RADIO_RTRACK_PORT
382	hex "RadioTrack i/o port (0x20f or 0x30f)"
383	depends on RADIO_RTRACK=y
384	default "30f"
385	help
386	  Enter either 0x30f or 0x20f here.  The card default is 0x30f, if you
387	  haven't changed the jumper setting on the card.
388
389config RADIO_SF16FMI
390	tristate "SF16-FMI/SF16-FMP/SF16-FMD Radio"
391	depends on ISA || COMPILE_TEST
392	depends on HAS_IOPORT
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 HAS_IOPORT
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 HAS_IOPORT
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 HAS_IOPORT
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 HAS_IOPORT
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_MUTEFREQ
466	int "Typhoon frequency set when muting the device (kHz)"
467	depends on RADIO_TYPHOON=y
468	default "87500"
469	help
470	  Enter the frequency used for muting the radio. The device is never
471	  completely silent. If the volume is just turned down, you can still
472	  hear silent voices and music. For that reason, the frequency of the
473	  radio device is set to the frequency you can enter here whenever
474	  the device is muted. There should be no local radio station at that
475	  frequency.
476
477config RADIO_TYPHOON_PORT
478	hex "Typhoon I/O port (0x316 or 0x336)"
479	depends on RADIO_TYPHOON=y
480	default "316"
481	help
482	  Enter the I/O port of your Typhoon or EcoRadio radio card.
483
484config RADIO_ZOLTRIX
485	tristate "Zoltrix Radio"
486	depends on ISA || COMPILE_TEST
487	depends on HAS_IOPORT
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