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