blob: 3512316e7a46dcba3af399b1121d95b63eb2bf0a [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Multimedia device configuration
3#
4
Randy Dunlapab482a62009-05-18 22:00:34 -03005menuconfig MEDIA_SUPPORT
6 tristate "Multimedia support"
Martin Schwidefskye25df122007-05-10 15:45:57 +02007 depends on HAS_IOMEM
Randy Dunlapab482a62009-05-18 22:00:34 -03008 help
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -03009 If you want to use Webcams, Video grabber devices and/or TV devices
Randy Dunlapab482a62009-05-18 22:00:34 -030010 enable this option and other options below.
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030011 Additional info and docs are available on the web at
Mauro Carvalho Chehab991ce922015-12-04 10:38:59 -020012 <https://linuxtv.org>
Randy Dunlapab482a62009-05-18 22:00:34 -030013
14if MEDIA_SUPPORT
Linus Torvalds1da177e2005-04-16 15:20:36 -070015
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030016comment "Multimedia core support"
17
18#
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030019# 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
Mauro Carvalho Chehab991ce922015-12-04 10:38:59 -020054 <https://linuxtv.org>
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030055
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
Antti Palosaari435ef142014-07-12 21:43:12 -030062config 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
Mauro Carvalho Chehabc455f5c2012-07-06 09:12:59 -030069config MEDIA_RC_SUPPORT
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030070 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
Hans Verkuil0dbaceb2016-11-02 08:25:28 -020083config MEDIA_CEC_SUPPORT
84 bool "HDMI CEC support"
85 select MEDIA_CEC_EDID
86 ---help---
87 Enable support for HDMI CEC (Consumer Electronics Control),
88 which is an optional HDMI feature.
89
90 Say Y when you have an HDMI receiver, transmitter or a USB CEC
91 adapter that supports HDMI CEC.
92
93config MEDIA_CEC_DEBUG
94 bool "HDMI CEC debugfs interface"
95 depends on MEDIA_CEC_SUPPORT && DEBUG_FS
96 ---help---
97 Turns on the DebugFS interface for CEC devices.
98
Hans Verkuil29fb44a2016-06-17 09:13:08 -030099config MEDIA_CEC_EDID
Hans Verkuil5bb23992016-07-01 07:33:10 -0300100 bool
Hans Verkuil29fb44a2016-06-17 09:13:08 -0300101
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300102#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -0300103# Media controller
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300104# Selectable only for webcam/grabbers, as other drivers don't use it
Laurent Pinchartcf4b9212009-12-09 08:39:56 -0300105#
106
107config MEDIA_CONTROLLER
Kees Cook51e8cb72012-10-02 11:17:27 -0700108 bool "Media Controller API"
Mauro Carvalho Chehaba0246e02015-01-02 12:19:51 -0300109 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
Laurent Pinchartcf4b9212009-12-09 08:39:56 -0300110 ---help---
111 Enable the media controller API used to query media devices internal
112 topology and configure it dynamically.
113
114 This API is mostly used by camera interfaces in embedded platforms.
115
Mauro Carvalho Chehaba0246e02015-01-02 12:19:51 -0300116config MEDIA_CONTROLLER_DVB
Mauro Carvalho Chehabc3f22502015-05-06 11:26:13 -0300117 bool "Enable Media controller for DVB (EXPERIMENTAL)"
Mauro Carvalho Chehaba4afb3e2016-11-18 17:47:41 -0200118 depends on MEDIA_CONTROLLER && DVB_CORE
Mauro Carvalho Chehaba0246e02015-01-02 12:19:51 -0300119 ---help---
120 Enable the media controller API support for DVB.
121
122 This is currently experimental.
123
Laurent Pinchartcf4b9212009-12-09 08:39:56 -0300124#
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300125# Video4Linux support
126# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300127#
128
Linus Torvalds1da177e2005-04-16 15:20:36 -0700129config VIDEO_DEV
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300130 tristate
131 depends on MEDIA_SUPPORT
Antti Palosaari435ef142014-07-12 21:43:12 -0300132 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300133 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700134
Stanimir Varbanov7cd5a162010-05-21 06:04:24 -0300135config VIDEO_V4L2_SUBDEV_API
Kees Cook51e8cb72012-10-02 11:17:27 -0700136 bool "V4L2 sub-device userspace API"
137 depends on VIDEO_DEV && MEDIA_CONTROLLER
Stanimir Varbanov7cd5a162010-05-21 06:04:24 -0300138 ---help---
139 Enables the V4L2 sub-device pad-level userspace API used to configure
140 video format, size and frame rate between hardware blocks.
141
142 This API is mostly used by camera interfaces in embedded platforms.
143
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -0300144source "drivers/media/v4l2-core/Kconfig"
145
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300146#
147# DVB Core
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300148# Only enables if one of DTV is selected
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300149#
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -0300150
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300151config DVB_CORE
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300152 tristate
153 depends on MEDIA_SUPPORT
154 depends on MEDIA_DIGITAL_TV_SUPPORT
155 default y
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300156 select CRC32
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300157
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300158config DVB_NET
159 bool "DVB Network Support"
160 default (NET && INET)
Guennadi Liakhovetski8c528d52011-06-10 07:43:26 -0300161 depends on NET && INET && DVB_CORE
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300162 help
Jiri Slaby9a78efc2011-06-16 16:06:56 -0300163 This option enables DVB Network Support which is a part of the DVB
164 standard. It is used, for example, by automatic firmware updates used
165 on Set-Top-Boxes. It can also be used to access the Internet via the
166 DVB card, if the network provider supports it.
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300167
Jiri Slaby9a78efc2011-06-16 16:06:56 -0300168 You may want to disable the network support on embedded devices. If
169 unsure say Y.
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300170
Mauro Carvalho Chehab5d92bbe2012-12-27 14:43:41 -0200171# This Kconfig option is used by both PCI and USB drivers
172config TTPCI_EEPROM
Mauro Carvalho Chehabbb69ee22013-06-20 10:35:53 -0300173 tristate
174 depends on I2C
175 default n
Mauro Carvalho Chehab5d92bbe2012-12-27 14:43:41 -0200176
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -0300177source "drivers/media/dvb-core/Kconfig"
178
Mauro Carvalho Chehabc455f5c2012-07-06 09:12:59 -0300179comment "Media drivers"
Mauro Carvalho Chehab32cf86f2010-11-09 23:00:14 -0300180source "drivers/media/rc/Kconfig"
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300181
182#
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300183# V4L platform/mem2mem drivers
184#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185
Mauro Carvalho Chehab786baec2012-06-14 16:35:56 -0300186source "drivers/media/usb/Kconfig"
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300187source "drivers/media/pci/Kconfig"
188source "drivers/media/platform/Kconfig"
Mauro Carvalho Chehab0013ca82012-06-14 16:36:01 -0300189source "drivers/media/mmc/Kconfig"
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300190source "drivers/media/radio/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700191
Mauro Carvalho Chehab616300b2012-06-14 16:35:55 -0300192comment "Supported FireWire (IEEE 1394) Adapters"
193 depends on DVB_CORE && FIREWIRE
194source "drivers/media/firewire/Kconfig"
195
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300196# Common driver options
Mauro Carvalho Chehab3785bc12012-06-14 16:35:58 -0300197source "drivers/media/common/Kconfig"
198
Hans Verkuil8283a092016-09-15 12:18:14 -0300199comment "Media ancillary drivers (tuners, sensors, i2c, spi, frontends)"
Hans Verkuil5344fe62012-12-22 07:48:58 -0300200
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300201#
Hans Verkuil8283a092016-09-15 12:18:14 -0300202# Ancillary drivers (tuners, i2c, spi, frontends)
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300203#
204
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300205config MEDIA_SUBDRV_AUTOSELECT
Hans Verkuil8283a092016-09-15 12:18:14 -0300206 bool "Autoselect ancillary drivers (tuners, sensors, i2c, spi, frontends)"
Antti Palosaari435ef142014-07-12 21:43:12 -0300207 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
Mauro Carvalho Chehab347f7a32013-12-21 05:42:11 -0200208 depends on HAS_IOMEM
209 select I2C
210 select I2C_MUX
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300211 default y
212 help
Hans Verkuil5344fe62012-12-22 07:48:58 -0300213 By default, a media driver auto-selects all possible ancillary
214 devices such as tuners, sensors, video encoders/decoders and
215 frontends, that are used by any of the supported devices.
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300216
217 This is generally the right thing to do, except when there
Mauro Carvalho Chehab2c76a122012-10-17 16:09:23 -0300218 are strict constraints with regards to the kernel size,
219 like on embedded systems.
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300220
Mauro Carvalho Chehab2c76a122012-10-17 16:09:23 -0300221 Use this option with care, as deselecting ancillary drivers which
222 are, in fact, necessary will result in the lack of the needed
223 functionality for your device (it may not tune or may not have
Hans Verkuil5344fe62012-12-22 07:48:58 -0300224 the needed demodulators).
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300225
226 If unsure say Y.
227
Mauro Carvalho Chehabbb69ee22013-06-20 10:35:53 -0300228config MEDIA_ATTACH
229 bool
230 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
231 depends on MODULES
232 default MODULES
233
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300234source "drivers/media/i2c/Kconfig"
Hans Verkuil8283a092016-09-15 12:18:14 -0300235source "drivers/media/spi/Kconfig"
Mauro Carvalho Chehabfccea742012-08-20 14:48:02 -0300236source "drivers/media/tuners/Kconfig"
Mauro Carvalho Chehab3c8c09b2012-08-20 10:02:05 -0300237source "drivers/media/dvb-frontends/Kconfig"
238
Randy Dunlapab482a62009-05-18 22:00:34 -0300239endif # MEDIA_SUPPORT