xref: /linux/drivers/media/Kconfig (revision 6ee738610f41b59733f63718f0bdbcba7d3a3f12)
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 Video for Linux, DVB for Linux, or DAB adapters,
10	  enable this option and other options below.
11
12if MEDIA_SUPPORT
13
14comment "Multimedia core support"
15
16#
17# V4L core and enabled API's
18#
19
20config VIDEO_DEV
21	tristate "Video For Linux"
22	---help---
23	  V4L core support for video capture and overlay devices, webcams and
24	  AM/FM radio cards.
25
26	  This kernel includes support for the new Video for Linux Two API,
27	  (V4L2).
28
29	  Additional info and docs are available on the web at
30	  <http://linuxtv.org>
31
32	  Documentation for V4L2 is also available on the web at
33	  <http://bytesex.org/v4l/>.
34
35	  To compile this driver as a module, choose M here: the
36	  module will be called videodev.
37
38config VIDEO_V4L2_COMMON
39	tristate
40	depends on (I2C || I2C=n) && VIDEO_DEV
41	default (I2C || I2C=n) && VIDEO_DEV
42
43config VIDEO_ALLOW_V4L1
44	bool "Enable Video For Linux API 1 (DEPRECATED)"
45	depends on VIDEO_DEV && VIDEO_V4L2_COMMON
46	default VIDEO_DEV && VIDEO_V4L2_COMMON
47	---help---
48	  Enables drivers based on the legacy V4L1 API.
49
50	  This api were developed to be used at Kernel 2.2 and 2.4, but
51	  lacks support for several video standards. There are several
52	  drivers at kernel that still depends on it.
53
54	  If you are unsure as to whether this is required, answer Y.
55
56config VIDEO_V4L1_COMPAT
57	bool "Enable Video For Linux API 1 compatible Layer" if !VIDEO_ALLOW_V4L1
58	depends on VIDEO_DEV
59	default y
60	---help---
61	  Enables a compatibility API used by most V4L2 devices to allow
62	  its usage with legacy applications that supports only V4L1 api.
63
64	  Documentation for the original API is included in the file
65	  <Documentation/video4linux/API.html>.
66
67	  User tools for this are available from
68	  <ftp://ftp.uk.linux.org/pub/linux/video4linux/>.
69
70	  If you are unsure as to whether this is required, answer Y.
71
72#
73# DVB Core
74#
75
76config DVB_CORE
77	tristate "DVB for Linux"
78	depends on NET && INET
79	select CRC32
80	help
81	  DVB core utility functions for device handling, software fallbacks etc.
82
83	  Enable this if you own a DVB/ATSC adapter and want to use it or if
84	  you compile Linux for a digital SetTopBox.
85
86	  Say Y when you have a DVB or an ATSC card and want to use it.
87
88	  API specs and user tools are available from <http://www.linuxtv.org/>.
89
90	  Please report problems regarding this support to the LinuxDVB
91	  mailing list.
92
93	  If unsure say N.
94
95config VIDEO_MEDIA
96	tristate
97	default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV)
98
99comment "Multimedia drivers"
100
101source "drivers/media/common/Kconfig"
102
103#
104# Tuner drivers for DVB and V4L
105#
106
107source "drivers/media/common/tuners/Kconfig"
108
109#
110# Video/Radio/Hybrid adapters
111#
112
113source "drivers/media/video/Kconfig"
114
115source "drivers/media/radio/Kconfig"
116
117#
118# DVB adapters
119#
120
121source "drivers/media/dvb/Kconfig"
122
123config DAB
124	boolean "DAB adapters"
125	---help---
126	  Allow selecting support for Digital Audio Broadcasting (DAB)
127	  Receiver adapters.
128
129if DAB
130config USB_DABUSB
131	tristate "DABUSB driver"
132	depends on USB
133	---help---
134	  A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
135	  brought to you by the DAB-Team
136	  <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
137	  as an example for URB-based bulk, control, and isochronous
138	  transactions. URB's are explained in
139	  <Documentation/usb/URB.txt>.
140
141	  To compile this driver as a module, choose M here: the
142	  module will be called dabusb.
143endif # DAB
144
145endif # MEDIA_SUPPORT
146