sunbmac: Fix compiler warning
[linux-2.6/btrfs-unstable.git] / drivers / media / Kconfig
blob7b8540291217317cba7ea679d945761ee238dfae
2 # Multimedia device configuration
5 menuconfig MEDIA_SUPPORT
6         tristate "Multimedia support"
7         depends on HAS_IOMEM
8         help
9           If you want to use Webcams, Video grabber devices and/or TV devices
10           enable this option and other options below.
11           Additional info and docs are available on the web at
12           <https://linuxtv.org>
14 if MEDIA_SUPPORT
16 comment "Multimedia core support"
19 # Multimedia support - automatically enable V4L2 and DVB core
21 config MEDIA_CAMERA_SUPPORT
22         bool "Cameras/video grabbers support"
23         ---help---
24           Enable support for webcams and video grabbers.
26           Say Y when you have a webcam or a video capture grabber board.
28 config MEDIA_ANALOG_TV_SUPPORT
29         bool "Analog TV support"
30         ---help---
31           Enable analog TV support.
33           Say Y when you have a TV board with analog support or with a
34           hybrid analog/digital TV chipset.
36           Note: There are several DVB cards that are based on chips that
37                 support both analog and digital TV. Disabling this option
38                 will disable support for them.
40 config MEDIA_DIGITAL_TV_SUPPORT
41         bool "Digital TV support"
42         ---help---
43           Enable digital TV support.
45           Say Y when you have a board with digital support or a board with
46           hybrid digital TV and analog TV.
48 config MEDIA_RADIO_SUPPORT
49         bool "AM/FM radio receivers/transmitters support"
50         ---help---
51           Enable AM/FM radio support.
53           Additional info and docs are available on the web at
54           <https://linuxtv.org>
56           Say Y when you have a board with radio support.
58           Note: There are several TV cards that are based on chips that
59                 support radio reception. Disabling this option will
60                 disable support for them.
62 config MEDIA_SDR_SUPPORT
63         bool "Software defined radio support"
64         ---help---
65           Enable software defined radio support.
67           Say Y when you have a software defined radio device.
69 config MEDIA_RC_SUPPORT
70         bool "Remote Controller support"
71         depends on INPUT
72         ---help---
73           Enable support for Remote Controllers on Linux. This is
74           needed in order to support several video capture adapters,
75           standalone IR receivers/transmitters, and RF receivers.
77           Enable this option if you have a video capture board even
78           if you don't need IR, as otherwise, you may not be able to
79           compile the driver for your adapter.
81           Say Y when you have a TV or an IR device.
83 config MEDIA_CEC_EDID
84         bool
87 # Media controller
88 #       Selectable only for webcam/grabbers, as other drivers don't use it
91 config MEDIA_CONTROLLER
92         bool "Media Controller API"
93         depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
94         ---help---
95           Enable the media controller API used to query media devices internal
96           topology and configure it dynamically.
98           This API is mostly used by camera interfaces in embedded platforms.
100 config MEDIA_CONTROLLER_DVB
101         bool "Enable Media controller for DVB (EXPERIMENTAL)"
102         depends on MEDIA_CONTROLLER
103         ---help---
104           Enable the media controller API support for DVB.
106           This is currently experimental.
109 # Video4Linux support
110 #       Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
113 config VIDEO_DEV
114         tristate
115         depends on MEDIA_SUPPORT
116         depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
117         default y
119 config VIDEO_V4L2_SUBDEV_API
120         bool "V4L2 sub-device userspace API"
121         depends on VIDEO_DEV && MEDIA_CONTROLLER
122         ---help---
123           Enables the V4L2 sub-device pad-level userspace API used to configure
124           video format, size and frame rate between hardware blocks.
126           This API is mostly used by camera interfaces in embedded platforms.
128 source "drivers/media/v4l2-core/Kconfig"
131 # DVB Core
132 #       Only enables if one of DTV is selected
135 config DVB_CORE
136         tristate
137         depends on MEDIA_SUPPORT
138         depends on MEDIA_DIGITAL_TV_SUPPORT
139         default y
140         select CRC32
142 config DVB_NET
143         bool "DVB Network Support"
144         default (NET && INET)
145         depends on NET && INET && DVB_CORE
146         help
147           This option enables DVB Network Support which is a part of the DVB
148           standard. It is used, for example, by automatic firmware updates used
149           on Set-Top-Boxes. It can also be used to access the Internet via the
150           DVB card, if the network provider supports it.
152           You may want to disable the network support on embedded devices. If
153           unsure say Y.
155 # This Kconfig option is used by both PCI and USB drivers
156 config TTPCI_EEPROM
157         tristate
158         depends on I2C
159         default n
161 source "drivers/media/dvb-core/Kconfig"
163 comment "Media drivers"
164 source "drivers/media/rc/Kconfig"
167 # V4L platform/mem2mem drivers
170 source "drivers/media/usb/Kconfig"
171 source "drivers/media/pci/Kconfig"
172 source "drivers/media/platform/Kconfig"
173 source "drivers/media/mmc/Kconfig"
174 source "drivers/media/radio/Kconfig"
176 comment "Supported FireWire (IEEE 1394) Adapters"
177         depends on DVB_CORE && FIREWIRE
178 source "drivers/media/firewire/Kconfig"
180 # Common driver options
181 source "drivers/media/common/Kconfig"
183 comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"
186 # Ancillary drivers (tuners, i2c, spi, frontends)
189 config MEDIA_SUBDRV_AUTOSELECT
190         bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
191         depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
192         depends on HAS_IOMEM
193         select I2C
194         select I2C_MUX
195         default y
196         help
197           By default, a media driver auto-selects all possible ancillary
198           devices such as tuners, sensors, video encoders/decoders and
199           frontends, that are used by any of the supported devices.
201           This is generally the right thing to do, except when there
202           are strict constraints with regards to the kernel size,
203           like on embedded systems.
205           Use this option with care, as deselecting ancillary drivers which
206           are, in fact, necessary will result in the lack of the needed
207           functionality for your device (it may not tune or may not have
208           the needed demodulators).
210           If unsure say Y.
212 config MEDIA_ATTACH
213         bool
214         depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
215         depends on MODULES
216         default MODULES
218 source "drivers/media/i2c/Kconfig"
219 source "drivers/media/spi/Kconfig"
220 source "drivers/media/tuners/Kconfig"
221 source "drivers/media/dvb-frontends/Kconfig"
223 endif # MEDIA_SUPPORT