xref: /openbmc/linux/drivers/media/Kconfig (revision f0af8fa4)
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
9b4c184e5SMauro Carvalho Chehab	  If you want to use Webcams, Video grabber devices and/or TV devices
10ab482a6cSRandy Dunlap	  enable this option and other options below.
11b4c184e5SMauro Carvalho Chehab	  Additional info and docs are available on the web at
12b4c184e5SMauro Carvalho Chehab	  <http://linuxtv.org>
13ab482a6cSRandy Dunlap
14ab482a6cSRandy Dunlapif MEDIA_SUPPORT
151da177e4SLinus Torvalds
167c91f062SMauro Carvalho Chehabcomment "Multimedia core support"
177c91f062SMauro Carvalho Chehab
187c91f062SMauro Carvalho Chehab#
19b4c184e5SMauro Carvalho Chehab# Multimedia support - automatically enable V4L2 and DVB core
20b4c184e5SMauro Carvalho Chehab#
21b4c184e5SMauro Carvalho Chehabconfig MEDIA_CAMERA_SUPPORT
22b4c184e5SMauro Carvalho Chehab	bool "Cameras/video grabbers support"
23b4c184e5SMauro Carvalho Chehab	---help---
24b4c184e5SMauro Carvalho Chehab	  Enable support for webcams and video grabbers.
25b4c184e5SMauro Carvalho Chehab
26b4c184e5SMauro Carvalho Chehab	  Say Y when you have a webcam or a video capture grabber board.
27b4c184e5SMauro Carvalho Chehab
28b4c184e5SMauro Carvalho Chehabconfig MEDIA_ANALOG_TV_SUPPORT
29b4c184e5SMauro Carvalho Chehab	bool "Analog TV support"
30b4c184e5SMauro Carvalho Chehab	---help---
31b4c184e5SMauro Carvalho Chehab	  Enable analog TV support.
32b4c184e5SMauro Carvalho Chehab
33b4c184e5SMauro Carvalho Chehab	  Say Y when you have a TV board with analog support or with a
34b4c184e5SMauro Carvalho Chehab	  hybrid analog/digital TV chipset.
35b4c184e5SMauro Carvalho Chehab
36b4c184e5SMauro Carvalho Chehab	  Note: There are several DVB cards that are based on chips that
37b4c184e5SMauro Carvalho Chehab		support both analog and digital TV. Disabling this option
38b4c184e5SMauro Carvalho Chehab		will disable support for them.
39b4c184e5SMauro Carvalho Chehab
40b4c184e5SMauro Carvalho Chehabconfig MEDIA_DIGITAL_TV_SUPPORT
41b4c184e5SMauro Carvalho Chehab	bool "Digital TV support"
42b4c184e5SMauro Carvalho Chehab	---help---
43b4c184e5SMauro Carvalho Chehab	  Enable digital TV support.
44b4c184e5SMauro Carvalho Chehab
45b4c184e5SMauro Carvalho Chehab	  Say Y when you have a board with digital support or a board with
46b4c184e5SMauro Carvalho Chehab	  hybrid digital TV and analog TV.
47b4c184e5SMauro Carvalho Chehab
48b4c184e5SMauro Carvalho Chehabconfig MEDIA_RADIO_SUPPORT
49b4c184e5SMauro Carvalho Chehab	bool "AM/FM radio receivers/transmitters support"
50b4c184e5SMauro Carvalho Chehab	---help---
51b4c184e5SMauro Carvalho Chehab	  Enable AM/FM radio support.
52b4c184e5SMauro Carvalho Chehab
53b4c184e5SMauro Carvalho Chehab	  Additional info and docs are available on the web at
54b4c184e5SMauro Carvalho Chehab	  <http://linuxtv.org>
55b4c184e5SMauro Carvalho Chehab
56b4c184e5SMauro Carvalho Chehab	  Say Y when you have a board with radio support.
57b4c184e5SMauro Carvalho Chehab
58b4c184e5SMauro Carvalho Chehab	  Note: There are several TV cards that are based on chips that
59b4c184e5SMauro Carvalho Chehab		support radio reception. Disabling this option will
60b4c184e5SMauro Carvalho Chehab		disable support for them.
61b4c184e5SMauro Carvalho Chehab
62c455f5c8SMauro Carvalho Chehabconfig MEDIA_RC_SUPPORT
63b4c184e5SMauro Carvalho Chehab	bool "Remote Controller support"
64b4c184e5SMauro Carvalho Chehab	depends on INPUT
65b4c184e5SMauro Carvalho Chehab	---help---
66b4c184e5SMauro Carvalho Chehab	  Enable support for Remote Controllers on Linux. This is
67b4c184e5SMauro Carvalho Chehab	  needed in order to support several video capture adapters,
68b4c184e5SMauro Carvalho Chehab	  standalone IR receivers/transmitters, and RF receivers.
69b4c184e5SMauro Carvalho Chehab
70b4c184e5SMauro Carvalho Chehab	  Enable this option if you have a video capture board even
71b4c184e5SMauro Carvalho Chehab	  if you don't need IR, as otherwise, you may not be able to
72b4c184e5SMauro Carvalho Chehab	  compile the driver for your adapter.
73b4c184e5SMauro Carvalho Chehab
74b4c184e5SMauro Carvalho Chehab	  Say Y when you have a TV or an IR device.
75b4c184e5SMauro Carvalho Chehab
76b4c184e5SMauro Carvalho Chehab#
77cf4b9211SLaurent Pinchart# Media controller
78b4c184e5SMauro Carvalho Chehab#	Selectable only for webcam/grabbers, as other drivers don't use it
79cf4b9211SLaurent Pinchart#
80cf4b9211SLaurent Pinchart
81cf4b9211SLaurent Pinchartconfig MEDIA_CONTROLLER
82cf4b9211SLaurent Pinchart	bool "Media Controller API (EXPERIMENTAL)"
83cf4b9211SLaurent Pinchart	depends on EXPERIMENTAL
84b4c184e5SMauro Carvalho Chehab	depends on MEDIA_CAMERA_SUPPORT
85cf4b9211SLaurent Pinchart	---help---
86cf4b9211SLaurent Pinchart	  Enable the media controller API used to query media devices internal
87cf4b9211SLaurent Pinchart	  topology and configure it dynamically.
88cf4b9211SLaurent Pinchart
89cf4b9211SLaurent Pinchart	  This API is mostly used by camera interfaces in embedded platforms.
90cf4b9211SLaurent Pinchart
91cf4b9211SLaurent Pinchart#
92b4c184e5SMauro Carvalho Chehab# Video4Linux support
93b4c184e5SMauro Carvalho Chehab#	Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
947c91f062SMauro Carvalho Chehab#
957c91f062SMauro Carvalho Chehab
961da177e4SLinus Torvaldsconfig VIDEO_DEV
97b4c184e5SMauro Carvalho Chehab	tristate
98b4c184e5SMauro Carvalho Chehab	depends on MEDIA_SUPPORT
99b4c184e5SMauro Carvalho Chehab	depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT
100b4c184e5SMauro Carvalho Chehab	default y
1011da177e4SLinus Torvalds
102a9254475SMauro Carvalho Chehabconfig VIDEO_V4L2_COMMON
103a9254475SMauro Carvalho Chehab	tristate
104a9254475SMauro Carvalho Chehab	depends on (I2C || I2C=n) && VIDEO_DEV
105a9254475SMauro Carvalho Chehab	default (I2C || I2C=n) && VIDEO_DEV
106a9254475SMauro Carvalho Chehab
1077cd5a16bSStanimir Varbanovconfig VIDEO_V4L2_SUBDEV_API
1087cd5a16bSStanimir Varbanov	bool "V4L2 sub-device userspace API (EXPERIMENTAL)"
1097cd5a16bSStanimir Varbanov	depends on VIDEO_DEV && MEDIA_CONTROLLER && EXPERIMENTAL
1107cd5a16bSStanimir Varbanov	---help---
1117cd5a16bSStanimir Varbanov	  Enables the V4L2 sub-device pad-level userspace API used to configure
1127cd5a16bSStanimir Varbanov	  video format, size and frame rate between hardware blocks.
1137cd5a16bSStanimir Varbanov
1147cd5a16bSStanimir Varbanov	  This API is mostly used by camera interfaces in embedded platforms.
1157cd5a16bSStanimir Varbanov
116f0af8fa4SMauro Carvalho Chehabsource "drivers/media/v4l2-core/Kconfig"
117f0af8fa4SMauro Carvalho Chehab
1187c91f062SMauro Carvalho Chehab#
1197c91f062SMauro Carvalho Chehab# DVB Core
120b4c184e5SMauro Carvalho Chehab#	Only enables if one of DTV is selected
1217c91f062SMauro Carvalho Chehab#
122cd41e28eSMauro Carvalho Chehab
1237c91f062SMauro Carvalho Chehabconfig DVB_CORE
124b4c184e5SMauro Carvalho Chehab	tristate
125b4c184e5SMauro Carvalho Chehab	depends on MEDIA_SUPPORT
126b4c184e5SMauro Carvalho Chehab	depends on MEDIA_DIGITAL_TV_SUPPORT
127b4c184e5SMauro Carvalho Chehab	default y
1287c91f062SMauro Carvalho Chehab	select CRC32
1297c91f062SMauro Carvalho Chehab
130a34ff6cdSHans Petter Selaskyconfig DVB_NET
131a34ff6cdSHans Petter Selasky	bool "DVB Network Support"
132a34ff6cdSHans Petter Selasky	default (NET && INET)
1338c528d5eSGuennadi Liakhovetski	depends on NET && INET && DVB_CORE
134a34ff6cdSHans Petter Selasky	help
1359a78efc8SJiri Slaby	  This option enables DVB Network Support which is a part of the DVB
1369a78efc8SJiri Slaby	  standard. It is used, for example, by automatic firmware updates used
1379a78efc8SJiri Slaby	  on Set-Top-Boxes. It can also be used to access the Internet via the
1389a78efc8SJiri Slaby	  DVB card, if the network provider supports it.
139a34ff6cdSHans Petter Selasky
1409a78efc8SJiri Slaby	  You may want to disable the network support on embedded devices. If
1419a78efc8SJiri Slaby	  unsure say Y.
142a34ff6cdSHans Petter Selasky
143f0af8fa4SMauro Carvalho Chehabsource "drivers/media/dvb-core/Kconfig"
144f0af8fa4SMauro Carvalho Chehab
145c455f5c8SMauro Carvalho Chehabcomment "Media drivers"
14632cf86f6SMauro Carvalho Chehabsource "drivers/media/rc/Kconfig"
1477c91f062SMauro Carvalho Chehab
1487c91f062SMauro Carvalho Chehab#
1497c91f062SMauro Carvalho Chehab# Tuner drivers for DVB and V4L
1507c91f062SMauro Carvalho Chehab#
1517c91f062SMauro Carvalho Chehab
152ccae7af2SMauro Carvalho Chehabsource "drivers/media/tuners/Kconfig"
1537c91f062SMauro Carvalho Chehab
1547c91f062SMauro Carvalho Chehab#
1557c91f062SMauro Carvalho Chehab# Video/Radio/Hybrid adapters
1567c91f062SMauro Carvalho Chehab#
15717de9a4eSMauro Carvalho Chehab
1581da177e4SLinus Torvaldssource "drivers/media/video/Kconfig"
1591da177e4SLinus Torvalds
1601da177e4SLinus Torvaldssource "drivers/media/radio/Kconfig"
1611da177e4SLinus Torvalds
1627c91f062SMauro Carvalho Chehab#
1637c91f062SMauro Carvalho Chehab# DVB adapters
1647c91f062SMauro Carvalho Chehab#
1657c91f062SMauro Carvalho Chehab
16625aee3deSMauro Carvalho Chehabsource "drivers/media/pci/Kconfig"
167786baecfSMauro Carvalho Chehabsource "drivers/media/usb/Kconfig"
1680013ca8cSMauro Carvalho Chehabsource "drivers/media/mmc/Kconfig"
169d1677dc3SMauro Carvalho Chehabsource "drivers/media/parport/Kconfig"
1701da177e4SLinus Torvalds
171616300bdSMauro Carvalho Chehabcomment "Supported FireWire (IEEE 1394) Adapters"
172616300bdSMauro Carvalho Chehab	depends on DVB_CORE && FIREWIRE
173616300bdSMauro Carvalho Chehabsource "drivers/media/firewire/Kconfig"
174616300bdSMauro Carvalho Chehab
1759a0bf528SMauro Carvalho Chehabcomment "Supported DVB Frontends"
1769a0bf528SMauro Carvalho Chehab	depends on DVB_CORE
1779a0bf528SMauro Carvalho Chehabsource "drivers/media/dvb-frontends/Kconfig"
1789a0bf528SMauro Carvalho Chehab
1793785bc17SMauro Carvalho Chehab# Common drivers
1803785bc17SMauro Carvalho Chehabsource "drivers/media/common/Kconfig"
1813785bc17SMauro Carvalho Chehab
182ab482a6cSRandy Dunlapendif # MEDIA_SUPPORT
183