xref: /openbmc/linux/drivers/media/Kconfig (revision 54525552)
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# Media controller
18#
19
20config MEDIA_CONTROLLER
21	bool "Media Controller API (EXPERIMENTAL)"
22	depends on EXPERIMENTAL
23	---help---
24	  Enable the media controller API used to query media devices internal
25	  topology and configure it dynamically.
26
27	  This API is mostly used by camera interfaces in embedded platforms.
28
29#
30# V4L core and enabled API's
31#
32
33config VIDEO_DEV
34	tristate "Video For Linux"
35	---help---
36	  V4L core support for video capture and overlay devices, webcams and
37	  AM/FM radio cards.
38
39	  This kernel includes support for the new Video for Linux Two API,
40	  (V4L2).
41
42	  Additional info and docs are available on the web at
43	  <http://linuxtv.org>
44
45	  Documentation for V4L2 is also available on the web at
46	  <http://bytesex.org/v4l/>.
47
48	  To compile this driver as a module, choose M here: the
49	  module will be called videodev.
50
51config VIDEO_V4L2_COMMON
52	tristate
53	depends on (I2C || I2C=n) && VIDEO_DEV
54	default (I2C || I2C=n) && VIDEO_DEV
55
56config VIDEO_V4L2_SUBDEV_API
57	bool "V4L2 sub-device userspace API (EXPERIMENTAL)"
58	depends on VIDEO_DEV && MEDIA_CONTROLLER && EXPERIMENTAL
59	---help---
60	  Enables the V4L2 sub-device pad-level userspace API used to configure
61	  video format, size and frame rate between hardware blocks.
62
63	  This API is mostly used by camera interfaces in embedded platforms.
64
65#
66# DVB Core
67#
68
69config DVB_CORE
70	tristate "DVB for Linux"
71	depends on NET && INET
72	select CRC32
73	help
74	  DVB core utility functions for device handling, software fallbacks etc.
75
76	  Enable this if you own a DVB/ATSC adapter and want to use it or if
77	  you compile Linux for a digital SetTopBox.
78
79	  Say Y when you have a DVB or an ATSC card and want to use it.
80
81	  API specs and user tools are available from <http://www.linuxtv.org/>.
82
83	  Please report problems regarding this support to the LinuxDVB
84	  mailing list.
85
86	  If unsure say N.
87
88config VIDEO_MEDIA
89	tristate
90	default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV)
91
92comment "Multimedia drivers"
93
94source "drivers/media/common/Kconfig"
95source "drivers/media/rc/Kconfig"
96
97#
98# Tuner drivers for DVB and V4L
99#
100
101source "drivers/media/common/tuners/Kconfig"
102
103#
104# Video/Radio/Hybrid adapters
105#
106
107source "drivers/media/video/Kconfig"
108
109source "drivers/media/radio/Kconfig"
110
111#
112# DVB adapters
113#
114
115source "drivers/media/dvb/Kconfig"
116
117endif # MEDIA_SUPPORT
118