xref: /openbmc/linux/drivers/media/radio/Kconfig (revision fbb6b31a)
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_MAXIRADIO
17	tristate "Guillemot MAXI Radio FM 2000 radio"
18	depends on PCI
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	help
236	  Say Y here to enable support for these ISA drivers.
237
238if V4L_RADIO_ISA_DRIVERS
239
240config RADIO_AZTECH
241	tristate "Aztech/Packard Bell Radio"
242	depends on ISA || COMPILE_TEST
243	select RADIO_ISA
244	help
245	  Choose Y here if you have one of these FM radio cards, and then fill
246	  in the port address below.
247
248	  To compile this driver as a module, choose M here: the
249	  module will be called radio-aztech.
250
251config RADIO_AZTECH_PORT
252	hex "Aztech/Packard Bell I/O port (0x350 or 0x358)"
253	depends on RADIO_AZTECH=y
254	default "350"
255	help
256	  Enter either 0x350 or 0x358 here.  The card default is 0x350, if you
257	  haven't changed the setting of jumper JP3 on the card.  Removing the
258	  jumper sets the card to 0x358.
259
260config RADIO_CADET
261	tristate "ADS Cadet AM/FM Tuner"
262	depends on ISA || COMPILE_TEST
263	help
264	  Choose Y here if you have one of these AM/FM radio cards, and then
265	  fill in the port address below.
266
267	  To compile this driver as a module, choose M here: the
268	  module will be called radio-cadet.
269
270config RADIO_GEMTEK
271	tristate "GemTek Radio card (or compatible) support"
272	depends on ISA || COMPILE_TEST
273	select RADIO_ISA
274	help
275	  Choose Y here if you have this FM radio card, and then fill in the
276	  I/O port address and settings below. The following cards either have
277	  GemTek Radio tuner or are rebranded GemTek Radio cards:
278
279	  - Sound Vision 16 Gold with FM Radio
280	  - Typhoon Radio card (some models)
281	  - Hama Radio card
282
283	  To compile this driver as a module, choose M here: the
284	  module will be called radio-gemtek.
285
286config RADIO_GEMTEK_PORT
287	hex "Fixed I/O port (0x20c, 0x30c, 0x24c, 0x34c, 0x248 or 0x28c)"
288	depends on RADIO_GEMTEK=y
289	default "34c"
290	help
291	  Enter either 0x20c, 0x30c, 0x24c, 0x34c, 0x248 or 0x28c here. The
292	  card default is 0x34c, if you haven't changed the jumper setting
293	  on the card.
294
295	  On Sound Vision 16 Gold PnP with FM Radio (ESS1869+FM Gemtek), the I/O
296	  port is 0x20c, 0x248 or 0x28c.
297
298	  If automatic I/O port probing is enabled this port will be used only
299	  in case of automatic probing failure, ie. as a fallback.
300
301config RADIO_GEMTEK_PROBE
302	bool "Automatic I/O port probing"
303	depends on RADIO_GEMTEK=y
304	default y
305	help
306	  Say Y here to enable automatic probing for GemTek Radio card. The
307	  following ports will be probed: 0x20c, 0x30c, 0x24c, 0x34c, 0x248 and
308	  0x28c.
309
310config RADIO_ISA
311	depends on ISA || COMPILE_TEST
312	tristate
313
314config RADIO_MIROPCM20
315	tristate "miroSOUND PCM20 radio"
316	depends on ISA || COMPILE_TEST
317	depends on ISA_DMA_API && SND
318	select SND_ISA
319	select SND_MIRO
320	help
321	  Choose Y here if you have this FM radio card. You also need to enable
322	  the ALSA sound system. This choice automatically selects the ALSA
323	  sound card driver "Miro miroSOUND PCM1pro/PCM12/PCM20radio" as this
324	  is required for the radio-miropcm20.
325
326	  To compile this driver as a module, choose M here: the
327	  module will be called radio-miropcm20.
328
329config RADIO_RTRACK
330	tristate "AIMSlab RadioTrack (aka RadioReveal) support"
331	depends on ISA || COMPILE_TEST
332	select RADIO_ISA
333	help
334	  Choose Y here if you have one of these FM radio cards, and then fill
335	  in the port address below.
336
337	  Note that newer AIMSlab RadioTrack cards have a different chipset
338	  and are not supported by this driver.  For these cards, use the
339	  RadioTrack II driver below.
340
341	  If you have a GemTeks combined (PnP) sound- and radio card you must
342	  use this driver as a module and setup the card with isapnptools.
343	  You must also pass the module a suitable io parameter, 0x248 has
344	  been reported to be used by these cards.
345
346	  More information is contained in the file
347	  <file:Documentation/driver-api/media/drivers/radiotrack.rst>.
348
349	  To compile this driver as a module, choose M here: the
350	  module will be called radio-aimslab.
351
352config RADIO_RTRACK2
353	tristate "AIMSlab RadioTrack II support"
354	depends on ISA || COMPILE_TEST
355	select RADIO_ISA
356	help
357	  Choose Y here if you have this FM radio card, and then fill in the
358	  port address below.
359
360	  Note: this driver hasn't been tested since a long time due to lack
361	  of hardware. If you have this hardware, then please contact the
362	  linux-media mailinglist.
363
364	  To compile this driver as a module, choose M here: the
365	  module will be called radio-rtrack2.
366
367config RADIO_RTRACK2_PORT
368	hex "RadioTrack II i/o port (0x20c or 0x30c)"
369	depends on RADIO_RTRACK2=y
370	default "30c"
371	help
372	  Enter either 0x30c or 0x20c here.  The card default is 0x30c, if you
373	  haven't changed the jumper setting on the card.
374
375config RADIO_RTRACK_PORT
376	hex "RadioTrack i/o port (0x20f or 0x30f)"
377	depends on RADIO_RTRACK=y
378	default "30f"
379	help
380	  Enter either 0x30f or 0x20f here.  The card default is 0x30f, if you
381	  haven't changed the jumper setting on the card.
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_MUTEFREQ
455	int "Typhoon frequency set when muting the device (kHz)"
456	depends on RADIO_TYPHOON=y
457	default "87500"
458	help
459	  Enter the frequency used for muting the radio. The device is never
460	  completely silent. If the volume is just turned down, you can still
461	  hear silent voices and music. For that reason, the frequency of the
462	  radio device is set to the frequency you can enter here whenever
463	  the device is muted. There should be no local radio station at that
464	  frequency.
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_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