aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-05-28 07:17:47 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-05 17:21:28 -0400
commitb4c184e506a4cdb9b77bff4a1d39237581540b33 (patch)
tree41e83684bda91dbc63ce1022c6b69b87ed551fe8 /drivers/media/Kconfig
parent31361fc4632f20e3a108f56b1a1a9c9bf2dfc07c (diff)
[media] media: reorganize the main Kconfig items
Change the main items to: <m> Multimedia support ---> [ ] Cameras/video grabbers support [ ] Analog TV support [ ] Digital TV support [ ] AM/FM radio receivers/transmitters support [ ] Remote Controller support This provides an interface that is clearer to end users that are compiling the Kernel, and will allow the building system to automatically unselect drivers for unused functions. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/Kconfig')
-rw-r--r--drivers/media/Kconfig109
1 files changed, 74 insertions, 35 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 9575db429df4..323b2f042d85 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -6,20 +6,82 @@ menuconfig MEDIA_SUPPORT
6 tristate "Multimedia support" 6 tristate "Multimedia support"
7 depends on HAS_IOMEM 7 depends on HAS_IOMEM
8 help 8 help
9 If you want to use Video for Linux, DVB for Linux, or DAB adapters, 9 If you want to use Webcams, Video grabber devices and/or TV devices
10 enable this option and other options below. 10 enable this option and other options below.
11 Additional info and docs are available on the web at
12 <http://linuxtv.org>
11 13
12if MEDIA_SUPPORT 14if MEDIA_SUPPORT
13 15
14comment "Multimedia core support" 16comment "Multimedia core support"
15 17
16# 18#
19# Multimedia support - automatically enable V4L2 and DVB core
20#
21config MEDIA_CAMERA_SUPPORT
22 bool "Cameras/video grabbers support"
23 ---help---
24 Enable support for webcams and video grabbers.
25
26 Say Y when you have a webcam or a video capture grabber board.
27
28config MEDIA_ANALOG_TV_SUPPORT
29 bool "Analog TV support"
30 ---help---
31 Enable analog TV support.
32
33 Say Y when you have a TV board with analog support or with a
34 hybrid analog/digital TV chipset.
35
36 Note: There are several DVB cards that are based on chips that
37 support both analog and digital TV. Disabling this option
38 will disable support for them.
39
40config MEDIA_DIGITAL_TV_SUPPORT
41 bool "Digital TV support"
42 ---help---
43 Enable digital TV support.
44
45 Say Y when you have a board with digital support or a board with
46 hybrid digital TV and analog TV.
47
48config MEDIA_RADIO_SUPPORT
49 bool "AM/FM radio receivers/transmitters support"
50 ---help---
51 Enable AM/FM radio support.
52
53 Additional info and docs are available on the web at
54 <http://linuxtv.org>
55
56 Say Y when you have a board with radio support.
57
58 Note: There are several TV cards that are based on chips that
59 support radio reception. Disabling this option will
60 disable support for them.
61
62menuconfig MEDIA_RC_SUPPORT
63 bool "Remote Controller support"
64 depends on INPUT
65 ---help---
66 Enable support for Remote Controllers on Linux. This is
67 needed in order to support several video capture adapters,
68 standalone IR receivers/transmitters, and RF receivers.
69
70 Enable this option if you have a video capture board even
71 if you don't need IR, as otherwise, you may not be able to
72 compile the driver for your adapter.
73
74 Say Y when you have a TV or an IR device.
75
76#
17# Media controller 77# Media controller
78# Selectable only for webcam/grabbers, as other drivers don't use it
18# 79#
19 80
20config MEDIA_CONTROLLER 81config MEDIA_CONTROLLER
21 bool "Media Controller API (EXPERIMENTAL)" 82 bool "Media Controller API (EXPERIMENTAL)"
22 depends on EXPERIMENTAL 83 depends on EXPERIMENTAL
84 depends on MEDIA_CAMERA_SUPPORT
23 ---help--- 85 ---help---
24 Enable the media controller API used to query media devices internal 86 Enable the media controller API used to query media devices internal
25 topology and configure it dynamically. 87 topology and configure it dynamically.
@@ -27,26 +89,15 @@ config MEDIA_CONTROLLER
27 This API is mostly used by camera interfaces in embedded platforms. 89 This API is mostly used by camera interfaces in embedded platforms.
28 90
29# 91#
30# V4L core and enabled API's 92# Video4Linux support
93# Only enables if one of the V4L2 types (ATV, webcam, radio) is selected
31# 94#
32 95
33config VIDEO_DEV 96config VIDEO_DEV
34 tristate "Video For Linux" 97 tristate
35 ---help--- 98 depends on MEDIA_SUPPORT
36 V4L core support for video capture and overlay devices, webcams and 99 depends on MEDIA_CAMERA_SUPPORT || MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT
37 AM/FM radio cards. 100 default y
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 101
51config VIDEO_V4L2_COMMON 102config VIDEO_V4L2_COMMON
52 tristate 103 tristate
@@ -64,25 +115,15 @@ config VIDEO_V4L2_SUBDEV_API
64 115
65# 116#
66# DVB Core 117# DVB Core
118# Only enables if one of DTV is selected
67# 119#
68 120
69config DVB_CORE 121config DVB_CORE
70 tristate "DVB for Linux" 122 tristate
123 depends on MEDIA_SUPPORT
124 depends on MEDIA_DIGITAL_TV_SUPPORT
125 default y
71 select CRC32 126 select CRC32
72 help
73 DVB core utility functions for device handling, software fallbacks etc.
74
75 Enable this if you own a DVB/ATSC adapter and want to use it or if
76 you compile Linux for a digital SetTopBox.
77
78 Say Y when you have a DVB or an ATSC card and want to use it.
79
80 API specs and user tools are available from <http://www.linuxtv.org/>.
81
82 Please report problems regarding this support to the LinuxDVB
83 mailing list.
84
85 If unsure say N.
86 127
87config DVB_NET 128config DVB_NET
88 bool "DVB Network Support" 129 bool "DVB Network Support"
@@ -101,8 +142,6 @@ config VIDEO_MEDIA
101 tristate 142 tristate
102 default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV) 143 default (DVB_CORE && (VIDEO_DEV = n)) || (VIDEO_DEV && (DVB_CORE = n)) || (DVB_CORE && VIDEO_DEV)
103 144
104comment "Multimedia drivers"
105
106source "drivers/media/common/Kconfig" 145source "drivers/media/common/Kconfig"
107source "drivers/media/rc/Kconfig" 146source "drivers/media/rc/Kconfig"
108 147