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_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
69config MEDIA_RC_SUPPORT
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#
84# Media controller
85#	Selectable only for webcam/grabbers, as other drivers don't use it
86#
87
88config MEDIA_CONTROLLER
89	bool "Media Controller API"
90	depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT
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
97config MEDIA_CONTROLLER_DVB
98	bool "Enable Media controller for DVB"
99	depends on MEDIA_CONTROLLER
100	depends on BROKEN
101	---help---
102	  Enable the media controller API support for DVB.
103
104	  This is currently experimental.
105
106#
107# Video4Linux support
108#	Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
109#
110
111config VIDEO_DEV
112	tristate
113	depends on MEDIA_SUPPORT
114	depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT || MEDIA_SDR_SUPPORT
115	default y
116
117config VIDEO_V4L2_SUBDEV_API
118	bool "V4L2 sub-device userspace API"
119	depends on VIDEO_DEV && MEDIA_CONTROLLER
120	---help---
121	  Enables the V4L2 sub-device pad-level userspace API used to configure
122	  video format, size and frame rate between hardware blocks.
123
124	  This API is mostly used by camera interfaces in embedded platforms.
125
126source "drivers/media/v4l2-core/Kconfig"
127
128#
129# DVB Core
130#	Only enables if one of DTV is selected
131#
132
133config DVB_CORE
134	tristate
135	depends on MEDIA_SUPPORT
136	depends on MEDIA_DIGITAL_TV_SUPPORT
137	default y
138	select CRC32
139
140config DVB_NET
141	bool "DVB Network Support"
142	default (NET && INET)
143	depends on NET && INET && DVB_CORE
144	help
145	  This option enables DVB Network Support which is a part of the DVB
146	  standard. It is used, for example, by automatic firmware updates used
147	  on Set-Top-Boxes. It can also be used to access the Internet via the
148	  DVB card, if the network provider supports it.
149
150	  You may want to disable the network support on embedded devices. If
151	  unsure say Y.
152
153# This Kconfig option is used by both PCI and USB drivers
154config TTPCI_EEPROM
155	tristate
156	depends on I2C
157	default n
158
159source "drivers/media/dvb-core/Kconfig"
160
161comment "Media drivers"
162source "drivers/media/rc/Kconfig"
163
164#
165# V4L platform/mem2mem drivers
166#
167
168source "drivers/media/usb/Kconfig"
169source "drivers/media/pci/Kconfig"
170source "drivers/media/platform/Kconfig"
171source "drivers/media/mmc/Kconfig"
172source "drivers/media/radio/Kconfig"
173
174comment "Supported FireWire (IEEE 1394) Adapters"
175	depends on DVB_CORE && FIREWIRE
176source "drivers/media/firewire/Kconfig"
177
178# Common driver options
179source "drivers/media/common/Kconfig"
180
181comment "Media ancillary drivers (tuners, sensors, i2c, frontends)"
182
183#
184# Ancillary drivers (tuners, i2c, frontends)
185#
186
187config MEDIA_SUBDRV_AUTOSELECT
188	bool "Autoselect ancillary drivers (tuners, sensors, i2c, frontends)"
189	depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_CAMERA_SUPPORT || MEDIA_SDR_SUPPORT
190	depends on HAS_IOMEM
191	select I2C
192	select I2C_MUX
193	default y
194	help
195	  By default, a media driver auto-selects all possible ancillary
196	  devices such as tuners, sensors, video encoders/decoders and
197	  frontends, that are used by any of the supported devices.
198
199	  This is generally the right thing to do, except when there
200	  are strict constraints with regards to the kernel size,
201	  like on embedded systems.
202
203	  Use this option with care, as deselecting ancillary drivers which
204	  are, in fact, necessary will result in the lack of the needed
205	  functionality for your device (it may not tune or may not have
206	  the needed demodulators).
207
208	  If unsure say Y.
209
210config MEDIA_ATTACH
211	bool
212	depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
213	depends on MODULES
214	default MODULES
215
216source "drivers/media/i2c/Kconfig"
217source "drivers/media/tuners/Kconfig"
218source "drivers/media/dvb-frontends/Kconfig"
219
220endif # MEDIA_SUPPORT
221