blob: 55d9c2b82b7eab11268d88f7d8e5cf586f910985 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Multimedia device configuration
3#
4
Hans Verkuil9177e512017-05-28 05:48:37 -03005config CEC_CORE
6 tristate
7
Hans Verkuile94c3282017-05-28 05:58:04 -03008config CEC_NOTIFIER
Hans Verkuil9177e512017-05-28 05:48:37 -03009 bool
10
Randy Dunlapab482a62009-05-18 22:00:34 -030011menuconfig MEDIA_SUPPORT
12 tristate "Multimedia support"
Martin Schwidefskye25df122007-05-10 15:45:57 +020013 depends on HAS_IOMEM
Randy Dunlapab482a62009-05-18 22:00:34 -030014 help
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030015 If you want to use Webcams, Video grabber devices and/or TV devices
Randy Dunlapab482a62009-05-18 22:00:34 -030016 enable this option and other options below.
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030017 Additional info and docs are available on the web at
Mauro Carvalho Chehab991ce922015-12-04 10:38:59 -020018 <https://linuxtv.org>
Randy Dunlapab482a62009-05-18 22:00:34 -030019
20if MEDIA_SUPPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -070021
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030022comment "Multimedia core support"
23
24#
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030025# Multimedia support - automatically enable V4L2 and DVB core
26#
27config MEDIA_CAMERA_SUPPORT
28 bool "Cameras/video grabbers support"
29 ---help---
30 Enable support for webcams and video grabbers.
31
32 Say Y when you have a webcam or a video capture grabber board.
33
34config MEDIA_ANALOG_TV_SUPPORT
35 bool "Analog TV support"
36 ---help---
37 Enable analog TV support.
38
39 Say Y when you have a TV board with analog support or with a
40 hybrid analog/digital TV chipset.
41
42 Note: There are several DVB cards that are based on chips that
43 support both analog and digital TV. Disabling this option
44 will disable support for them.
45
46config MEDIA_DIGITAL_TV_SUPPORT
47 bool "Digital TV support"
48 ---help---
49 Enable digital TV support.
50
51 Say Y when you have a board with digital support or a board with
52 hybrid digital TV and analog TV.
53
54config MEDIA_RADIO_SUPPORT
55 bool "AM/FM radio receivers/transmitters support"
56 ---help---
57 Enable AM/FM radio support.
58
59 Additional info and docs are available on the web at
Mauro Carvalho Chehab991ce922015-12-04 10:38:59 -020060 <https://linuxtv.org>
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030061
62 Say Y when you have a board with radio support.
63
64 Note: There are several TV cards that are based on chips that
65 support radio reception. Disabling this option will
66 disable support for them.
67
Antti Palosaari435ef142014-07-12 21:43:12 -030068config MEDIA_SDR_SUPPORT
69 bool "Software defined radio support"
70 ---help---
71 Enable software defined radio support.
72
73 Say Y when you have a software defined radio device.
74
Mauro Carvalho Chehabc455f5c2012-07-06 09:12:59 -030075config MEDIA_RC_SUPPORT
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030076 bool "Remote Controller support"
77 depends on INPUT
78 ---help---
79 Enable support for Remote Controllers on Linux. This is
80 needed in order to support several video capture adapters,
81 standalone IR receivers/transmitters, and RF receivers.
82
83 Enable this option if you have a video capture board even
84 if you don't need IR, as otherwise, you may not be able to
85 compile the driver for your adapter.
86
87 Say Y when you have a TV or an IR device.
88
Hans Verkuil0dbaceb2016-11-02 08:25:28 -020089config MEDIA_CEC_SUPPORT
Hans Verkuil56a263a2017-04-17 07:44:35 -030090 bool "HDMI CEC support"
91 ---help---
92 Enable support for HDMI CEC (Consumer Electronics Control),
93 which is an optional HDMI feature.
Hans Verkuil0dbaceb2016-11-02 08:25:28 -020094
Hans Verkuil56a263a2017-04-17 07:44:35 -030095 Say Y when you have an HDMI receiver, transmitter or a USB CEC
96 adapter that supports HDMI CEC.
Hans Verkuil0dbaceb2016-11-02 08:25:28 -020097
Hans Verkuil56a263a2017-04-17 07:44:35 -030098source "drivers/media/cec/Kconfig"
Hans Verkuil6917a7b2016-11-14 11:55:20 -020099
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300100#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -0300101# Media controller
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300102# Selectable only for webcam/grabbers, as other drivers don't use it
Laurent Pinchartcf4b9212009-12-09 08:39:56 -0300103#
104
105config MEDIA_CONTROLLER
Kees Cook51e8cb72012-10-02 11:17:27 -0700106 bool "Media Controller API"
Mauro Carvalho Chehaba0246e02015-01-02 12:19:51 -0300107 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
Laurent Pinchartcf4b9212009-12-09 08:39:56 -0300108 ---help---
109 Enable the media controller API used to query media devices internal
110 topology and configure it dynamically.
111
112 This API is mostly used by camera interfaces in embedded platforms.
113
Mauro Carvalho Chehaba0246e02015-01-02 12:19:51 -0300114config MEDIA_CONTROLLER_DVB
Mauro Carvalho Chehabc3f22502015-05-06 11:26:13 -0300115 bool "Enable Media controller for DVB (EXPERIMENTAL)"
Mauro Carvalho Chehaba4afb3e2016-11-18 17:47:41 -0200116 depends on MEDIA_CONTROLLER && DVB_CORE
Mauro Carvalho Chehaba0246e02015-01-02 12:19:51 -0300117 ---help---
118 Enable the media controller API support for DVB.
119
120 This is currently experimental.
121
Laurent Pinchartcf4b9212009-12-09 08:39:56 -0300122#
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300123# Video4Linux support
124# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300125#
126
Linus Torvalds1da177e2005-04-16 15:20:36 -0700127config VIDEO_DEV
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300128 tristate
129 depends on MEDIA_SUPPORT
Antti Palosaari435ef142014-07-12 21:43:12 -0300130 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300131 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700132
Stanimir Varbanov7cd5a162010-05-21 06:04:24 -0300133config VIDEO_V4L2_SUBDEV_API
Kees Cook51e8cb72012-10-02 11:17:27 -0700134 bool "V4L2 sub-device userspace API"
135 depends on VIDEO_DEV && MEDIA_CONTROLLER
Stanimir Varbanov7cd5a162010-05-21 06:04:24 -0300136 ---help---
137 Enables the V4L2 sub-device pad-level userspace API used to configure
138 video format, size and frame rate between hardware blocks.
139
140 This API is mostly used by camera interfaces in embedded platforms.
141
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -0300142source "drivers/media/v4l2-core/Kconfig"
143
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300144#
145# DVB Core
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300146# Only enables if one of DTV is selected
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300147#
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -0300148
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300149config DVB_CORE
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300150 tristate
151 depends on MEDIA_SUPPORT
152 depends on MEDIA_DIGITAL_TV_SUPPORT
153 default y
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300154 select CRC32
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300155
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300156config DVB_NET
157 bool "DVB Network Support"
158 default (NET && INET)
Guennadi Liakhovetski8c528d52011-06-10 07:43:26 -0300159 depends on NET && INET && DVB_CORE
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300160 help
Jiri Slaby9a78efc2011-06-16 16:06:56 -0300161 This option enables DVB Network Support which is a part of the DVB
162 standard. It is used, for example, by automatic firmware updates used
163 on Set-Top-Boxes. It can also be used to access the Internet via the
164 DVB card, if the network provider supports it.
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300165
Jiri Slaby9a78efc2011-06-16 16:06:56 -0300166 You may want to disable the network support on embedded devices. If
167 unsure say Y.
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300168
Mauro Carvalho Chehab5d92bbe62012-12-27 14:43:41 -0200169# This Kconfig option is used by both PCI and USB drivers
170config TTPCI_EEPROM
Mauro Carvalho Chehabbb69ee22013-06-20 10:35:53 -0300171 tristate
172 depends on I2C
173 default n
Mauro Carvalho Chehab5d92bbe62012-12-27 14:43:41 -0200174
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -0300175source "drivers/media/dvb-core/Kconfig"
176
Mauro Carvalho Chehabc455f5c2012-07-06 09:12:59 -0300177comment "Media drivers"
Mauro Carvalho Chehab32cf86f2010-11-09 23:00:14 -0300178source "drivers/media/rc/Kconfig"
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300179
180#
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300181# V4L platform/mem2mem drivers
182#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183
Mauro Carvalho Chehab786baec2012-06-14 16:35:56 -0300184source "drivers/media/usb/Kconfig"
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300185source "drivers/media/pci/Kconfig"
186source "drivers/media/platform/Kconfig"
Mauro Carvalho Chehab0013ca82012-06-14 16:36:01 -0300187source "drivers/media/mmc/Kconfig"
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300188source "drivers/media/radio/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700189
Mauro Carvalho Chehab616300b2012-06-14 16:35:55 -0300190comment "Supported FireWire (IEEE 1394) Adapters"
191 depends on DVB_CORE && FIREWIRE
192source "drivers/media/firewire/Kconfig"
193
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300194# Common driver options
Mauro Carvalho Chehab3785bc12012-06-14 16:35:58 -0300195source "drivers/media/common/Kconfig"
196
Hans Verkuil8283a092016-09-15 12:18:14 -0300197comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"
Hans Verkuil5344fe62012-12-22 07:48:58 -0300198
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300199#
Hans Verkuil8283a092016-09-15 12:18:14 -0300200# Ancillary drivers (tuners, i2c, spi, frontends)
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300201#
202
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300203config MEDIA_SUBDRV_AUTOSELECT
Hans Verkuil8283a092016-09-15 12:18:14 -0300204 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
Antti Palosaari435ef142014-07-12 21:43:12 -0300205 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
Mauro Carvalho Chehab347f7a32013-12-21 05:42:11 -0200206 depends on HAS_IOMEM
207 select I2C
208 select I2C_MUX
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300209 default y
210 help
Hans Verkuil5344fe62012-12-22 07:48:58 -0300211 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.
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300214
215 This is generally the right thing to do, except when there
Mauro Carvalho Chehab2c76a122012-10-17 16:09:23 -0300216 are strict constraints with regards to the kernel size,
217 like on embedded systems.
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300218
Mauro Carvalho Chehab2c76a122012-10-17 16:09:23 -0300219 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
Hans Verkuil5344fe62012-12-22 07:48:58 -0300222 the needed demodulators).
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300223
224 If unsure say Y.
225
Mauro Carvalho Chehabbb69ee22013-06-20 10:35:53 -0300226config 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
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300232source "drivers/media/i2c/Kconfig"
Hans Verkuil8283a092016-09-15 12:18:14 -0300233source "drivers/media/spi/Kconfig"
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300234source "drivers/media/tuners/Kconfig"
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300235source "drivers/media/dvb-frontends/Kconfig"
236
Randy Dunlapab482a62009-05-18 22:00:34 -0300237endif # MEDIA_SUPPORT