xref: /openbmc/linux/drivers/media/Kconfig (revision e190bfe5)
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"
102source "drivers/media/IR/Kconfig"
103
104#
105# Tuner drivers for DVB and V4L
106#
107
108source "drivers/media/common/tuners/Kconfig"
109
110#
111# Video/Radio/Hybrid adapters
112#
113
114source "drivers/media/video/Kconfig"
115
116source "drivers/media/radio/Kconfig"
117
118#
119# DVB adapters
120#
121
122source "drivers/media/dvb/Kconfig"
123
124config DAB
125	boolean "DAB adapters"
126	---help---
127	  Allow selecting support for Digital Audio Broadcasting (DAB)
128	  Receiver adapters.
129
130if DAB
131config USB_DABUSB
132	tristate "DABUSB driver"
133	depends on USB
134	---help---
135	  A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
136	  brought to you by the DAB-Team
137	  <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
138	  as an example for URB-based bulk, control, and isochronous
139	  transactions. URB's are explained in
140	  <Documentation/usb/URB.txt>.
141
142	  To compile this driver as a module, choose M here: the
143	  module will be called dabusb.
144endif # DAB
145
146endif # MEDIA_SUPPORT
147