2 # Multimedia device configuration
14 source "drivers/media/rc/Kconfig"
16 menuconfig MEDIA_SUPPORT
17 tristate "Multimedia support"
20 If you want to use Webcams, Video grabber devices and/or TV devices
21 enable this option and other options below.
22 Additional info and docs are available on the web at
27 comment "Multimedia core support"
30 # Multimedia support - automatically enable V4L2 and DVB core
32 config MEDIA_CAMERA_SUPPORT
33 bool "Cameras/video grabbers support"
35 Enable support for webcams and video grabbers.
37 Say Y when you have a webcam or a video capture grabber board.
39 config MEDIA_ANALOG_TV_SUPPORT
40 bool "Analog TV support"
42 Enable analog TV support.
44 Say Y when you have a TV board with analog support or with a
45 hybrid analog/digital TV chipset.
47 Note: There are several DVB cards that are based on chips that
48 support both analog and digital TV. Disabling this option
49 will disable support for them.
51 config MEDIA_DIGITAL_TV_SUPPORT
52 bool "Digital TV support"
54 Enable digital TV support.
56 Say Y when you have a board with digital support or a board with
57 hybrid digital TV and analog TV.
59 config MEDIA_RADIO_SUPPORT
60 bool "AM/FM radio receivers/transmitters support"
62 Enable AM/FM radio support.
64 Additional info and docs are available on the web at
67 Say Y when you have a board with radio support.
69 Note: There are several TV cards that are based on chips that
70 support radio reception. Disabling this option will
71 disable support for them.
73 config MEDIA_SDR_SUPPORT
74 bool "Software defined radio support"
76 Enable software defined radio support.
78 Say Y when you have a software defined radio device.
80 config MEDIA_CEC_SUPPORT
81 bool "HDMI CEC support"
83 Enable support for HDMI CEC (Consumer Electronics Control),
84 which is an optional HDMI feature.
86 Say Y when you have an HDMI receiver, transmitter or a USB CEC
87 adapter that supports HDMI CEC.
89 source "drivers/media/cec/Kconfig"
93 # Selectable only for webcam/grabbers, as other drivers don't use it
96 config MEDIA_CONTROLLER
97 bool "Media Controller API"
98 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
100 Enable the media controller API used to query media devices internal
101 topology and configure it dynamically.
103 This API is mostly used by camera interfaces in embedded platforms.
105 config MEDIA_CONTROLLER_DVB
106 bool "Enable Media controller for DVB (EXPERIMENTAL)"
107 depends on MEDIA_CONTROLLER && DVB_CORE
109 Enable the media controller API support for DVB.
111 This is currently experimental.
113 config MEDIA_CONTROLLER_REQUEST_API
114 bool "Enable Media controller Request API (EXPERIMENTAL)"
115 depends on MEDIA_CONTROLLER && STAGING_MEDIA
118 DO NOT ENABLE THIS OPTION UNLESS YOU KNOW WHAT YOU'RE DOING.
120 This option enables the Request API for the Media controller and V4L2
121 interfaces. It is currently needed by a few stateless codec drivers.
123 There is currently no intention to provide API or ABI stability for
124 this new API as of yet.
127 # Video4Linux support
128 # Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
133 depends on MEDIA_SUPPORT
134 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
137 config VIDEO_V4L2_SUBDEV_API
138 bool "V4L2 sub-device userspace API"
139 depends on VIDEO_DEV && MEDIA_CONTROLLER
141 Enables the V4L2 sub-device pad-level userspace API used to configure
142 video format, size and frame rate between hardware blocks.
144 This API is mostly used by camera interfaces in embedded platforms.
146 source "drivers/media/v4l2-core/Kconfig"
150 # Only enables if one of DTV is selected
155 depends on MEDIA_SUPPORT
156 depends on MEDIA_DIGITAL_TV_SUPPORT
157 depends on (I2C || I2C=n)
162 bool "Enable DVB memory-mapped API (EXPERIMENTAL)"
164 depends on VIDEO_V4L2=y || VIDEO_V4L2=DVB_CORE
165 select VIDEOBUF2_VMALLOC
168 This option enables DVB experimental memory-mapped API, which
169 reduces the number of context switches to read DVB buffers, as
170 the buffers can use mmap() syscalls.
172 Support for it is experimental. Use with care. If unsure,
176 bool "DVB Network Support"
177 default (NET && INET)
178 depends on NET && INET && DVB_CORE
180 This option enables DVB Network Support which is a part of the DVB
181 standard. It is used, for example, by automatic firmware updates used
182 on Set-Top-Boxes. It can also be used to access the Internet via the
183 DVB card, if the network provider supports it.
185 You may want to disable the network support on embedded devices. If
188 # This Kconfig option is used by both PCI and USB drivers
194 source "drivers/media/dvb-core/Kconfig"
196 comment "Media drivers"
199 # V4L platform/mem2mem drivers
202 source "drivers/media/usb/Kconfig"
203 source "drivers/media/pci/Kconfig"
204 source "drivers/media/platform/Kconfig"
205 source "drivers/media/mmc/Kconfig"
206 source "drivers/media/radio/Kconfig"
208 comment "Supported FireWire (IEEE 1394) Adapters"
209 depends on DVB_CORE && FIREWIRE
210 source "drivers/media/firewire/Kconfig"
212 # Common driver options
213 source "drivers/media/common/Kconfig"
215 comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"
218 # Ancillary drivers (tuners, i2c, spi, frontends)
221 config MEDIA_SUBDRV_AUTOSELECT
222 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
223 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
229 By default, a media driver auto-selects all possible ancillary
230 devices such as tuners, sensors, video encoders/decoders and
231 frontends, that are used by any of the supported devices.
233 This is generally the right thing to do, except when there
234 are strict constraints with regards to the kernel size,
235 like on embedded systems.
237 Use this option with care, as deselecting ancillary drivers which
238 are, in fact, necessary will result in the lack of the needed
239 functionality for your device (it may not tune or may not have
240 the needed demodulators).
246 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
250 source "drivers/media/i2c/Kconfig"
251 source "drivers/media/spi/Kconfig"
252 source "drivers/media/tuners/Kconfig"
253 source "drivers/media/dvb-frontends/Kconfig"
255 endif # MEDIA_SUPPORT