xref: /linux/drivers/media/Kconfig (revision ed3174d93c342b8b2eeba6bbd124707d55304a7b)
1#
2# Multimedia device configuration
3#
4
5menu "Multimedia devices"
6	depends on HAS_IOMEM
7
8config VIDEO_DEV
9	tristate "Video For Linux"
10	---help---
11	  Support for audio/video capture and overlay devices and FM radio
12	  cards. The exact capabilities of each device vary.
13
14	  This kernel includes support for the new Video for Linux Two API,
15	  (V4L2) as well as the original system. Drivers and applications
16	  need to be rewritten to use V4L2, but drivers for popular cards
17	  and applications for most video capture functions already exist.
18
19	  Additional info and docs are available on the web at
20	  <http://linuxtv.org>
21
22	  Documentation for V4L2 is also available on the web at
23	  <http://bytesex.org/v4l/>.
24
25	  To compile this driver as a module, choose M here: the
26	  module will be called videodev.
27
28config VIDEO_V4L1
29	bool "Enable Video For Linux API 1 (DEPRECATED)"
30	depends on VIDEO_DEV
31	select VIDEO_V4L1_COMPAT
32	default y
33	---help---
34	  Enables a compatibility API used by most V4L2 devices to allow
35	  its usage with legacy applications that supports only V4L1 api.
36
37	  If you are unsure as to whether this is required, answer Y.
38
39config VIDEO_V4L1_COMPAT
40	bool "Enable Video For Linux API 1 compatible Layer"
41	depends on VIDEO_DEV
42	default y
43	---help---
44	  This api were developed to be used at Kernel 2.2 and 2.4, but
45	  lacks support for several video standards. There are several
46	  drivers at kernel that still depends on it.
47
48	  Documentation for the original API is included in the file
49	  <Documentation/video4linux/API.html>.
50
51	  User tools for this are available from
52	  <ftp://ftp.uk.linux.org/pub/linux/video4linux/>.
53
54	  If you are unsure as to whether this is required, answer Y.
55
56config VIDEO_V4L2
57	bool
58	depends on VIDEO_DEV
59	default y
60
61source "drivers/media/video/Kconfig"
62
63source "drivers/media/radio/Kconfig"
64
65source "drivers/media/dvb/Kconfig"
66
67source "drivers/media/common/Kconfig"
68
69config VIDEO_TUNER
70	tristate
71	depends on I2C
72	select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE
73	select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE
74	select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE
75	select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE
76	select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE
77	select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE
78	select TUNER_TDA9887 if !VIDEO_TUNER_CUSTOMIZE
79
80menuconfig VIDEO_TUNER_CUSTOMIZE
81	bool "Customize analog tuner modules to build"
82	depends on VIDEO_TUNER
83	help
84	  This allows the user to deselect tuner drivers unnecessary
85	  for their hardware from the build. Use this option with care
86	  as deselecting tuner drivers which are in fact necessary will
87	  result in V4L devices which cannot be tuned due to lack of
88	  driver support
89
90	  If unsure say N.
91
92if VIDEO_TUNER_CUSTOMIZE
93
94config TUNER_XC2028
95	tristate "XCeive xc2028/xc3028 tuners"
96	depends on I2C
97	default m if VIDEO_TUNER_CUSTOMIZE
98	help
99	  Say Y here to include support for the xc2028/xc3028 tuners.
100
101config TUNER_MT20XX
102	tristate "Microtune 2032 / 2050 tuners"
103	depends on I2C
104	default m if VIDEO_TUNER_CUSTOMIZE
105	help
106	  Say Y here to include support for the MT2032 / MT2050 tuner.
107
108config TUNER_TDA8290
109	tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo"
110	depends on I2C
111	select DVB_TDA827X
112	select DVB_TDA18271
113	default m if VIDEO_TUNER_CUSTOMIZE
114	help
115	  Say Y here to include support for Philips TDA8290+8275(a) tuner.
116
117config TUNER_TEA5761
118	tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
119	depends on I2C && EXPERIMENTAL
120	default m if VIDEO_TUNER_CUSTOMIZE
121	help
122	  Say Y here to include support for the Philips TEA5761 radio tuner.
123
124config TUNER_TEA5767
125	tristate "TEA 5767 radio tuner"
126	depends on I2C
127	default m if VIDEO_TUNER_CUSTOMIZE
128	help
129	  Say Y here to include support for the Philips TEA5767 radio tuner.
130
131config TUNER_SIMPLE
132	tristate "Simple tuner support"
133	depends on I2C
134	select TUNER_TDA9887
135	default m if VIDEO_TUNER_CUSTOMIZE
136	help
137	  Say Y here to include support for various simple tuners.
138
139config TUNER_TDA9887
140	tristate "TDA 9885/6/7 analog IF demodulator"
141	depends on I2C
142	default m if VIDEO_TUNER_CUSTOMIZE
143	help
144	  Say Y here to include support for Philips TDA9885/6/7
145	  analog IF demodulator.
146
147endif # VIDEO_TUNER_CUSTOMIZE
148
149config VIDEOBUF_GEN
150	tristate
151
152config VIDEOBUF_DMA_SG
153	depends on PCI
154	select VIDEOBUF_GEN
155	tristate
156
157config VIDEOBUF_VMALLOC
158	select VIDEOBUF_GEN
159	tristate
160
161config VIDEOBUF_DVB
162	tristate
163	select VIDEOBUF_GEN
164	select VIDEOBUF_DMA_SG
165
166config VIDEO_BTCX
167	tristate
168
169config VIDEO_IR_I2C
170	tristate
171
172config VIDEO_IR
173	tristate
174	depends on INPUT
175	select VIDEO_IR_I2C if I2C
176
177config VIDEO_TVEEPROM
178	tristate
179	depends on I2C
180
181config DAB
182	boolean "DAB adapters"
183	default y
184	---help---
185	  Allow selecting support for for Digital Audio Broadcasting (DAB)
186	  Receiver adapters.
187
188if DAB
189config USB_DABUSB
190	tristate "DABUSB driver"
191	depends on USB
192	---help---
193	  A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
194	  brought to you by the DAB-Team
195	  <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
196	  as an example for URB-based bulk, control, and isochronous
197	  transactions. URB's are explained in
198	  <Documentation/usb/URB.txt>.
199
200	  To compile this driver as a module, choose M here: the
201	  module will be called dabusb.
202endif # DAB
203
204endmenu
205