xref: /openbmc/linux/drivers/media/radio/Kconfig (revision 4bb1eb3c)
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/userspace-api/media/index.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/userspace-api/media/index.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/userspace-api/media/index.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/userspace-api/media/index.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/userspace-api/media/index.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	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/driver-api/media/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