Kconfig 5.4 KB
Newer Older
L
Linus Torvalds 已提交
1 2 3 4 5
#
# Multimedia device configuration
#

menu "Multimedia devices"
6
	depends on HAS_IOMEM
L
Linus Torvalds 已提交
7 8 9 10 11

config VIDEO_DEV
	tristate "Video For Linux"
	---help---
	  Support for audio/video capture and overlay devices and FM radio
12
	  cards. The exact capabilities of each device vary.
L
Linus Torvalds 已提交
13 14 15 16 17 18

	  This kernel includes support for the new Video for Linux Two API,
	  (V4L2) as well as the original system. Drivers and applications
	  need to be rewritten to use V4L2, but drivers for popular cards
	  and applications for most video capture functions already exist.

19 20 21 22 23
	  Additional info and docs are available on the web at
	  <http://linuxtv.org>

	  Documentation for V4L2 is also available on the web at
	  <http://bytesex.org/v4l/>.
L
Linus Torvalds 已提交
24 25 26 27

	  To compile this driver as a module, choose M here: the
	  module will be called videodev.

28 29 30 31 32
config VIDEO_V4L2_COMMON
	tristate
	depends on (I2C || I2C=n) && VIDEO_DEV
	default (I2C || I2C=n) && VIDEO_DEV

33
config VIDEO_V4L1
34
	bool "Enable Video For Linux API 1 (DEPRECATED)"
35 36
	depends on VIDEO_DEV && VIDEO_V4L2_COMMON
	default VIDEO_DEV && VIDEO_V4L2_COMMON
37 38 39 40 41 42 43 44
	select VIDEO_V4L1_COMPAT
	---help---
	  Enables a compatibility API used by most V4L2 devices to allow
	  its usage with legacy applications that supports only V4L1 api.

	  If you are unsure as to whether this is required, answer Y.

config VIDEO_V4L1_COMPAT
45
	bool "Enable Video For Linux API 1 compatible Layer"
46
	depends on VIDEO_DEV
47
	default VIDEO_DEV
48 49 50 51 52 53 54 55 56 57 58 59 60 61
	---help---
	  This api were developed to be used at Kernel 2.2 and 2.4, but
	  lacks support for several video standards. There are several
	  drivers at kernel that still depends on it.

	  Documentation for the original API is included in the file
	  <Documentation/video4linux/API.html>.

	  User tools for this are available from
	  <ftp://ftp.uk.linux.org/pub/linux/video4linux/>.

	  If you are unsure as to whether this is required, answer Y.

config VIDEO_V4L2
62
	bool
63 64
	depends on VIDEO_DEV && VIDEO_V4L2_COMMON
	default VIDEO_DEV && VIDEO_V4L2_COMMON
65

L
Linus Torvalds 已提交
66 67 68 69 70 71 72 73
source "drivers/media/video/Kconfig"

source "drivers/media/radio/Kconfig"

source "drivers/media/dvb/Kconfig"

source "drivers/media/common/Kconfig"

74 75 76
config VIDEO_TUNER_TYPES
	tristate

L
Linus Torvalds 已提交
77 78
config VIDEO_TUNER
	tristate
79
	depends on I2C
80
	select VIDEO_TUNER_TYPES
81
	select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE
82 83 84 85 86
	select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE
	select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE
	select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE
	select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE
	select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE
87
	select TUNER_TDA9887 if !VIDEO_TUNER_CUSTOMIZE
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102

menuconfig VIDEO_TUNER_CUSTOMIZE
	bool "Customize analog tuner modules to build"
	depends on VIDEO_TUNER
	help
	  This allows the user to deselect tuner drivers unnecessary
	  for their hardware from the build. Use this option with care
	  as deselecting tuner drivers which are in fact necessary will
	  result in V4L devices which cannot be tuned due to lack of
	  driver support

	  If unsure say N.

if VIDEO_TUNER_CUSTOMIZE

