blob: 26f3de57a97141373f6cffc3c8a17a5c147d3fae [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
12 <http://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
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
Mauro Carvalho Chehabc455f5c2012-07-06 09:12:59 -030062config MEDIA_RC_SUPPORT
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030063 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
76#
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030077# Media controller
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030078# Selectable only for webcam/grabbers, as other drivers don't use it
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030079#
80
81config MEDIA_CONTROLLER
82 bool "Media Controller API (EXPERIMENTAL)"
83 depends on EXPERIMENTAL
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030084 depends on MEDIA_CAMERA_SUPPORT
Laurent Pinchartcf4b9212009-12-09 08:39:56 -030085 ---help---
86 Enable the media controller API used to query media devices internal
87 topology and configure it dynamically.
88
89 This API is mostly used by camera interfaces in embedded platforms.
90
91#
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030092# Video4Linux support
93# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030094#
95
Linus Torvalds1da177e2005-04-16 15:20:36 -070096config VIDEO_DEV
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -030097 tristate
98 depends on MEDIA_SUPPORT
99 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT
100 default y
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101
Mauro Carvalho Chehaba9254472008-01-29 18:32:35 -0300102config VIDEO_V4L2_COMMON
103 tristate
104 depends on (I2C || I2C=n) && VIDEO_DEV
105 default (I2C || I2C=n) && VIDEO_DEV
106
Stanimir Varbanov7cd5a162010-05-21 06:04:24 -0300107config VIDEO_V4L2_SUBDEV_API
108 bool "V4L2 sub-device userspace API (EXPERIMENTAL)"
109 depends on VIDEO_DEV && MEDIA_CONTROLLER && EXPERIMENTAL
110 ---help---
111 Enables the V4L2 sub-device pad-level userspace API used to configure
112 video format, size and frame rate between hardware blocks.
113
114 This API is mostly used by camera interfaces in embedded platforms.
115
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -0300116source "drivers/media/v4l2-core/Kconfig"
117
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300118#
119# DVB Core
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300120# Only enables if one of DTV is selected
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300121#
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -0300122
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300123config DVB_CORE
Mauro Carvalho Chehabb4c184e2012-05-28 08:17:47 -0300124 tristate
125 depends on MEDIA_SUPPORT
126 depends on MEDIA_DIGITAL_TV_SUPPORT
127 default y
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300128 select CRC32
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300129
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300130config DVB_NET
131 bool "DVB Network Support"
132 default (NET && INET)
Guennadi Liakhovetski8c528d52011-06-10 07:43:26 -0300133 depends on NET && INET && DVB_CORE
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300134 help
Jiri Slaby9a78efc2011-06-16 16:06:56 -0300135 This option enables DVB Network Support which is a part of the DVB
136 standard. It is used, for example, by automatic firmware updates used
137 on Set-Top-Boxes. It can also be used to access the Internet via the
138 DVB card, if the network provider supports it.
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300139
Jiri Slaby9a78efc2011-06-16 16:06:56 -0300140 You may want to disable the network support on embedded devices. If
141 unsure say Y.
Hans Petter Selaskya34ff6c2011-05-23 09:43:35 -0300142
Mauro Carvalho Chehabf0af8fa2012-08-14 16:07:25 -0300143source "drivers/media/dvb-core/Kconfig"
144
Mauro Carvalho Chehabc455f5c2012-07-06 09:12:59 -0300145comment "Media drivers"
Mauro Carvalho Chehab32cf86f2010-11-09 23:00:14 -0300146source "drivers/media/rc/Kconfig"
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300147
148#
149# Tuner drivers for DVB and V4L
150#
151
Mauro Carvalho Chehabccae7af2012-06-14 16:35:59 -0300152source "drivers/media/tuners/Kconfig"
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300153
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300154source "drivers/media/i2c/Kconfig"
Mauro Carvalho Chehab17de9a42008-04-15 18:11:50 -0300155
Mauro Carvalho Chehabcb7a01a2012-08-14 16:23:43 -0300156#
157# V4L platform/mem2mem drivers
158#
Linus Torvalds1da177e2005-04-16 15:20:36 -0700159source "drivers/media/video/Kconfig"
160
161source "drivers/media/radio/Kconfig"
162
Mauro Carvalho Chehab25aee3d2012-06-14 16:35:57 -0300163source "drivers/media/pci/Kconfig"
Mauro Carvalho Chehab786baec2012-06-14 16:35:56 -0300164source "drivers/media/usb/Kconfig"
Mauro Carvalho Chehab0013ca82012-06-14 16:36:01 -0300165source "drivers/media/mmc/Kconfig"
Mauro Carvalho Chehabd1677dc2012-08-14 15:12:06 -0300166source "drivers/media/parport/Kconfig"
Linus Torvalds1da177e2005-04-16 15:20:36 -0700167
Mauro Carvalho Chehab616300b2012-06-14 16:35:55 -0300168comment "Supported FireWire (IEEE 1394) Adapters"
169 depends on DVB_CORE && FIREWIRE
170source "drivers/media/firewire/Kconfig"
171
Mauro Carvalho Chehab9a0bf522012-08-13 23:13:41 -0300172comment "Supported DVB Frontends"
Mauro Carvalho Chehab616300b2012-06-14 16:35:55 -0300173 depends on DVB_CORE
Mauro Carvalho Chehab9a0bf522012-08-13 23:13:41 -0300174source "drivers/media/dvb-frontends/Kconfig"
175
Mauro Carvalho Chehab3785bc12012-06-14 16:35:58 -0300176# Common drivers
177source "drivers/media/common/Kconfig"
178
Randy Dunlapab482a62009-05-18 22:00:34 -0300179endif # MEDIA_SUPPORT