blob: bad2cedb8d96886cec38af4b0003c476fbdd11f9 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Multimedia device configuration
3#
4
Randy Dunlapab482a62009-05-18 22:00:34 -03005menuconfig MEDIA_SUPPORT
6 tristate "Multimedia support"
Martin Schwidefskye25df122007-05-10 15:45:57 +02007 depends on HAS_IOMEM
Randy Dunlapab482a62009-05-18 22:00:34 -03008 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
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030014comment "Multimedia core support"
15
16#
17# V4L core and enabled API's
18#
19
Linus Torvalds1da177e2005-04-16 15:20:36 -070020config VIDEO_DEV
21 tristate "Video For Linux"
Arnd Bergmann6de5bd12010-09-11 18:00:57 +020022 depends on BKL # used in many drivers for ioctl handling, need to kill
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 ---help---
Mauro Carvalho Chehabf1784352008-04-29 21:38:45 -030024 V4L core support for video capture and overlay devices, webcams and
25 AM/FM radio cards.
Linus Torvalds1da177e2005-04-16 15:20:36 -070026
27 This kernel includes support for the new Video for Linux Two API,
Mauro Carvalho Chehabf1784352008-04-29 21:38:45 -030028 (V4L2).
Linus Torvalds1da177e2005-04-16 15:20:36 -070029
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -030030 Additional info and docs are available on the web at
31 <http://linuxtv.org>
32
33 Documentation for V4L2 is also available on the web at
34 <http://bytesex.org/v4l/>.
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
36 To compile this driver as a module, choose M here: the
37 module will be called videodev.
38
Mauro Carvalho Chehaba9254472008-01-29 18:32:35 -030039config VIDEO_V4L2_COMMON
40 tristate
41 depends on (I2C || I2C=n) && VIDEO_DEV
42 default (I2C || I2C=n) && VIDEO_DEV
43
Mauro Carvalho Chehab17de9a42008-04-15 18:11:50 -030044config VIDEO_ALLOW_V4L1
Mauro Carvalho Chehab741b5bb2006-05-28 15:45:54 -030045 bool "Enable Video For Linux API 1 (DEPRECATED)"
Mauro Carvalho Chehab057596e2008-02-02 11:25:31 -030046 depends on VIDEO_DEV && VIDEO_V4L2_COMMON
47 default VIDEO_DEV && VIDEO_V4L2_COMMON
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -030048 ---help---
Mauro Carvalho Chehabf1784352008-04-29 21:38:45 -030049 Enables drivers based on the legacy V4L1 API.
50
51 This api were developed to be used at Kernel 2.2 and 2.4, but
52 lacks support for several video standards. There are several
53 drivers at kernel that still depends on it.
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -030054
55 If you are unsure as to whether this is required, answer Y.
56
57config VIDEO_V4L1_COMPAT
Mauro Carvalho Chehabd4216482008-07-17 22:25:53 -030058 bool "Enable Video For Linux API 1 compatible Layer" if !VIDEO_ALLOW_V4L1
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -030059 depends on VIDEO_DEV
Mauro Carvalho Chehabd4216482008-07-17 22:25:53 -030060 default y
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -030061 ---help---
Mauro Carvalho Chehabf1784352008-04-29 21:38:45 -030062 Enables a compatibility API used by most V4L2 devices to allow
63 its usage with legacy applications that supports only V4L1 api.
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -030064
65 Documentation for the original API is included in the file
66 <Documentation/video4linux/API.html>.
67
68 User tools for this are available from
69 <ftp://ftp.uk.linux.org/pub/linux/video4linux/>.
70
71 If you are unsure as to whether this is required, answer Y.
72
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030073#
74# DVB Core
75#
Mauro Carvalho Chehabcd41e282006-04-09 15:43:41 -030076
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030077config DVB_CORE
78 tristate "DVB for Linux"
79 depends on NET && INET
80 select CRC32
81 help
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030082 DVB core utility functions for device handling, software fallbacks etc.
Mauro Carvalho Chehabf1784352008-04-29 21:38:45 -030083
84 Enable this if you own a DVB/ATSC adapter and want to use it or if
85 you compile Linux for a digital SetTopBox.
86
87 Say Y when you have a DVB or an ATSC card and want to use it.
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030088
89 API specs and user tools are available from <http://www.linuxtv.org/>.
90
Mauro Carvalho Chehabf1784352008-04-29 21:38:45 -030091 Please report problems regarding this support to the LinuxDVB
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030092 mailing list.
93
94 If unsure say N.
95
96config VIDEO_MEDIA
Mauro Carvalho Chehab17de9a42008-04-15 18:11:50 -030097 tristate
Mauro Carvalho Chehab039d4002008-05-14 04:36:22 -030098 default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV)
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -030099
100comment "Multimedia drivers"
101
102source "drivers/media/common/Kconfig"
Mauro Carvalho Chehabe27d3812009-12-11 08:00:00 -0300103source "drivers/media/IR/Kconfig"
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300104
105#
106# Tuner drivers for DVB and V4L
107#
108
109source "drivers/media/common/tuners/Kconfig"
110
111#
112# Video/Radio/Hybrid adapters
113#
Mauro Carvalho Chehab17de9a42008-04-15 18:11:50 -0300114
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115source "drivers/media/video/Kconfig"
116
117source "drivers/media/radio/Kconfig"
118
Mauro Carvalho Chehab7c91f062008-04-29 21:38:44 -0300119#
120# DVB adapters
121#
122
Linus Torvalds1da177e2005-04-16 15:20:36 -0700123source "drivers/media/dvb/Kconfig"
124
Mauro Carvalho Chehab9a957352007-05-03 16:01:02 -0300125config DAB
126 boolean "DAB adapters"
Mauro Carvalho Chehab9a957352007-05-03 16:01:02 -0300127 ---help---
Márton Némethb7763f92009-02-01 19:31:54 -0300128 Allow selecting support for Digital Audio Broadcasting (DAB)
Mauro Carvalho Chehab9a957352007-05-03 16:01:02 -0300129 Receiver adapters.
130
131if DAB
Mauro Carvalho Chehab9f6933b2006-03-25 09:05:39 -0300132config USB_DABUSB
Mauro Carvalho Chehab8dbc5ec2006-03-26 08:54:09 -0300133 tristate "DABUSB driver"
134 depends on USB
135 ---help---
136 A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
137 brought to you by the DAB-Team
138 <http://wwwbode.cs.tum.edu/Par/arch/dab/>. This driver can be taken
139 as an example for URB-based bulk, control, and isochronous
140 transactions. URB's are explained in
141 <Documentation/usb/URB.txt>.
Mauro Carvalho Chehab9f6933b2006-03-25 09:05:39 -0300142
Mauro Carvalho Chehab8dbc5ec2006-03-26 08:54:09 -0300143 To compile this driver as a module, choose M here: the
144 module will be called dabusb.
Mauro Carvalho Chehab9a957352007-05-03 16:01:02 -0300145endif # DAB
Mauro Carvalho Chehab9f6933b2006-03-25 09:05:39 -0300146
Randy Dunlapab482a62009-05-18 22:00:34 -0300147endif # MEDIA_SUPPORT