103 104
config TUNER_XC2028
	tristate "XCeive xc2028/xc3028 tuners"
105
	depends on I2C && FW_LOADER
106 107 108 109
	default m if VIDEO_TUNER_CUSTOMIZE
	help
	  Say Y here to include support for the xc2028/xc3028 tuners.

110 111 112 113 114 115 116 117
config TUNER_MT20XX
	tristate "Microtune 2032 / 2050 tuners"
	depends on I2C
	default m if VIDEO_TUNER_CUSTOMIZE
	help
	  Say Y here to include support for the MT2032 / MT2050 tuner.

config TUNER_TDA8290
118
	tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo"
119
	depends on I2C
120
	select DVB_TDA827X
121
	select DVB_TDA18271
122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142
	default m if VIDEO_TUNER_CUSTOMIZE
	help
	  Say Y here to include support for Philips TDA8290+8275(a) tuner.

config TUNER_TEA5761
	tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
	depends on I2C && EXPERIMENTAL
	default m if VIDEO_TUNER_CUSTOMIZE
	help
	  Say Y here to include support for the Philips TEA5761 radio tuner.

config TUNER_TEA5767
	tristate "TEA 5767 radio tuner"
	depends on I2C
	default m if VIDEO_TUNER_CUSTOMIZE
	help
	  Say Y here to include support for the Philips TEA5767 radio tuner.

config TUNER_SIMPLE
	tristate "Simple tuner support"
	depends on I2C
143
	select VIDEO_TUNER_TYPES
144
	select TUNER_TDA9887
145 146 147 148
	default m if VIDEO_TUNER_CUSTOMIZE
	help
	  Say Y here to include support for various simple tuners.

149 150 151 152 153 154 155 156
config TUNER_TDA9887
	tristate "TDA 9885/6/7 analog IF demodulator"
	depends on I2C
	default m if VIDEO_TUNER_CUSTOMIZE
	help
	  Say Y here to include support for Philips TDA9885/6/7
	  analog IF demodulator.

157
endif # VIDEO_TUNER_CUSTOMIZE
L
Linus Torvalds 已提交
158

159 160 161 162
config VIDEOBUF_GEN
	tristate

config VIDEOBUF_DMA_SG
163
	depends on HAS_DMA
164
	select VIDEOBUF_GEN
L
Linus Torvalds 已提交
165 166
	tristate

167 168 169 170
config VIDEOBUF_VMALLOC
	select VIDEOBUF_GEN
	tristate

171
config VIDEOBUF_DVB
L
Linus Torvalds 已提交
172
	tristate
173 174
	select VIDEOBUF_GEN
	select VIDEOBUF_DMA_SG
L
Linus Torvalds 已提交
175 176 177 178

config VIDEO_BTCX
	tristate

179 180 181
config VIDEO_IR_I2C
	tristate

L
Linus Torvalds 已提交
182 183
config VIDEO_IR
	tristate
184
	depends on INPUT
185
	select VIDEO_IR_I2C if I2C
L
Linus Torvalds 已提交
186 187 188

config VIDEO_TVEEPROM
	tristate
189
	depends on I2C
L
Linus Torvalds 已提交
190

191 192 193 194 195 196 197
config DAB
	boolean "DAB adapters"
	---help---
	  Allow selecting support for for Digital Audio Broadcasting (DAB)
	  Receiver adapters.

if DAB
198
config USB_DABUSB
199 200 201 202 203 204 205 206 207 208 209 210
	tristate "DABUSB driver"
	depends on USB
	---help---
	  A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
	  brought to you by the DAB-Team
	  <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
	  as an example for URB-based bulk, control, and isochronous
	  transactions. URB's are explained in
	  <Documentation/usb/URB.txt>.

	  To compile this driver as a module, choose M here: the
	  module will be called dabusb.
211
endif # DAB
212

L
Linus Torvalds 已提交
213
endmenu