xref: /openbmc/linux/drivers/media/Kconfig (revision ab482a6c)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Multimedia device configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
5ab482a6cSRandy Dunlapmenuconfig MEDIA_SUPPORT
6ab482a6cSRandy Dunlap	tristate "Multimedia support"
7e25df120SMartin Schwidefsky	depends on HAS_IOMEM
8ab482a6cSRandy Dunlap	help
9ab482a6cSRandy Dunlap	  If you want to use Video for Linux, DVB for Linux, or DAB adapters,
10ab482a6cSRandy Dunlap	  enable this option and other options below.
11ab482a6cSRandy Dunlap
12ab482a6cSRandy Dunlapif MEDIA_SUPPORT
131da177e4SLinus Torvalds
147c91f062SMauro Carvalho Chehabcomment "Multimedia core support"
157c91f062SMauro Carvalho Chehab
167c91f062SMauro Carvalho Chehab#
177c91f062SMauro Carvalho Chehab# V4L core and enabled API's
187c91f062SMauro Carvalho Chehab#
197c91f062SMauro Carvalho Chehab
201da177e4SLinus Torvaldsconfig VIDEO_DEV
211da177e4SLinus Torvalds	tristate "Video For Linux"
221da177e4SLinus Torvalds	---help---
23f1784354SMauro Carvalho Chehab	  V4L core support for video capture and overlay devices, webcams and
24f1784354SMauro Carvalho Chehab	  AM/FM radio cards.
251da177e4SLinus Torvalds
261da177e4SLinus Torvalds	  This kernel includes support for the new Video for Linux Two API,
27f1784354SMauro Carvalho Chehab	  (V4L2).
281da177e4SLinus Torvalds
29cd41e28eSMauro Carvalho Chehab	  Additional info and docs are available on the web at
30cd41e28eSMauro Carvalho Chehab	  <http://linuxtv.org>
31cd41e28eSMauro Carvalho Chehab
32cd41e28eSMauro Carvalho Chehab	  Documentation for V4L2 is also available on the web at
33cd41e28eSMauro Carvalho Chehab	  <http://bytesex.org/v4l/>.
341da177e4SLinus Torvalds
351da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
361da177e4SLinus Torvalds	  module will be called videodev.
371da177e4SLinus Torvalds
38a9254475SMauro Carvalho Chehabconfig VIDEO_V4L2_COMMON
39a9254475SMauro Carvalho Chehab	tristate
40a9254475SMauro Carvalho Chehab	depends on (I2C || I2C=n) && VIDEO_DEV
41a9254475SMauro Carvalho Chehab	default (I2C || I2C=n) && VIDEO_DEV
42a9254475SMauro Carvalho Chehab
4317de9a4eSMauro Carvalho Chehabconfig VIDEO_ALLOW_V4L1
44741b5bb6SMauro Carvalho Chehab	bool "Enable Video For Linux API 1 (DEPRECATED)"
45057596eeSMauro Carvalho Chehab	depends on VIDEO_DEV && VIDEO_V4L2_COMMON
46057596eeSMauro Carvalho Chehab	default VIDEO_DEV && VIDEO_V4L2_COMMON
47cd41e28eSMauro Carvalho Chehab	---help---
48f1784354SMauro Carvalho Chehab	  Enables drivers based on the legacy V4L1 API.
49f1784354SMauro Carvalho Chehab
50f1784354SMauro Carvalho Chehab	  This api were developed to be used at Kernel 2.2 and 2.4, but
51f1784354SMauro Carvalho Chehab	  lacks support for several video standards. There are several
52f1784354SMauro Carvalho Chehab	  drivers at kernel that still depends on it.
53cd41e28eSMauro Carvalho Chehab
54cd41e28eSMauro Carvalho Chehab	  If you are unsure as to whether this is required, answer Y.
55cd41e28eSMauro Carvalho Chehab
56cd41e28eSMauro Carvalho Chehabconfig VIDEO_V4L1_COMPAT
57d4216488SMauro Carvalho Chehab	bool "Enable Video For Linux API 1 compatible Layer" if !VIDEO_ALLOW_V4L1
58cd41e28eSMauro Carvalho Chehab	depends on VIDEO_DEV
59d4216488SMauro Carvalho Chehab	default y
60cd41e28eSMauro Carvalho Chehab	---help---
61f1784354SMauro Carvalho Chehab	  Enables a compatibility API used by most V4L2 devices to allow
62f1784354SMauro Carvalho Chehab	  its usage with legacy applications that supports only V4L1 api.
63cd41e28eSMauro Carvalho Chehab
64cd41e28eSMauro Carvalho Chehab	  Documentation for the original API is included in the file
65cd41e28eSMauro Carvalho Chehab	  <Documentation/video4linux/API.html>.
66cd41e28eSMauro Carvalho Chehab
67cd41e28eSMauro Carvalho Chehab	  User tools for this are available from
68cd41e28eSMauro Carvalho Chehab	  <ftp://ftp.uk.linux.org/pub/linux/video4linux/>.
69cd41e28eSMauro Carvalho Chehab
70cd41e28eSMauro Carvalho Chehab	  If you are unsure as to whether this is required, answer Y.
71cd41e28eSMauro Carvalho Chehab
727c91f062SMauro Carvalho Chehab#
737c91f062SMauro Carvalho Chehab# DVB Core
747c91f062SMauro Carvalho Chehab#
75cd41e28eSMauro Carvalho Chehab
767c91f062SMauro Carvalho Chehabconfig DVB_CORE
777c91f062SMauro Carvalho Chehab	tristate "DVB for Linux"
787c91f062SMauro Carvalho Chehab	depends on NET && INET
797c91f062SMauro Carvalho Chehab	select CRC32
807c91f062SMauro Carvalho Chehab	help
817c91f062SMauro Carvalho Chehab	  DVB core utility functions for device handling, software fallbacks etc.
82f1784354SMauro Carvalho Chehab
83f1784354SMauro Carvalho Chehab	  Enable this if you own a DVB/ATSC adapter and want to use it or if
84f1784354SMauro Carvalho Chehab	  you compile Linux for a digital SetTopBox.
85f1784354SMauro Carvalho Chehab
86f1784354SMauro Carvalho Chehab	  Say Y when you have a DVB or an ATSC card and want to use it.
877c91f062SMauro Carvalho Chehab
887c91f062SMauro Carvalho Chehab	  API specs and user tools are available from <http://www.linuxtv.org/>.
897c91f062SMauro Carvalho Chehab
90f1784354SMauro Carvalho Chehab	  Please report problems regarding this support to the LinuxDVB
917c91f062SMauro Carvalho Chehab	  mailing list.
927c91f062SMauro Carvalho Chehab
937c91f062SMauro Carvalho Chehab	  If unsure say N.
947c91f062SMauro Carvalho Chehab
957c91f062SMauro Carvalho Chehabconfig VIDEO_MEDIA
9617de9a4eSMauro Carvalho Chehab	tristate
97039d4001SMauro Carvalho Chehab	default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV)
987c91f062SMauro Carvalho Chehab
997c91f062SMauro Carvalho Chehabcomment "Multimedia drivers"
1007c91f062SMauro Carvalho Chehab
1017c91f062SMauro Carvalho Chehabsource "drivers/media/common/Kconfig"
1027c91f062SMauro Carvalho Chehab
1037c91f062SMauro Carvalho Chehab#
1047c91f062SMauro Carvalho Chehab# Tuner drivers for DVB and V4L
1057c91f062SMauro Carvalho Chehab#
1067c91f062SMauro Carvalho Chehab
1077c91f062SMauro Carvalho Chehabsource "drivers/media/common/tuners/Kconfig"
1087c91f062SMauro Carvalho Chehab
1097c91f062SMauro Carvalho Chehab#
1107c91f062SMauro Carvalho Chehab# Video/Radio/Hybrid adapters
1117c91f062SMauro Carvalho Chehab#
11217de9a4eSMauro Carvalho Chehab
1131da177e4SLinus Torvaldssource "drivers/media/video/Kconfig"
1141da177e4SLinus Torvalds
1151da177e4SLinus Torvaldssource "drivers/media/radio/Kconfig"
1161da177e4SLinus Torvalds
1177c91f062SMauro Carvalho Chehab#
1187c91f062SMauro Carvalho Chehab# DVB adapters
1197c91f062SMauro Carvalho Chehab#
1207c91f062SMauro Carvalho Chehab
1211da177e4SLinus Torvaldssource "drivers/media/dvb/Kconfig"
1221da177e4SLinus Torvalds
1239a95735dSMauro Carvalho Chehabconfig DAB
1249a95735dSMauro Carvalho Chehab	boolean "DAB adapters"
1259a95735dSMauro Carvalho Chehab	---help---
126b7763f9bSMárton Németh	  Allow selecting support for Digital Audio Broadcasting (DAB)
1279a95735dSMauro Carvalho Chehab	  Receiver adapters.
1289a95735dSMauro Carvalho Chehab
1299a95735dSMauro Carvalho Chehabif DAB
1309f6933beSMauro Carvalho Chehabconfig USB_DABUSB
1319f6933beSMauro Carvalho Chehab	tristate "DABUSB driver"
1329f6933beSMauro Carvalho Chehab	depends on USB
1339f6933beSMauro Carvalho Chehab	---help---
1349f6933beSMauro Carvalho Chehab	  A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
1359f6933beSMauro Carvalho Chehab	  brought to you by the DAB-Team
1369f6933beSMauro Carvalho Chehab	  <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
1379f6933beSMauro Carvalho Chehab	  as an example for URB-based bulk, control, and isochronous
1389f6933beSMauro Carvalho Chehab	  transactions. URB's are explained in
1399f6933beSMauro Carvalho Chehab	  <Documentation/usb/URB.txt>.
1409f6933beSMauro Carvalho Chehab
1419f6933beSMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the
1429f6933beSMauro Carvalho Chehab	  module will be called dabusb.
1439a95735dSMauro Carvalho Chehabendif # DAB
1449f6933beSMauro Carvalho Chehab
145ab482a6cSRandy Dunlapendif # MEDIA_SUPPORT
146