mlx5_core: Adjust hca_cap.uar_page_sz to conform to Connect-IB spec
[deliverable/linux.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
MCC
11 Additional info and docs are available on the web at
12 <http://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
54 <http://linuxtv.org>
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
c455f5c8 62config MEDIA_RC_SUPPORT
b4c184e5
MCC
63 bool "Remote Controller support"
64 depends on INPUT
65 ---help---
66 Enable support for Remote Controllers on Linux. This is
67 needed in order to support several video capture adapters,
68 standalone IR receivers/transmitters, and RF receivers.
69
70 Enable this option if you have a video capture board even
71 if you don't need IR, as otherwise, you may not be able to
72 compile the driver for your adapter.
73
74 Say Y when you have a TV or an IR device.
75
cf4b9211
LP
76#
77# Media controller
b4c184e5 78# Selectable only for webcam/grabbers, as other drivers don't use it
cf4b9211
LP
79#
80
81config MEDIA_CONTROLLER
51e8cb74 82 bool "Media Controller API"
b4c184e5 83 depends on MEDIA_CAMERA_SUPPORT
cf4b9211
LP
84 ---help---
85 Enable the media controller API used to query media devices internal
86 topology and configure it dynamically.
87
88 This API is mostly used by camera interfaces in embedded platforms.
89
7c91f062 90#
b4c184e5
MCC
91# Video4Linux support
92# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
7c91f062
MCC
93#
94
1da177e4 95config VIDEO_DEV
b4c184e5
MCC
96 tristate
97 depends on MEDIA_SUPPORT
98 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT
99 default y
1da177e4 100
7cd5a16b 101config VIDEO_V4L2_SUBDEV_API
51e8cb74
KC
102 bool "V4L2 sub-device userspace API"
103 depends on VIDEO_DEV && MEDIA_CONTROLLER
7cd5a16b
SV
104 ---help---
105 Enables the V4L2 sub-device pad-level userspace API used to configure
106 video format, size and frame rate between hardware blocks.
107
108 This API is mostly used by camera interfaces in embedded platforms.
109
f0af8fa4
MCC
110source "drivers/media/v4l2-core/Kconfig"
111
7c91f062
MCC
112#
113# DVB Core
b4c184e5 114# Only enables if one of DTV is selected
7c91f062 115#
1da177e4 116
7c91f062 117config DVB_CORE
b4c184e5
MCC
118 tristate
119 depends on MEDIA_SUPPORT
120 depends on MEDIA_DIGITAL_TV_SUPPORT
121 default y
7c91f062 122 select CRC32
ca805d57 123
a34ff6cd
HPS
124config DVB_NET
125 bool "DVB Network Support"
126 default (NET && INET)
8c528d5e 127 depends on NET && INET && DVB_CORE
a34ff6cd 128 help
9a78efc8
JS
129 This option enables DVB Network Support which is a part of the DVB
130 standard. It is used, for example, by automatic firmware updates used
131 on Set-Top-Boxes. It can also be used to access the Internet via the
132 DVB card, if the network provider supports it.
a34ff6cd 133
9a78efc8
JS
134 You may want to disable the network support on embedded devices. If
135 unsure say Y.
a34ff6cd 136
5d92bbe6
MCC
137# This Kconfig option is used by both PCI and USB drivers
138config TTPCI_EEPROM
139 tristate
140 depends on I2C
141 default n
142
f0af8fa4
MCC
143source "drivers/media/dvb-core/Kconfig"
144
c455f5c8 145comment "Media drivers"
32cf86f6 146source "drivers/media/rc/Kconfig"
c1accaa2 147
7c91f062 148#
cb7a01ac 149# V4L platform/mem2mem drivers
7c91f062 150#
ea633741 151
786baecf 152source "drivers/media/usb/Kconfig"
3c8c09b5
MCC
153source "drivers/media/pci/Kconfig"
154source "drivers/media/platform/Kconfig"
0013ca8c 155source "drivers/media/mmc/Kconfig"
d1677dc3 156source "drivers/media/parport/Kconfig"
3c8c09b5 157source "drivers/media/radio/Kconfig"
1da177e4 158
616300bd
MCC
159comment "Supported FireWire (IEEE 1394) Adapters"
160 depends on DVB_CORE && FIREWIRE
161source "drivers/media/firewire/Kconfig"
162
3c8c09b5 163# Common driver options
3785bc17
MCC
164source "drivers/media/common/Kconfig"
165
5344fe6e
HV
166comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"
167
3c8c09b5
MCC
168#
169# Ancillary drivers (tuners, i2c, frontends)
170#
171
fccea74f 172config MEDIA_SUBDRV_AUTOSELECT
5344fe6e 173 bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)"
2c76a12a 174 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT
fccea74f
MCC
175 default y
176 help
5344fe6e
HV
177 By default, a media driver auto-selects all possible ancillary
178 devices such as tuners, sensors, video encoders/decoders and
179 frontends, that are used by any of the supported devices.
fccea74f
MCC
180
181 This is generally the right thing to do, except when there
2c76a12a
MCC
182 are strict constraints with regards to the kernel size,
183 like on embedded systems.
fccea74f 184
2c76a12a
MCC
185 Use this option with care, as deselecting ancillary drivers which
186 are, in fact, necessary will result in the lack of the needed
187 functionality for your device (it may not tune or may not have
5344fe6e 188 the needed demodulators).
fccea74f
MCC
189
190 If unsure say Y.
191
3c8c09b5 192source "drivers/media/i2c/Kconfig"
fccea74f 193source "drivers/media/tuners/Kconfig"
3c8c09b5
MCC
194source "drivers/media/dvb-frontends/Kconfig"
195
ab482a6c 196endif # MEDIA_SUPPORT
This page took 0.855268 seconds and 5 git commands to generate.