[COMMON] fimc-is2: Add dual sync settings for 5E9 & OV12A10
[GitHub/MotorolaMobilityLLC/kernel-slsi.git] / drivers / media / Kconfig
1 #
2 # Multimedia device configuration
3 #
4
5 config CEC_CORE
6 tristate
7
8 config CEC_NOTIFIER
9 bool
10
11 config CEC_PIN
12 bool
13
14 source "drivers/media/rc/Kconfig"
15
16 menuconfig MEDIA_SUPPORT
17 tristate "Multimedia support"
18 depends on HAS_IOMEM
19 help
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
23 <https://linuxtv.org>
24
25 if MEDIA_SUPPORT
26
27 comment "Multimedia core support"
28
29 #
30 # Multimedia support - automatically enable V4L2 and DVB core
31 #
32 config MEDIA_CAMERA_SUPPORT
33 bool "Cameras/video grabbers support"
34 ---help---
35 Enable support for webcams and video grabbers.
36
37 Say Y when you have a webcam or a video capture grabber board.
38
39 config MEDIA_ANALOG_TV_SUPPORT
40 bool "Analog TV support"
41 ---help---
42 Enable analog TV support.
43
44 Say Y when you have a TV board with analog support or with a
45 hybrid analog/digital TV chipset.
46
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.
50
51 config MEDIA_DIGITAL_TV_SUPPORT
52 bool "Digital TV support"
53 ---help---
54 Enable digital TV support.
55
56 Say Y when you have a board with digital support or a board with
57 hybrid digital TV and analog TV.
58
59 config MEDIA_RADIO_SUPPORT
60 bool "AM/FM radio receivers/transmitters support"
61 ---help---
62 Enable AM/FM radio support.
63
64 Additional info and docs are available on the web at
65 <https://linuxtv.org>
66
67 Say Y when you have a board with radio support.
68
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.
72
73 config MEDIA_SDR_SUPPORT
74 bool "Software defined radio support"
75 ---help---
76 Enable software defined radio support.
77
78 Say Y when you have a software defined radio device.
79
80 config MEDIA_CEC_SUPPORT
81 bool "HDMI CEC support"
82 ---help---
83 Enable support for HDMI CEC (Consumer Electronics Control),
84 which is an optional HDMI feature.
85
86 Say Y when you have an HDMI receiver, transmitter or a USB CEC
87 adapter that supports HDMI CEC.
88
89 source "drivers/media/cec/Kconfig"
90
91 config MEDIA_M2M1SHOT
92 bool "Non-streaming m2m media processing (m2m1shot) API"
93 ---help---
94 Enables support for non-steaming m2m media processing API for some
95 device drivers like JPEG codec.
96
97 config MEDIA_M2M1SHOT_TESTDEV
98 depends on MEDIA_M2M1SHOT
99 bool "Test driver for non-streaming m2m media processing (m2m1shot) API"
100
101 #
102 # Media controller
103 # Selectable only for webcam/grabbers, as other drivers don't use it
104 #
105
106 config MEDIA_CONTROLLER
107 bool "Media Controller API"
108 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
109 ---help---
110 Enable the media controller API used to query media devices internal
111 topology and configure it dynamically.
112
113 This API is mostly used by camera interfaces in embedded platforms.
114
115 config MEDIA_CONTROLLER_DVB
116 bool "Enable Media controller for DVB (EXPERIMENTAL)"
117 depends on MEDIA_CONTROLLER && DVB_CORE
118 ---help---
119 Enable the media controller API support for DVB.
120
121 This is currently experimental.
122
123 #
124 # Video4Linux support
125 # Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
126 #
127
128 config VIDEO_DEV
129 tristate
130 depends on MEDIA_SUPPORT
131 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
132 default y
133
134 config VIDEO_V4L2_SUBDEV_API
135 bool "V4L2 sub-device userspace API"
136 depends on VIDEO_DEV && MEDIA_CONTROLLER
137 ---help---
138 Enables the V4L2 sub-device pad-level userspace API used to configure
139 video format, size and frame rate between hardware blocks.
140
141 This API is mostly used by camera interfaces in embedded platforms.
142
143 source "drivers/media/v4l2-core/Kconfig"
144
145 #
146 # DVB Core
147 # Only enables if one of DTV is selected
148 #
149
150 config DVB_CORE
151 tristate
152 depends on MEDIA_SUPPORT
153 depends on MEDIA_DIGITAL_TV_SUPPORT
154 default y
155 select CRC32
156
157 config DVB_NET
158 bool "DVB Network Support"
159 default (NET && INET)
160 depends on NET && INET && DVB_CORE
161 help
162 This option enables DVB Network Support which is a part of the DVB
163 standard. It is used, for example, by automatic firmware updates used
164 on Set-Top-Boxes. It can also be used to access the Internet via the
165 DVB card, if the network provider supports it.
166
167 You may want to disable the network support on embedded devices. If
168 unsure say Y.
169
170 # This Kconfig option is used by both PCI and USB drivers
171 config TTPCI_EEPROM
172 tristate
173 depends on I2C
174 default n
175
176 source "drivers/media/dvb-core/Kconfig"
177
178 comment "Media drivers"
179
180 #
181 # V4L platform/mem2mem drivers
182 #
183
184 source "drivers/media/usb/Kconfig"
185 source "drivers/media/pci/Kconfig"
186 source "drivers/media/platform/Kconfig"
187 source "drivers/media/mmc/Kconfig"
188 source "drivers/media/radio/Kconfig"
189
190 comment "Supported FireWire (IEEE 1394) Adapters"
191 depends on DVB_CORE && FIREWIRE
192 source "drivers/media/firewire/Kconfig"
193
194 # Common driver options
195 source "drivers/media/common/Kconfig"
196
197 comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"
198
199 #
200 # Ancillary drivers (tuners, i2c, spi, frontends)
201 #
202
203 config MEDIA_SUBDRV_AUTOSELECT
204 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
205 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
206 depends on HAS_IOMEM
207 select I2C
208 select I2C_MUX
209 default y
210 help
211 By default, a media driver auto-selects all possible ancillary
212 devices such as tuners, sensors, video encoders/decoders and
213 frontends, that are used by any of the supported devices.
214
215 This is generally the right thing to do, except when there
216 are strict constraints with regards to the kernel size,
217 like on embedded systems.
218
219 Use this option with care, as deselecting ancillary drivers which
220 are, in fact, necessary will result in the lack of the needed
221 functionality for your device (it may not tune or may not have
222 the needed demodulators).
223
224 If unsure say Y.
225
226 config MEDIA_ATTACH
227 bool
228 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
229 depends on MODULES
230 default MODULES
231
232 source "drivers/media/i2c/Kconfig"
233 source "drivers/media/spi/Kconfig"
234 source "drivers/media/tuners/Kconfig"
235 source "drivers/media/dvb-frontends/Kconfig"
236
237 endif # MEDIA_SUPPORT