V4L/DVB (6430): Convert tuner-xc2028 driver to the newer hybrid approach
[linux-block.git] / drivers / media / Kconfig
1 #
2 # Multimedia device configuration
3 #
4
5 menu "Multimedia devices"
6         depends on HAS_IOMEM
7
8 config 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
28 config 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
39 config 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
56 config VIDEO_V4L2
57         bool
58         depends on VIDEO_DEV
59         default y
60
61 source "drivers/media/video/Kconfig"
62
63 source "drivers/media/radio/Kconfig"
64
65 source "drivers/media/dvb/Kconfig"
66
67 source "drivers/media/common/Kconfig"
68
69 config 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
79 menuconfig VIDEO_TUNER_CUSTOMIZE
80         bool "Customize analog tuner modules to build"
81         depends on VIDEO_TUNER
82         help
83           This allows the user to deselect tuner drivers unnecessary
84           for their hardware from the build. Use this option with care
85           as deselecting tuner drivers which are in fact necessary will
86           result in V4L devices which cannot be tuned due to lack of
87           driver support
88
89           If unsure say N.
90
91 if VIDEO_TUNER_CUSTOMIZE
92
93 config TUNER_XC2028
94         tristate "XCeive xc2028/xc3028 tuners"
95         depends on I2C
96         default m if VIDEO_TUNER_CUSTOMIZE
97         help
98           Say Y here to include support for the xc2028/xc3028 tuners.
99
100 config TUNER_MT20XX
101         tristate "Microtune 2032 / 2050 tuners"
102         depends on I2C
103         default m if VIDEO_TUNER_CUSTOMIZE
104         help
105           Say Y here to include support for the MT2032 / MT2050 tuner.
106
107 config TUNER_TDA8290
108         tristate "TDA 8290+8275(a) tuner combo"
109         depends on I2C
110         default m if VIDEO_TUNER_CUSTOMIZE
111         help
112           Say Y here to include support for Philips TDA8290+8275(a) tuner.
113
114 config TUNER_TEA5761
115         tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
116         depends on I2C && EXPERIMENTAL
117         default m if VIDEO_TUNER_CUSTOMIZE
118         help
119           Say Y here to include support for the Philips TEA5761 radio tuner.
120
121 config TUNER_TEA5767
122         tristate "TEA 5767 radio tuner"
123         depends on I2C
124         default m if VIDEO_TUNER_CUSTOMIZE
125         help
126           Say Y here to include support for the Philips TEA5767 radio tuner.
127
128 config TUNER_SIMPLE
129         tristate "Simple tuner support"
130         depends on I2C
131         default m if VIDEO_TUNER_CUSTOMIZE
132         help
133           Say Y here to include support for various simple tuners.
134
135 endif # VIDEO_TUNER_CUSTOMIZE
136
137 config VIDEOBUF_GEN
138         tristate
139
140 config VIDEOBUF_DMA_SG
141         depends on PCI
142         select VIDEOBUF_GEN
143         tristate
144
145 config VIDEOBUF_VMALLOC
146         select VIDEOBUF_GEN
147         tristate
148
149 config VIDEOBUF_DVB
150         tristate
151         select VIDEOBUF_GEN
152         select VIDEOBUF_DMA_SG
153
154 config VIDEO_BTCX
155         tristate
156
157 config VIDEO_IR_I2C
158         tristate
159
160 config VIDEO_IR
161         tristate
162         depends on INPUT
163         select VIDEO_IR_I2C if I2C
164
165 config VIDEO_TVEEPROM
166         tristate
167         depends on I2C
168
169 config DAB
170         boolean "DAB adapters"
171         default y
172         ---help---
173           Allow selecting support for for Digital Audio Broadcasting (DAB)
174           Receiver adapters.
175
176 if DAB
177 config USB_DABUSB
178         tristate "DABUSB driver"
179         depends on USB
180         ---help---
181           A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
182           brought to you by the DAB-Team
183           <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
184           as an example for URB-based bulk, control, and isochronous
185           transactions. URB's are explained in
186           <Documentation/usb/URB.txt>.
187
188           To compile this driver as a module, choose M here: the
189           module will be called dabusb.
190 endif # DAB
191
192 endmenu