Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Multimedia device configuration | |
3 | # | |
4 | ||
ab482a6c RD |
5 | menuconfig 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 | |
14 | if MEDIA_SUPPORT | |
1da177e4 | 15 | |
7c91f062 MCC |
16 | comment "Multimedia core support" |
17 | ||
b4c184e5 MCC |
18 | # |
19 | # Multimedia support - automatically enable V4L2 and DVB core | |
20 | # | |
21 | config 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 | ||
28 | config 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 | ||
40 | config 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 | ||
48 | config 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 |
62 | config 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 | 69 | config 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 | ||
cf4b9211 LP |
83 | # |
84 | # Media controller | |
b4c184e5 | 85 | # Selectable only for webcam/grabbers, as other drivers don't use it |
cf4b9211 LP |
86 | # |
87 | ||
88 | config MEDIA_CONTROLLER | |
51e8cb74 | 89 | bool "Media Controller API" |
a0246e02 | 90 | depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT |
cf4b9211 LP |
91 | ---help--- |
92 | Enable the media controller API used to query media devices internal | |
93 | topology and configure it dynamically. | |
94 | ||
95 | This API is mostly used by camera interfaces in embedded platforms. | |
96 | ||
a0246e02 | 97 | config MEDIA_CONTROLLER_DVB |
c3f22501 | 98 | bool "Enable Media controller for DVB (EXPERIMENTAL)" |
a0246e02 MCC |
99 | depends on MEDIA_CONTROLLER |
100 | ---help--- | |
101 | Enable the media controller API support for DVB. | |
102 | ||
103 | This is currently experimental. | |
104 | ||
7c91f062 | 105 | # |
b4c184e5 MCC |
106 | # Video4Linux support |
107 | # Only enables if one of the V4L2 types (ATV, webcam, radio) is selected | |
7c91f062 MCC |
108 | # |
109 | ||
1da177e4 | 110 | config VIDEO_DEV |
b4c184e5 MCC |
111 | tristate |
112 | depends on MEDIA_SUPPORT | |
435ef148 | 113 | depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT |
b4c184e5 | 114 | default y |
1da177e4 | 115 | |
7cd5a16b | 116 | config VIDEO_V4L2_SUBDEV_API |
51e8cb74 KC |
117 | bool "V4L2 sub-device userspace API" |
118 | depends on VIDEO_DEV && MEDIA_CONTROLLER | |
7cd5a16b SV |
119 | ---help--- |
120 | Enables the V4L2 sub-device pad-level userspace API used to configure | |
121 | video format, size and frame rate between hardware blocks. | |
122 | ||
123 | This API is mostly used by camera interfaces in embedded platforms. | |
124 | ||
f0af8fa4 MCC |
125 | source "drivers/media/v4l2-core/Kconfig" |
126 | ||
7c91f062 MCC |
127 | # |
128 | # DVB Core | |
b4c184e5 | 129 | # Only enables if one of DTV is selected |
7c91f062 | 130 | # |
1da177e4 | 131 | |
7c91f062 | 132 | config DVB_CORE |
b4c184e5 MCC |
133 | tristate |
134 | depends on MEDIA_SUPPORT | |
135 | depends on MEDIA_DIGITAL_TV_SUPPORT | |
136 | default y | |
7c91f062 | 137 | select CRC32 |
ca805d57 | 138 | |
a34ff6cd HPS |
139 | config DVB_NET |
140 | bool "DVB Network Support" | |
141 | default (NET && INET) | |
8c528d5e | 142 | depends on NET && INET && DVB_CORE |
a34ff6cd | 143 | help |
9a78efc8 JS |
144 | This option enables DVB Network Support which is a part of the DVB |
145 | standard. It is used, for example, by automatic firmware updates used | |
146 | on Set-Top-Boxes. It can also be used to access the Internet via the | |
147 | DVB card, if the network provider supports it. | |
a34ff6cd | 148 | |
9a78efc8 JS |
149 | You may want to disable the network support on embedded devices. If |
150 | unsure say Y. | |
a34ff6cd | 151 | |
5d92bbe6 MCC |
152 | # This Kconfig option is used by both PCI and USB drivers |
153 | config TTPCI_EEPROM | |
bb69ee27 MCC |
154 | tristate |
155 | depends on I2C | |
156 | default n | |
5d92bbe6 | 157 | |
f0af8fa4 MCC |
158 | source "drivers/media/dvb-core/Kconfig" |
159 | ||
c455f5c8 | 160 | comment "Media drivers" |
32cf86f6 | 161 | source "drivers/media/rc/Kconfig" |
c1accaa2 | 162 | |
7c91f062 | 163 | # |
cb7a01ac | 164 | # V4L platform/mem2mem drivers |
7c91f062 | 165 | # |
ea633741 | 166 | |
786baecf | 167 | source "drivers/media/usb/Kconfig" |
3c8c09b5 MCC |
168 | source "drivers/media/pci/Kconfig" |
169 | source "drivers/media/platform/Kconfig" | |
0013ca8c | 170 | source "drivers/media/mmc/Kconfig" |
3c8c09b5 | 171 | source "drivers/media/radio/Kconfig" |
1da177e4 | 172 | |
616300bd MCC |
173 | comment "Supported FireWire (IEEE 1394) Adapters" |
174 | depends on DVB_CORE && FIREWIRE | |
175 | source "drivers/media/firewire/Kconfig" | |
176 | ||
3c8c09b5 | 177 | # Common driver options |
3785bc17 MCC |
178 | source "drivers/media/common/Kconfig" |
179 | ||
5344fe6e HV |
180 | comment "Media ancillary drivers (tuners, sensors, i2c, frontends)" |
181 | ||
3c8c09b5 MCC |
182 | # |
183 | # Ancillary drivers (tuners, i2c, frontends) | |
184 | # | |
185 | ||
fccea74f | 186 | config MEDIA_SUBDRV_AUTOSELECT |
5344fe6e | 187 | bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)" |
435ef148 | 188 | depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT |
347f7a37 MCC |
189 | depends on HAS_IOMEM |
190 | select I2C | |
191 | select I2C_MUX | |
fccea74f MCC |
192 | default y |
193 | help | |
5344fe6e HV |
194 | By default, a media driver auto-selects all possible ancillary |
195 | devices such as tuners, sensors, video encoders/decoders and | |
196 | frontends, that are used by any of the supported devices. | |
fccea74f MCC |
197 | |
198 | This is generally the right thing to do, except when there | |
2c76a12a MCC |
199 | are strict constraints with regards to the kernel size, |
200 | like on embedded systems. | |
fccea74f | 201 | |
2c76a12a MCC |
202 | Use this option with care, as deselecting ancillary drivers which |
203 | are, in fact, necessary will result in the lack of the needed | |
204 | functionality for your device (it may not tune or may not have | |
5344fe6e | 205 | the needed demodulators). |
fccea74f MCC |
206 | |
207 | If unsure say Y. | |
208 | ||
bb69ee27 MCC |
209 | config MEDIA_ATTACH |
210 | bool | |
211 | depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT | |
212 | depends on MODULES | |
213 | default MODULES | |
214 | ||
3c8c09b5 | 215 | source "drivers/media/i2c/Kconfig" |
fccea74f | 216 | source "drivers/media/tuners/Kconfig" |
3c8c09b5 MCC |
217 | source "drivers/media/dvb-frontends/Kconfig" |
218 | ||
ab482a6c | 219 | endif # MEDIA_SUPPORT |