]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/media/Kconfig
netfilter: conntrack: rename nf_ct_iterate_cleanup
[mirror_ubuntu-artful-kernel.git] / drivers / media / Kconfig
CommitLineData
1da177e4
LT
1#
2# Multimedia device configuration
3#
4
ab482a6c
RD
5menuconfig MEDIA_SUPPORT
6 tristate "Multimedia support"
e25df120 7 depends on HAS_IOMEM
ab482a6c 8 help
b4c184e5 9 If you want to use Webcams, Video grabber devices and/or TV devices
ab482a6c 10 enable this option and other options below.
b4c184e5 11 Additional info and docs are available on the web at
991ce92f 12 <https://linuxtv.org>
ab482a6c
RD
13
14if MEDIA_SUPPORT
1da177e4 15
7c91f062
MCC
16comment "Multimedia core support"
17
b4c184e5
MCC
18#
19# Multimedia support - automatically enable V4L2 and DVB core
20#
21config MEDIA_CAMERA_SUPPORT
22 bool "Cameras/video grabbers support"
23 ---help---
24 Enable support for webcams and video grabbers.
25
26 Say Y when you have a webcam or a video capture grabber board.
27
28config MEDIA_ANALOG_TV_SUPPORT
29 bool "Analog TV support"
30 ---help---
31 Enable analog TV support.
32
33 Say Y when you have a TV board with analog support or with a
34 hybrid analog/digital TV chipset.
35
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.
39
40config MEDIA_DIGITAL_TV_SUPPORT
41 bool "Digital TV support"
42 ---help---
43 Enable digital TV support.
44
45 Say Y when you have a board with digital support or a board with
46 hybrid digital TV and analog TV.
47
48config MEDIA_RADIO_SUPPORT
49 bool "AM/FM radio receivers/transmitters support"
50 ---help---
51 Enable AM/FM radio support.
52
53 Additional info and docs are available on the web at
991ce92f 54 <https://linuxtv.org>
b4c184e5
MCC
55
56 Say Y when you have a board with radio support.
57
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.
61
435ef148
AP
62config MEDIA_SDR_SUPPORT
63 bool "Software defined radio support"
64 ---help---
65 Enable software defined radio support.
66
67 Say Y when you have a software defined radio device.
68
c455f5c8 69config MEDIA_RC_SUPPORT
b4c184e5
MCC
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.
76
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.
80
81 Say Y when you have a TV or an IR device.
82
0dbacebe 83config MEDIA_CEC_SUPPORT
56a263aa
HV
84 bool "HDMI CEC support"
85 ---help---
86 Enable support for HDMI CEC (Consumer Electronics Control),
87 which is an optional HDMI feature.
0dbacebe 88
56a263aa
HV
89 Say Y when you have an HDMI receiver, transmitter or a USB CEC
90 adapter that supports HDMI CEC.
29fb44a5 91
56a263aa 92source "drivers/media/cec/Kconfig"
6917a7b7 93
cf4b9211
LP
94#
95# Media controller
b4c184e5 96# Selectable only for webcam/grabbers, as other drivers don't use it
cf4b9211
LP
97#
98
99config MEDIA_CONTROLLER
51e8cb74 100 bool "Media Controller API"
a0246e02 101 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
cf4b9211
LP
102 ---help---
103 Enable the media controller API used to query media devices internal
104 topology and configure it dynamically.
105
106 This API is mostly used by camera interfaces in embedded platforms.
107
a0246e02 108config MEDIA_CONTROLLER_DVB
c3f22501 109 bool "Enable Media controller for DVB (EXPERIMENTAL)"
a4afb3ed 110 depends on MEDIA_CONTROLLER && DVB_CORE
a0246e02
MCC
111 ---help---
112 Enable the media controller API support for DVB.
113
114 This is currently experimental.
115
7c91f062 116#
b4c184e5
MCC
117# Video4Linux support
118# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
7c91f062
MCC
119#
120
1da177e4 121config VIDEO_DEV
b4c184e5
MCC
122 tristate
123 depends on MEDIA_SUPPORT
435ef148 124 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
b4c184e5 125 default y
1da177e4 126
7cd5a16b 127config VIDEO_V4L2_SUBDEV_API
51e8cb74
KC
128 bool "V4L2 sub-device userspace API"
129 depends on VIDEO_DEV && MEDIA_CONTROLLER
7cd5a16b
SV
130 ---help---
131 Enables the V4L2 sub-device pad-level userspace API used to configure
132 video format, size and frame rate between hardware blocks.
133
134 This API is mostly used by camera interfaces in embedded platforms.
135
f0af8fa4
MCC
136source "drivers/media/v4l2-core/Kconfig"
137
7c91f062
MCC
138#
139# DVB Core
b4c184e5 140# Only enables if one of DTV is selected
7c91f062 141#
1da177e4 142
7c91f062 143config DVB_CORE
b4c184e5
MCC
144 tristate
145 depends on MEDIA_SUPPORT
146 depends on MEDIA_DIGITAL_TV_SUPPORT
147 default y
7c91f062 148 select CRC32
ca805d57 149
a34ff6cd
HPS
150config DVB_NET
151 bool "DVB Network Support"
152 default (NET && INET)
8c528d5e 153 depends on NET && INET && DVB_CORE
a34ff6cd 154 help
9a78efc8
JS
155 This option enables DVB Network Support which is a part of the DVB
156 standard. It is used, for example, by automatic firmware updates used
157 on Set-Top-Boxes. It can also be used to access the Internet via the
158 DVB card, if the network provider supports it.
a34ff6cd 159
9a78efc8
JS
160 You may want to disable the network support on embedded devices. If
161 unsure say Y.
a34ff6cd 162
5d92bbe6
MCC
163# This Kconfig option is used by both PCI and USB drivers
164config TTPCI_EEPROM
bb69ee27
MCC
165 tristate
166 depends on I2C
167 default n
5d92bbe6 168
f0af8fa4
MCC
169source "drivers/media/dvb-core/Kconfig"
170
c455f5c8 171comment "Media drivers"
32cf86f6 172source "drivers/media/rc/Kconfig"
c1accaa2 173
7c91f062 174#
cb7a01ac 175# V4L platform/mem2mem drivers
7c91f062 176#
ea633741 177
786baecf 178source "drivers/media/usb/Kconfig"
3c8c09b5
MCC
179source "drivers/media/pci/Kconfig"
180source "drivers/media/platform/Kconfig"
0013ca8c 181source "drivers/media/mmc/Kconfig"
3c8c09b5 182source "drivers/media/radio/Kconfig"
1da177e4 183
616300bd
MCC
184comment "Supported FireWire (IEEE 1394) Adapters"
185 depends on DVB_CORE && FIREWIRE
186source "drivers/media/firewire/Kconfig"
187
3c8c09b5 188# Common driver options
3785bc17
MCC
189source "drivers/media/common/Kconfig"
190
8283a092 191comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"
5344fe6e 192
3c8c09b5 193#
8283a092 194# Ancillary drivers (tuners, i2c, spi, frontends)
3c8c09b5
MCC
195#
196
fccea74f 197config MEDIA_SUBDRV_AUTOSELECT
8283a092 198 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
435ef148 199 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
347f7a37
MCC
200 depends on HAS_IOMEM
201 select I2C
202 select I2C_MUX
fccea74f
MCC
203 default y
204 help
5344fe6e
HV
205 By default, a media driver auto-selects all possible ancillary
206 devices such as tuners, sensors, video encoders/decoders and
207 frontends, that are used by any of the supported devices.
fccea74f
MCC
208
209 This is generally the right thing to do, except when there
2c76a12a
MCC
210 are strict constraints with regards to the kernel size,
211 like on embedded systems.
fccea74f 212
2c76a12a
MCC
213 Use this option with care, as deselecting ancillary drivers which
214 are, in fact, necessary will result in the lack of the needed
215 functionality for your device (it may not tune or may not have
5344fe6e 216 the needed demodulators).
fccea74f
MCC
217
218 If unsure say Y.
219
bb69ee27
MCC
220config MEDIA_ATTACH
221 bool
222 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
223 depends on MODULES
224 default MODULES
225
3c8c09b5 226source "drivers/media/i2c/Kconfig"
8283a092 227source "drivers/media/spi/Kconfig"
fccea74f 228source "drivers/media/tuners/Kconfig"
3c8c09b5
MCC
229source "drivers/media/dvb-frontends/Kconfig"
230
ab482a6c 231endif # MEDIA_SUPPORT