xref: /linux/drivers/media/Kconfig (revision 4413e16d9d21673bb5048a2e542f1aaa00015c2e)
1#
2# Multimedia device configuration
3#
4
5menuconfig MEDIA_SUPPORT
6	tristate "Multimedia support"
7	depends on HAS_IOMEM
8	help
9	  If you want to use Webcams, Video grabber devices and/or TV devices
10	  enable this option and other options below.
11	  Additional info and docs are available on the web at
12	  <http://linuxtv.org>
13
14if MEDIA_SUPPORT
15
16comment "Multimedia core support"
17
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
62config MEDIA_RC_SUPPORT
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
76#
77# Media controller
78#	Selectable only for webcam/grabbers, as other drivers don't use it
79#
80
81config MEDIA_CONTROLLER
82	bool "Media Controller API (EXPERIMENTAL)"
83	depends on EXPERIMENTAL
84	depends on MEDIA_CAMERA_SUPPORT
85	---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#
92# Video4Linux support
93#	Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
94#
95
96config VIDEO_DEV
97	tristate
98	depends on MEDIA_SUPPORT
99	depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT
100	default y
101
102config VIDEO_V4L2_COMMON
103	tristate
104	depends on (I2C || I2C=n) && VIDEO_DEV
105	default (I2C || I2C=n) && VIDEO_DEV
106
107config 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
116#
117# DVB Core
118#	Only enables if one of DTV is selected
119#
120
121config DVB_CORE
122	tristate
123	depends on MEDIA_SUPPORT
124	depends on MEDIA_DIGITAL_TV_SUPPORT
125	default y
126	select CRC32
127
128config DVB_NET
129	bool "DVB Network Support"
130	default (NET && INET)
131	depends on NET && INET && DVB_CORE
132	help
133	  This option enables DVB Network Support which is a part of the DVB
134	  standard. It is used, for example, by automatic firmware updates used
135	  on Set-Top-Boxes. It can also be used to access the Internet via the
136	  DVB card, if the network provider supports it.
137
138	  You may want to disable the network support on embedded devices. If
139	  unsure say Y.
140
141comment "Media drivers"
142source "drivers/media/common/Kconfig"
143source "drivers/media/rc/Kconfig"
144
145#
146# Tuner drivers for DVB and V4L
147#
148
149source "drivers/media/common/tuners/Kconfig"
150
151#
152# Video/Radio/Hybrid adapters
153#
154
155source "drivers/media/video/Kconfig"
156
157source "drivers/media/radio/Kconfig"
158
159#
160# DVB adapters
161#
162
163source "drivers/media/dvb/Kconfig"
164
165endif # MEDIA_SUPPORT
166