xref: /openbmc/linux/drivers/media/Kconfig (revision 057596ee)
11da177e4SLinus Torvalds#
21da177e4SLinus Torvalds# Multimedia device configuration
31da177e4SLinus Torvalds#
41da177e4SLinus Torvalds
51da177e4SLinus Torvaldsmenu "Multimedia devices"
6e25df120SMartin Schwidefsky	depends on HAS_IOMEM
71da177e4SLinus Torvalds
81da177e4SLinus Torvaldsconfig VIDEO_DEV
91da177e4SLinus Torvalds	tristate "Video For Linux"
101da177e4SLinus Torvalds	---help---
111da177e4SLinus Torvalds	  Support for audio/video capture and overlay devices and FM radio
12cd41e28eSMauro Carvalho Chehab	  cards. The exact capabilities of each device vary.
131da177e4SLinus Torvalds
141da177e4SLinus Torvalds	  This kernel includes support for the new Video for Linux Two API,
151da177e4SLinus Torvalds	  (V4L2) as well as the original system. Drivers and applications
161da177e4SLinus Torvalds	  need to be rewritten to use V4L2, but drivers for popular cards
171da177e4SLinus Torvalds	  and applications for most video capture functions already exist.
181da177e4SLinus Torvalds
19cd41e28eSMauro Carvalho Chehab	  Additional info and docs are available on the web at
20cd41e28eSMauro Carvalho Chehab	  <http://linuxtv.org>
21cd41e28eSMauro Carvalho Chehab
22cd41e28eSMauro Carvalho Chehab	  Documentation for V4L2 is also available on the web at
23cd41e28eSMauro Carvalho Chehab	  <http://bytesex.org/v4l/>.
241da177e4SLinus Torvalds
251da177e4SLinus Torvalds	  To compile this driver as a module, choose M here: the
261da177e4SLinus Torvalds	  module will be called videodev.
271da177e4SLinus Torvalds
28a9254475SMauro Carvalho Chehabconfig VIDEO_V4L2_COMMON
29a9254475SMauro Carvalho Chehab	tristate
30a9254475SMauro Carvalho Chehab	depends on (I2C || I2C=n) && VIDEO_DEV
31a9254475SMauro Carvalho Chehab	default (I2C || I2C=n) && VIDEO_DEV
32a9254475SMauro Carvalho Chehab
33cd41e28eSMauro Carvalho Chehabconfig VIDEO_V4L1
34741b5bb6SMauro Carvalho Chehab	bool "Enable Video For Linux API 1 (DEPRECATED)"
35057596eeSMauro Carvalho Chehab	depends on VIDEO_DEV && VIDEO_V4L2_COMMON
36057596eeSMauro Carvalho Chehab	default VIDEO_DEV && VIDEO_V4L2_COMMON
37cd41e28eSMauro Carvalho Chehab	select VIDEO_V4L1_COMPAT
38cd41e28eSMauro Carvalho Chehab	---help---
39cd41e28eSMauro Carvalho Chehab	  Enables a compatibility API used by most V4L2 devices to allow
40cd41e28eSMauro Carvalho Chehab	  its usage with legacy applications that supports only V4L1 api.
41cd41e28eSMauro Carvalho Chehab
42cd41e28eSMauro Carvalho Chehab	  If you are unsure as to whether this is required, answer Y.
43cd41e28eSMauro Carvalho Chehab
44cd41e28eSMauro Carvalho Chehabconfig VIDEO_V4L1_COMPAT
45741b5bb6SMauro Carvalho Chehab	bool "Enable Video For Linux API 1 compatible Layer"
46cd41e28eSMauro Carvalho Chehab	depends on VIDEO_DEV
47057596eeSMauro Carvalho Chehab	default VIDEO_DEV
48cd41e28eSMauro Carvalho Chehab	---help---
49cd41e28eSMauro Carvalho Chehab	  This api were developed to be used at Kernel 2.2 and 2.4, but
50cd41e28eSMauro Carvalho Chehab	  lacks support for several video standards. There are several
51cd41e28eSMauro Carvalho Chehab	  drivers at kernel that still depends on it.
52cd41e28eSMauro Carvalho Chehab
53cd41e28eSMauro Carvalho Chehab	  Documentation for the original API is included in the file
54cd41e28eSMauro Carvalho Chehab	  <Documentation/video4linux/API.html>.
55cd41e28eSMauro Carvalho Chehab
56cd41e28eSMauro Carvalho Chehab	  User tools for this are available from
57cd41e28eSMauro Carvalho Chehab	  <ftp://ftp.uk.linux.org/pub/linux/video4linux/>.
58cd41e28eSMauro Carvalho Chehab
59cd41e28eSMauro Carvalho Chehab	  If you are unsure as to whether this is required, answer Y.
60cd41e28eSMauro Carvalho Chehab
61cd41e28eSMauro Carvalho Chehabconfig VIDEO_V4L2
628a905162SMauro Carvalho Chehab	bool
63057596eeSMauro Carvalho Chehab	depends on VIDEO_DEV && VIDEO_V4L2_COMMON
64057596eeSMauro Carvalho Chehab	default VIDEO_DEV && VIDEO_V4L2_COMMON
65cd41e28eSMauro Carvalho Chehab
661da177e4SLinus Torvaldssource "drivers/media/video/Kconfig"
671da177e4SLinus Torvalds
681da177e4SLinus Torvaldssource "drivers/media/radio/Kconfig"
691da177e4SLinus Torvalds
701da177e4SLinus Torvaldssource "drivers/media/dvb/Kconfig"
711da177e4SLinus Torvalds
721da177e4SLinus Torvaldssource "drivers/media/common/Kconfig"
731da177e4SLinus Torvalds
741da177e4SLinus Torvaldsconfig VIDEO_TUNER
751da177e4SLinus Torvalds	tristate
76444dadc4SMauro Carvalho Chehab	depends on I2C
77215b95baSMauro Carvalho Chehab	select TUNER_XC2028 if !VIDEO_TUNER_CUSTOMIZE
78ca805d57SMichael Krufky	select TUNER_MT20XX if !VIDEO_TUNER_CUSTOMIZE
79ca805d57SMichael Krufky	select TUNER_TDA8290 if !VIDEO_TUNER_CUSTOMIZE
80ca805d57SMichael Krufky	select TUNER_TEA5761 if !VIDEO_TUNER_CUSTOMIZE
81ca805d57SMichael Krufky	select TUNER_TEA5767 if !VIDEO_TUNER_CUSTOMIZE
82ca805d57SMichael Krufky	select TUNER_SIMPLE if !VIDEO_TUNER_CUSTOMIZE
8331c9584cSMichael Krufky	select TUNER_TDA9887 if !VIDEO_TUNER_CUSTOMIZE
84ca805d57SMichael Krufky
85ca805d57SMichael Krufkymenuconfig VIDEO_TUNER_CUSTOMIZE
86ca805d57SMichael Krufky	bool "Customize analog tuner modules to build"
87ca805d57SMichael Krufky	depends on VIDEO_TUNER
88ca805d57SMichael Krufky	help
89ca805d57SMichael Krufky	  This allows the user to deselect tuner drivers unnecessary
90ca805d57SMichael Krufky	  for their hardware from the build. Use this option with care
91ca805d57SMichael Krufky	  as deselecting tuner drivers which are in fact necessary will
92ca805d57SMichael Krufky	  result in V4L devices which cannot be tuned due to lack of
93ca805d57SMichael Krufky	  driver support
94ca805d57SMichael Krufky
95ca805d57SMichael Krufky	  If unsure say N.
96ca805d57SMichael Krufky
97ca805d57SMichael Krufkyif VIDEO_TUNER_CUSTOMIZE
98ca805d57SMichael Krufky
99215b95baSMauro Carvalho Chehabconfig TUNER_XC2028
100215b95baSMauro Carvalho Chehab	tristate "XCeive xc2028/xc3028 tuners"
101215b95baSMauro Carvalho Chehab	depends on I2C
102215b95baSMauro Carvalho Chehab	default m if VIDEO_TUNER_CUSTOMIZE
103215b95baSMauro Carvalho Chehab	help
104215b95baSMauro Carvalho Chehab	  Say Y here to include support for the xc2028/xc3028 tuners.
105215b95baSMauro Carvalho Chehab
106ca805d57SMichael Krufkyconfig TUNER_MT20XX
107ca805d57SMichael Krufky	tristate "Microtune 2032 / 2050 tuners"
108ca805d57SMichael Krufky	depends on I2C
109ca805d57SMichael Krufky	default m if VIDEO_TUNER_CUSTOMIZE
110ca805d57SMichael Krufky	help
111ca805d57SMichael Krufky	  Say Y here to include support for the MT2032 / MT2050 tuner.
112ca805d57SMichael Krufky
113ca805d57SMichael Krufkyconfig TUNER_TDA8290
1145bea1cd3SMichael Krufky	tristate "TDA 8290/8295 + 8275(a)/18271 tuner combo"
115ca805d57SMichael Krufky	depends on I2C
116746d9732SMichael Krufky	select DVB_TDA827X
1175bea1cd3SMichael Krufky	select DVB_TDA18271
118ca805d57SMichael Krufky	default m if VIDEO_TUNER_CUSTOMIZE
119ca805d57SMichael Krufky	help
120ca805d57SMichael Krufky	  Say Y here to include support for Philips TDA8290+8275(a) tuner.
121ca805d57SMichael Krufky
122ca805d57SMichael Krufkyconfig TUNER_TEA5761
123ca805d57SMichael Krufky	tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
124ca805d57SMichael Krufky	depends on I2C && EXPERIMENTAL
125ca805d57SMichael Krufky	default m if VIDEO_TUNER_CUSTOMIZE
126ca805d57SMichael Krufky	help
127ca805d57SMichael Krufky	  Say Y here to include support for the Philips TEA5761 radio tuner.
128ca805d57SMichael Krufky
129ca805d57SMichael Krufkyconfig TUNER_TEA5767
130ca805d57SMichael Krufky	tristate "TEA 5767 radio tuner"
131ca805d57SMichael Krufky	depends on I2C
132ca805d57SMichael Krufky	default m if VIDEO_TUNER_CUSTOMIZE
133ca805d57SMichael Krufky	help
134ca805d57SMichael Krufky	  Say Y here to include support for the Philips TEA5767 radio tuner.
135ca805d57SMichael Krufky
136ca805d57SMichael Krufkyconfig TUNER_SIMPLE
137ca805d57SMichael Krufky	tristate "Simple tuner support"
138ca805d57SMichael Krufky	depends on I2C
13931c9584cSMichael Krufky	select TUNER_TDA9887
140ca805d57SMichael Krufky	default m if VIDEO_TUNER_CUSTOMIZE
141ca805d57SMichael Krufky	help
142ca805d57SMichael Krufky	  Say Y here to include support for various simple tuners.
143ca805d57SMichael Krufky
14431c9584cSMichael Krufkyconfig TUNER_TDA9887
14531c9584cSMichael Krufky	tristate "TDA 9885/6/7 analog IF demodulator"
14631c9584cSMichael Krufky	depends on I2C
14731c9584cSMichael Krufky	default m if VIDEO_TUNER_CUSTOMIZE
14831c9584cSMichael Krufky	help
14931c9584cSMichael Krufky	  Say Y here to include support for Philips TDA9885/6/7
15031c9584cSMichael Krufky	  analog IF demodulator.
15131c9584cSMichael Krufky
152ca805d57SMichael Krufkyendif # VIDEO_TUNER_CUSTOMIZE
1531da177e4SLinus Torvalds
154c1accaa2SMauro Carvalho Chehabconfig VIDEOBUF_GEN
155c1accaa2SMauro Carvalho Chehab	tristate
156c1accaa2SMauro Carvalho Chehab
157c1accaa2SMauro Carvalho Chehabconfig VIDEOBUF_DMA_SG
1587a9ca4a3SAndrew Morton	depends on PCI
159c1accaa2SMauro Carvalho Chehab	select VIDEOBUF_GEN
1601da177e4SLinus Torvalds	tristate
1611da177e4SLinus Torvalds
16287b9ad07SMauro Carvalho Chehabconfig VIDEOBUF_VMALLOC
16387b9ad07SMauro Carvalho Chehab	select VIDEOBUF_GEN
16487b9ad07SMauro Carvalho Chehab	tristate
16587b9ad07SMauro Carvalho Chehab
16628318c72SMauro Carvalho Chehabconfig VIDEOBUF_DVB
1671da177e4SLinus Torvalds	tristate
168102abd82STrent Piepho	select VIDEOBUF_GEN
169102abd82STrent Piepho	select VIDEOBUF_DMA_SG
1701da177e4SLinus Torvalds
1711da177e4SLinus Torvaldsconfig VIDEO_BTCX
1721da177e4SLinus Torvalds	tristate
1731da177e4SLinus Torvalds
174ea633741SMauro Carvalho Chehabconfig VIDEO_IR_I2C
175ea633741SMauro Carvalho Chehab	tristate
176ea633741SMauro Carvalho Chehab
1771da177e4SLinus Torvaldsconfig VIDEO_IR
1781da177e4SLinus Torvalds	tristate
1795efeb972SRandy Dunlap	depends on INPUT
180ea633741SMauro Carvalho Chehab	select VIDEO_IR_I2C if I2C
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvaldsconfig VIDEO_TVEEPROM
1831da177e4SLinus Torvalds	tristate
184444dadc4SMauro Carvalho Chehab	depends on I2C
1851da177e4SLinus Torvalds
1869a95735dSMauro Carvalho Chehabconfig DAB
1879a95735dSMauro Carvalho Chehab	boolean "DAB adapters"
1889a95735dSMauro Carvalho Chehab	---help---
1899a95735dSMauro Carvalho Chehab	  Allow selecting support for for Digital Audio Broadcasting (DAB)
1909a95735dSMauro Carvalho Chehab	  Receiver adapters.
1919a95735dSMauro Carvalho Chehab
1929a95735dSMauro Carvalho Chehabif DAB
1939f6933beSMauro Carvalho Chehabconfig USB_DABUSB
1949f6933beSMauro Carvalho Chehab	tristate "DABUSB driver"
1959f6933beSMauro Carvalho Chehab	depends on USB
1969f6933beSMauro Carvalho Chehab	---help---
1979f6933beSMauro Carvalho Chehab	  A Digital Audio Broadcasting (DAB) Receiver for USB and Linux
1989f6933beSMauro Carvalho Chehab	  brought to you by the DAB-Team
1999f6933beSMauro Carvalho Chehab	  <http://wwwbode.cs.tum.edu/Par/arch/dab/>.  This driver can be taken
2009f6933beSMauro Carvalho Chehab	  as an example for URB-based bulk, control, and isochronous
2019f6933beSMauro Carvalho Chehab	  transactions. URB's are explained in
2029f6933beSMauro Carvalho Chehab	  <Documentation/usb/URB.txt>.
2039f6933beSMauro Carvalho Chehab
2049f6933beSMauro Carvalho Chehab	  To compile this driver as a module, choose M here: the
2059f6933beSMauro Carvalho Chehab	  module will be called dabusb.
2069a95735dSMauro Carvalho Chehabendif # DAB
2079f6933beSMauro Carvalho Chehab
2081da177e4SLinus Torvaldsendmenu
209