Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Multimedia device configuration |
| 3 | # |
| 4 | |
Randy Dunlap | ab482a6 | 2009-05-18 22:00:34 -0300 | [diff] [blame] | 5 | menuconfig MEDIA_SUPPORT |
| 6 | tristate "Multimedia support" |
Martin Schwidefsky | e25df12 | 2007-05-10 15:45:57 +0200 | [diff] [blame] | 7 | depends on HAS_IOMEM |
Randy Dunlap | ab482a6 | 2009-05-18 22:00:34 -0300 | [diff] [blame] | 8 | help |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 9 | If you want to use Webcams, Video grabber devices and/or TV devices |
Randy Dunlap | ab482a6 | 2009-05-18 22:00:34 -0300 | [diff] [blame] | 10 | enable this option and other options below. |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 11 | Additional info and docs are available on the web at |
| 12 | <http://linuxtv.org> |
Randy Dunlap | ab482a6 | 2009-05-18 22:00:34 -0300 | [diff] [blame] | 13 | |
| 14 | if MEDIA_SUPPORT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 16 | comment "Multimedia core support" |
| 17 | |
| 18 | # |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 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 |
| 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 | |
Antti Palosaari | 435ef14 | 2014-07-12 21:43:12 -0300 | [diff] [blame] | 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 | |
Mauro Carvalho Chehab | c455f5c | 2012-07-06 09:12:59 -0300 | [diff] [blame] | 69 | config MEDIA_RC_SUPPORT |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 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 | |
| 83 | # |
Laurent Pinchart | cf4b921 | 2009-12-09 08:39:56 -0300 | [diff] [blame] | 84 | # Media controller |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 85 | # Selectable only for webcam/grabbers, as other drivers don't use it |
Laurent Pinchart | cf4b921 | 2009-12-09 08:39:56 -0300 | [diff] [blame] | 86 | # |
| 87 | |
| 88 | config MEDIA_CONTROLLER |
Kees Cook | 51e8cb7 | 2012-10-02 11:17:27 -0700 | [diff] [blame] | 89 | bool "Media Controller API" |
Mauro Carvalho Chehab | a0246e0 | 2015-01-02 12:19:51 -0300 | [diff] [blame] | 90 | depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT |
Laurent Pinchart | cf4b921 | 2009-12-09 08:39:56 -0300 | [diff] [blame] | 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 | |
Mauro Carvalho Chehab | a0246e0 | 2015-01-02 12:19:51 -0300 | [diff] [blame] | 97 | config MEDIA_CONTROLLER_DVB |
| 98 | bool "Enable Media controller for DVB" |
| 99 | depends on MEDIA_CONTROLLER |
| 100 | ---help--- |
| 101 | Enable the media controller API support for DVB. |
| 102 | |
| 103 | This is currently experimental. |
| 104 | |
Laurent Pinchart | cf4b921 | 2009-12-09 08:39:56 -0300 | [diff] [blame] | 105 | # |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 106 | # Video4Linux support |
| 107 | # Only enables if one of the V4L2 types (ATV, webcam, radio) is selected |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 108 | # |
| 109 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 110 | config VIDEO_DEV |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 111 | tristate |
| 112 | depends on MEDIA_SUPPORT |
Antti Palosaari | 435ef14 | 2014-07-12 21:43:12 -0300 | [diff] [blame] | 113 | depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 114 | default y |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 115 | |
Stanimir Varbanov | 7cd5a16 | 2010-05-21 06:04:24 -0300 | [diff] [blame] | 116 | config VIDEO_V4L2_SUBDEV_API |
Kees Cook | 51e8cb7 | 2012-10-02 11:17:27 -0700 | [diff] [blame] | 117 | bool "V4L2 sub-device userspace API" |
| 118 | depends on VIDEO_DEV && MEDIA_CONTROLLER |
Stanimir Varbanov | 7cd5a16 | 2010-05-21 06:04:24 -0300 | [diff] [blame] | 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 | |
Mauro Carvalho Chehab | f0af8fa | 2012-08-14 16:07:25 -0300 | [diff] [blame] | 125 | source "drivers/media/v4l2-core/Kconfig" |
| 126 | |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 127 | # |
| 128 | # DVB Core |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 129 | # Only enables if one of DTV is selected |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 130 | # |
Mauro Carvalho Chehab | cd41e28 | 2006-04-09 15:43:41 -0300 | [diff] [blame] | 131 | |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 132 | config DVB_CORE |
Mauro Carvalho Chehab | b4c184e | 2012-05-28 08:17:47 -0300 | [diff] [blame] | 133 | tristate |
| 134 | depends on MEDIA_SUPPORT |
| 135 | depends on MEDIA_DIGITAL_TV_SUPPORT |
| 136 | default y |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 137 | select CRC32 |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 138 | |
Hans Petter Selasky | a34ff6c | 2011-05-23 09:43:35 -0300 | [diff] [blame] | 139 | config DVB_NET |
| 140 | bool "DVB Network Support" |
| 141 | default (NET && INET) |
Guennadi Liakhovetski | 8c528d5 | 2011-06-10 07:43:26 -0300 | [diff] [blame] | 142 | depends on NET && INET && DVB_CORE |
Hans Petter Selasky | a34ff6c | 2011-05-23 09:43:35 -0300 | [diff] [blame] | 143 | help |
Jiri Slaby | 9a78efc | 2011-06-16 16:06:56 -0300 | [diff] [blame] | 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. |
Hans Petter Selasky | a34ff6c | 2011-05-23 09:43:35 -0300 | [diff] [blame] | 148 | |
Jiri Slaby | 9a78efc | 2011-06-16 16:06:56 -0300 | [diff] [blame] | 149 | You may want to disable the network support on embedded devices. If |
| 150 | unsure say Y. |
Hans Petter Selasky | a34ff6c | 2011-05-23 09:43:35 -0300 | [diff] [blame] | 151 | |
Mauro Carvalho Chehab | 5d92bbe | 2012-12-27 14:43:41 -0200 | [diff] [blame] | 152 | # This Kconfig option is used by both PCI and USB drivers |
| 153 | config TTPCI_EEPROM |
Mauro Carvalho Chehab | bb69ee2 | 2013-06-20 10:35:53 -0300 | [diff] [blame] | 154 | tristate |
| 155 | depends on I2C |
| 156 | default n |
Mauro Carvalho Chehab | 5d92bbe | 2012-12-27 14:43:41 -0200 | [diff] [blame] | 157 | |
Mauro Carvalho Chehab | f0af8fa | 2012-08-14 16:07:25 -0300 | [diff] [blame] | 158 | source "drivers/media/dvb-core/Kconfig" |
| 159 | |
Mauro Carvalho Chehab | c455f5c | 2012-07-06 09:12:59 -0300 | [diff] [blame] | 160 | comment "Media drivers" |
Mauro Carvalho Chehab | 32cf86f | 2010-11-09 23:00:14 -0300 | [diff] [blame] | 161 | source "drivers/media/rc/Kconfig" |
Mauro Carvalho Chehab | 7c91f06 | 2008-04-29 21:38:44 -0300 | [diff] [blame] | 162 | |
| 163 | # |
Mauro Carvalho Chehab | cb7a01a | 2012-08-14 16:23:43 -0300 | [diff] [blame] | 164 | # V4L platform/mem2mem drivers |
| 165 | # |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 166 | |
Mauro Carvalho Chehab | 786baec | 2012-06-14 16:35:56 -0300 | [diff] [blame] | 167 | source "drivers/media/usb/Kconfig" |
Mauro Carvalho Chehab | 3c8c09b | 2012-08-20 10:02:05 -0300 | [diff] [blame] | 168 | source "drivers/media/pci/Kconfig" |
| 169 | source "drivers/media/platform/Kconfig" |
Mauro Carvalho Chehab | 0013ca8 | 2012-06-14 16:36:01 -0300 | [diff] [blame] | 170 | source "drivers/media/mmc/Kconfig" |
Mauro Carvalho Chehab | 3c8c09b | 2012-08-20 10:02:05 -0300 | [diff] [blame] | 171 | source "drivers/media/radio/Kconfig" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 172 | |
Mauro Carvalho Chehab | 616300b | 2012-06-14 16:35:55 -0300 | [diff] [blame] | 173 | comment "Supported FireWire (IEEE 1394) Adapters" |
| 174 | depends on DVB_CORE && FIREWIRE |
| 175 | source "drivers/media/firewire/Kconfig" |
| 176 | |
Mauro Carvalho Chehab | 3c8c09b | 2012-08-20 10:02:05 -0300 | [diff] [blame] | 177 | # Common driver options |
Mauro Carvalho Chehab | 3785bc1 | 2012-06-14 16:35:58 -0300 | [diff] [blame] | 178 | source "drivers/media/common/Kconfig" |
| 179 | |
Hans Verkuil | 5344fe6 | 2012-12-22 07:48:58 -0300 | [diff] [blame] | 180 | comment "Media ancillary drivers (tuners, sensors, i2c, frontends)" |
| 181 | |
Mauro Carvalho Chehab | 3c8c09b | 2012-08-20 10:02:05 -0300 | [diff] [blame] | 182 | # |
| 183 | # Ancillary drivers (tuners, i2c, frontends) |
| 184 | # |
| 185 | |
Mauro Carvalho Chehab | fccea74 | 2012-08-20 14:48:02 -0300 | [diff] [blame] | 186 | config MEDIA_SUBDRV_AUTOSELECT |
Hans Verkuil | 5344fe6 | 2012-12-22 07:48:58 -0300 | [diff] [blame] | 187 | bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)" |
Antti Palosaari | 435ef14 | 2014-07-12 21:43:12 -0300 | [diff] [blame] | 188 | depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT |
Mauro Carvalho Chehab | 347f7a3 | 2013-12-21 05:42:11 -0200 | [diff] [blame] | 189 | depends on HAS_IOMEM |
| 190 | select I2C |
| 191 | select I2C_MUX |
Mauro Carvalho Chehab | fccea74 | 2012-08-20 14:48:02 -0300 | [diff] [blame] | 192 | default y |
| 193 | help |
Hans Verkuil | 5344fe6 | 2012-12-22 07:48:58 -0300 | [diff] [blame] | 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. |
Mauro Carvalho Chehab | fccea74 | 2012-08-20 14:48:02 -0300 | [diff] [blame] | 197 | |
| 198 | This is generally the right thing to do, except when there |
Mauro Carvalho Chehab | 2c76a12 | 2012-10-17 16:09:23 -0300 | [diff] [blame] | 199 | are strict constraints with regards to the kernel size, |
| 200 | like on embedded systems. |
Mauro Carvalho Chehab | fccea74 | 2012-08-20 14:48:02 -0300 | [diff] [blame] | 201 | |
Mauro Carvalho Chehab | 2c76a12 | 2012-10-17 16:09:23 -0300 | [diff] [blame] | 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 |
Hans Verkuil | 5344fe6 | 2012-12-22 07:48:58 -0300 | [diff] [blame] | 205 | the needed demodulators). |
Mauro Carvalho Chehab | fccea74 | 2012-08-20 14:48:02 -0300 | [diff] [blame] | 206 | |
| 207 | If unsure say Y. |
| 208 | |
Mauro Carvalho Chehab | bb69ee2 | 2013-06-20 10:35:53 -0300 | [diff] [blame] | 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 | |
Mauro Carvalho Chehab | 3c8c09b | 2012-08-20 10:02:05 -0300 | [diff] [blame] | 215 | source "drivers/media/i2c/Kconfig" |
Mauro Carvalho Chehab | fccea74 | 2012-08-20 14:48:02 -0300 | [diff] [blame] | 216 | source "drivers/media/tuners/Kconfig" |
Mauro Carvalho Chehab | 3c8c09b | 2012-08-20 10:02:05 -0300 | [diff] [blame] | 217 | source "drivers/media/dvb-frontends/Kconfig" |
| 218 | |
Randy Dunlap | ab482a6 | 2009-05-18 22:00:34 -0300 | [diff] [blame] | 219 | endif # MEDIA_SUPPORT |