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