aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/Kconfig
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-08-20 13:48:02 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-21 07:05:06 -0400
commitfccea74ff8b5159935acc7b4b4857ee81ee44661 (patch)
treee5d67c5a7993c5d71478f4cb833f7631113f1333 /drivers/media/tuners/Kconfig
parentfc2bbfb2c3d77c0b6da76224ef1575f0e90327e8 (diff)
[media] Kconfig: merge all customise options into just one
Instead of having 3 options to allow customizing the media sub-drivers (tuners, I2C drivers, frontends), merge all of them into just one. That simplifies the life for users, as they can just keep this untouched. Life for developers is also simpler, as there's now just one Kconfig item to remember, for the ancillary sub-drivers providing supports for chips that could change from one board design to another. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/tuners/Kconfig')
-rw-r--r--drivers/media/tuners/Kconfig88
1 files changed, 38 insertions, 50 deletions
diff --git a/drivers/media/tuners/Kconfig b/drivers/media/tuners/Kconfig
index 94c6ff7a5da3..80238b9063b0 100644
--- a/drivers/media/tuners/Kconfig
+++ b/drivers/media/tuners/Kconfig
@@ -18,43 +18,31 @@ config MEDIA_ATTACH
18 18
19 If unsure say Y. 19 If unsure say Y.
20 20
21# Analog TV tuners, auto-loaded via tuner.ko
21config MEDIA_TUNER 22config MEDIA_TUNER
22 tristate 23 tristate
23 depends on (MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT) && I2C 24 depends on (MEDIA_ANALOG_TV_SUPPORT || MEDIA_RADIO_SUPPORT) && I2C
24 default y 25 default y
25 select MEDIA_TUNER_XC2028 if !MEDIA_TUNER_CUSTOMISE 26 select MEDIA_TUNER_XC2028 if MEDIA_SUBDRV_AUTOSELECT
26 select MEDIA_TUNER_XC5000 if !MEDIA_TUNER_CUSTOMISE 27 select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT
27 select MEDIA_TUNER_XC4000 if !MEDIA_TUNER_CUSTOMISE 28 select MEDIA_TUNER_XC4000 if MEDIA_SUBDRV_AUTOSELECT
28 select MEDIA_TUNER_MT20XX if !MEDIA_TUNER_CUSTOMISE 29 select MEDIA_TUNER_MT20XX if MEDIA_SUBDRV_AUTOSELECT
29 select MEDIA_TUNER_TDA8290 if !MEDIA_TUNER_CUSTOMISE 30 select MEDIA_TUNER_TDA8290 if MEDIA_SUBDRV_AUTOSELECT
30 select MEDIA_TUNER_TEA5761 if !MEDIA_TUNER_CUSTOMISE && MEDIA_RADIO_SUPPORT && EXPERIMENTAL 31 select MEDIA_TUNER_TEA5761 if MEDIA_SUBDRV_AUTOSELECT && MEDIA_RADIO_SUPPORT && EXPERIMENTAL
31 select MEDIA_TUNER_TEA5767 if !MEDIA_TUNER_CUSTOMISE && MEDIA_RADIO_SUPPORT 32 select MEDIA_TUNER_TEA5767 if MEDIA_SUBDRV_AUTOSELECT && MEDIA_RADIO_SUPPORT
32 select MEDIA_TUNER_SIMPLE if !MEDIA_TUNER_CUSTOMISE 33 select MEDIA_TUNER_SIMPLE if MEDIA_SUBDRV_AUTOSELECT
33 select MEDIA_TUNER_TDA9887 if !MEDIA_TUNER_CUSTOMISE 34 select MEDIA_TUNER_TDA9887 if MEDIA_SUBDRV_AUTOSELECT
34 select MEDIA_TUNER_MC44S803 if !MEDIA_TUNER_CUSTOMISE 35 select MEDIA_TUNER_MC44S803 if MEDIA_SUBDRV_AUTOSELECT
35
36config MEDIA_TUNER_CUSTOMISE
37 bool "Customize analog and hybrid tuner modules to build"
38 depends on MEDIA_TUNER
39 default y if EXPERT
40 help
41 This allows the user to deselect tuner drivers unnecessary
42 for their hardware from the build. Use this option with care
43 as deselecting tuner drivers which are in fact necessary will
44 result in V4L/DVB devices which cannot be tuned due to lack of
45 driver support
46
47 If unsure say N.
48 36
49menu "Customize TV tuners" 37menu "Customize TV tuners"
50 visible if MEDIA_TUNER_CUSTOMISE 38 visible if !MEDIA_SUBDRV_AUTOSELECT
51 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT 39 depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
52 40
53config MEDIA_TUNER_SIMPLE 41config MEDIA_TUNER_SIMPLE
54 tristate "Simple tuner support" 42 tristate "Simple tuner support"
55 depends on MEDIA_SUPPORT && I2C 43 depends on MEDIA_SUPPORT && I2C
56 select MEDIA_TUNER_TDA9887 44 select MEDIA_TUNER_TDA9887
57 default m if MEDIA_TUNER_CUSTOMISE 45 default m if !MEDIA_SUBDRV_AUTOSELECT
58 help 46 help
59 Say Y here to include support for various simple tuners. 47 Say Y here to include support for various simple tuners.
60 48
@@ -63,28 +51,28 @@ config MEDIA_TUNER_TDA8290
63 depends on MEDIA_SUPPORT && I2C 51 depends on MEDIA_SUPPORT && I2C
64 select MEDIA_TUNER_TDA827X 52 select MEDIA_TUNER_TDA827X
65 select MEDIA_TUNER_TDA18271 53 select MEDIA_TUNER_TDA18271
66 default m if MEDIA_TUNER_CUSTOMISE 54 default m if !MEDIA_SUBDRV_AUTOSELECT
67 help 55 help
68 Say Y here to include support for Philips TDA8290+8275(a) tuner. 56 Say Y here to include support for Philips TDA8290+8275(a) tuner.
69 57
70config MEDIA_TUNER_TDA827X 58config MEDIA_TUNER_TDA827X
71 tristate "Philips TDA827X silicon tuner" 59 tristate "Philips TDA827X silicon tuner"
72 depends on MEDIA_SUPPORT && I2C 60 depends on MEDIA_SUPPORT && I2C
73 default m if MEDIA_TUNER_CUSTOMISE 61 default m if !MEDIA_SUBDRV_AUTOSELECT
74 help 62 help
75 A DVB-T silicon tuner module. Say Y when you want to support this tuner. 63 A DVB-T silicon tuner module. Say Y when you want to support this tuner.
76 64
77config MEDIA_TUNER_TDA18271 65config MEDIA_TUNER_TDA18271
78 tristate "NXP TDA18271 silicon tuner" 66 tristate "NXP TDA18271 silicon tuner"
79 depends on MEDIA_SUPPORT && I2C 67 depends on MEDIA_SUPPORT && I2C
80 default m if MEDIA_TUNER_CUSTOMISE 68 default m if !MEDIA_SUBDRV_AUTOSELECT
81 help 69 help
82 A silicon tuner module. Say Y when you want to support this tuner. 70 A silicon tuner module. Say Y when you want to support this tuner.
83 71
84config MEDIA_TUNER_TDA9887 72config MEDIA_TUNER_TDA9887
85 tristate "TDA 9885/6/7 analog IF demodulator" 73 tristate "TDA 9885/6/7 analog IF demodulator"
86 depends on MEDIA_SUPPORT && I2C 74 depends on MEDIA_SUPPORT && I2C
87 default m if MEDIA_TUNER_CUSTOMISE 75 default m if !MEDIA_SUBDRV_AUTOSELECT
88 help 76 help
89 Say Y here to include support for Philips TDA9885/6/7 77 Say Y here to include support for Philips TDA9885/6/7
90 analog IF demodulator. 78 analog IF demodulator.
@@ -93,70 +81,70 @@ config MEDIA_TUNER_TEA5761
93 tristate "TEA 5761 radio tuner (EXPERIMENTAL)" 81 tristate "TEA 5761 radio tuner (EXPERIMENTAL)"
94 depends on MEDIA_SUPPORT && I2C 82 depends on MEDIA_SUPPORT && I2C
95 depends on EXPERIMENTAL 83 depends on EXPERIMENTAL
96 default m if MEDIA_TUNER_CUSTOMISE 84 default m if !MEDIA_SUBDRV_AUTOSELECT
97 help 85 help
98 Say Y here to include support for the Philips TEA5761 radio tuner. 86 Say Y here to include support for the Philips TEA5761 radio tuner.
99 87
100config MEDIA_TUNER_TEA5767 88config MEDIA_TUNER_TEA5767
101 tristate "TEA 5767 radio tuner" 89 tristate "TEA 5767 radio tuner"
102 depends on MEDIA_SUPPORT && I2C 90 depends on MEDIA_SUPPORT && I2C
103 default m if MEDIA_TUNER_CUSTOMISE 91 default m if !MEDIA_SUBDRV_AUTOSELECT
104 help 92 help
105 Say Y here to include support for the Philips TEA5767 radio tuner. 93 Say Y here to include support for the Philips TEA5767 radio tuner.
106 94
107config MEDIA_TUNER_MT20XX 95config MEDIA_TUNER_MT20XX
108 tristate "Microtune 2032 / 2050 tuners" 96 tristate "Microtune 2032 / 2050 tuners"
109 depends on MEDIA_SUPPORT && I2C 97 depends on MEDIA_SUPPORT && I2C
110 default m if MEDIA_TUNER_CUSTOMISE 98 default m if !MEDIA_SUBDRV_AUTOSELECT
111 help 99 help
112 Say Y here to include support for the MT2032 / MT2050 tuner. 100 Say Y here to include support for the MT2032 / MT2050 tuner.
113 101
114config MEDIA_TUNER_MT2060 102config MEDIA_TUNER_MT2060
115 tristate "Microtune MT2060 silicon IF tuner" 103 tristate "Microtune MT2060 silicon IF tuner"
116 depends on MEDIA_SUPPORT && I2C 104 depends on MEDIA_SUPPORT && I2C
117 default m if MEDIA_TUNER_CUSTOMISE 105 default m if !MEDIA_SUBDRV_AUTOSELECT
118 help 106 help
119 A driver for the silicon IF tuner MT2060 from Microtune. 107 A driver for the silicon IF tuner MT2060 from Microtune.
120 108
121config MEDIA_TUNER_MT2063 109config MEDIA_TUNER_MT2063
122 tristate "Microtune MT2063 silicon IF tuner" 110 tristate "Microtune MT2063 silicon IF tuner"
123 depends on MEDIA_SUPPORT && I2C 111 depends on MEDIA_SUPPORT && I2C
124 default m if MEDIA_TUNER_CUSTOMISE 112 default m if !MEDIA_SUBDRV_AUTOSELECT
125 help 113 help
126 A driver for the silicon IF tuner MT2063 from Microtune. 114 A driver for the silicon IF tuner MT2063 from Microtune.
127 115
128config MEDIA_TUNER_MT2266 116config MEDIA_TUNER_MT2266
129 tristate "Microtune MT2266 silicon tuner" 117 tristate "Microtune MT2266 silicon tuner"
130 depends on MEDIA_SUPPORT && I2C 118 depends on MEDIA_SUPPORT && I2C
131 default m if MEDIA_TUNER_CUSTOMISE 119 default m if !MEDIA_SUBDRV_AUTOSELECT
132 help 120 help
133 A driver for the silicon baseband tuner MT2266 from Microtune. 121 A driver for the silicon baseband tuner MT2266 from Microtune.
134 122
135config MEDIA_TUNER_MT2131 123config MEDIA_TUNER_MT2131
136 tristate "Microtune MT2131 silicon tuner" 124 tristate "Microtune MT2131 silicon tuner"
137 depends on MEDIA_SUPPORT && I2C 125 depends on MEDIA_SUPPORT && I2C
138 default m if MEDIA_TUNER_CUSTOMISE 126 default m if !MEDIA_SUBDRV_AUTOSELECT
139 help 127 help
140 A driver for the silicon baseband tuner MT2131 from Microtune. 128 A driver for the silicon baseband tuner MT2131 from Microtune.
141 129
142config MEDIA_TUNER_QT1010 130config MEDIA_TUNER_QT1010
143 tristate "Quantek QT1010 silicon tuner" 131 tristate "Quantek QT1010 silicon tuner"
144 depends on MEDIA_SUPPORT && I2C 132 depends on MEDIA_SUPPORT && I2C
145 default m if MEDIA_TUNER_CUSTOMISE 133 default m if !MEDIA_SUBDRV_AUTOSELECT
146 help 134 help
147 A driver for the silicon tuner QT1010 from Quantek. 135 A driver for the silicon tuner QT1010 from Quantek.
148 136
149config MEDIA_TUNER_XC2028 137config MEDIA_TUNER_XC2028
150 tristate "XCeive xc2028/xc3028 tuners" 138 tristate "XCeive xc2028/xc3028 tuners"
151 depends on MEDIA_SUPPORT && I2C 139 depends on MEDIA_SUPPORT && I2C
152 default m if MEDIA_TUNER_CUSTOMISE 140 default m if !MEDIA_SUBDRV_AUTOSELECT
153 help 141 help
154 Say Y here to include support for the xc2028/xc3028 tuners. 142 Say Y here to include support for the xc2028/xc3028 tuners.
155 143
156config MEDIA_TUNER_XC5000 144config MEDIA_TUNER_XC5000
157 tristate "Xceive XC5000 silicon tuner" 145 tristate "Xceive XC5000 silicon tuner"
158 depends on MEDIA_SUPPORT && I2C 146 depends on MEDIA_SUPPORT && I2C
159 default m if MEDIA_TUNER_CUSTOMISE 147 default m if !MEDIA_SUBDRV_AUTOSELECT
160 help 148 help
161 A driver for the silicon tuner XC5000 from Xceive. 149 A driver for the silicon tuner XC5000 from Xceive.
162 This device is only used inside a SiP called together with a 150 This device is only used inside a SiP called together with a
@@ -165,7 +153,7 @@ config MEDIA_TUNER_XC5000
165config MEDIA_TUNER_XC4000 153config MEDIA_TUNER_XC4000
166 tristate "Xceive XC4000 silicon tuner" 154 tristate "Xceive XC4000 silicon tuner"
167 depends on MEDIA_SUPPORT && I2C 155 depends on MEDIA_SUPPORT && I2C
168 default m if MEDIA_TUNER_CUSTOMISE 156 default m if !MEDIA_SUBDRV_AUTOSELECT
169 help 157 help
170 A driver for the silicon tuner XC4000 from Xceive. 158 A driver for the silicon tuner XC4000 from Xceive.
171 This device is only used inside a SiP called together with a 159 This device is only used inside a SiP called together with a
@@ -174,70 +162,70 @@ config MEDIA_TUNER_XC4000
174config MEDIA_TUNER_MXL5005S 162config MEDIA_TUNER_MXL5005S
175 tristate "MaxLinear MSL5005S silicon tuner" 163 tristate "MaxLinear MSL5005S silicon tuner"
176 depends on MEDIA_SUPPORT && I2C 164 depends on MEDIA_SUPPORT && I2C
177 default m if MEDIA_TUNER_CUSTOMISE 165 default m if !MEDIA_SUBDRV_AUTOSELECT
178 help 166 help
179 A driver for the silicon tuner MXL5005S from MaxLinear. 167 A driver for the silicon tuner MXL5005S from MaxLinear.
180 168
181config MEDIA_TUNER_MXL5007T 169config MEDIA_TUNER_MXL5007T
182 tristate "MaxLinear MxL5007T silicon tuner" 170 tristate "MaxLinear MxL5007T silicon tuner"
183 depends on MEDIA_SUPPORT && I2C 171 depends on MEDIA_SUPPORT && I2C
184 default m if MEDIA_TUNER_CUSTOMISE 172 default m if !MEDIA_SUBDRV_AUTOSELECT
185 help 173 help
186 A driver for the silicon tuner MxL5007T from MaxLinear. 174 A driver for the silicon tuner MxL5007T from MaxLinear.
187 175
188config MEDIA_TUNER_MC44S803 176config MEDIA_TUNER_MC44S803
189 tristate "Freescale MC44S803 Low Power CMOS Broadband tuners" 177 tristate "Freescale MC44S803 Low Power CMOS Broadband tuners"
190 depends on MEDIA_SUPPORT && I2C 178 depends on MEDIA_SUPPORT && I2C
191 default m if MEDIA_TUNER_CUSTOMISE 179 default m if !MEDIA_SUBDRV_AUTOSELECT
192 help 180 help
193 Say Y here to support the Freescale MC44S803 based tuners 181 Say Y here to support the Freescale MC44S803 based tuners
194 182
195config MEDIA_TUNER_MAX2165 183config MEDIA_TUNER_MAX2165
196 tristate "Maxim MAX2165 silicon tuner" 184 tristate "Maxim MAX2165 silicon tuner"
197 depends on MEDIA_SUPPORT && I2C 185 depends on MEDIA_SUPPORT && I2C
198 default m if MEDIA_TUNER_CUSTOMISE 186 default m if !MEDIA_SUBDRV_AUTOSELECT
199 help 187 help
200 A driver for the silicon tuner MAX2165 from Maxim. 188 A driver for the silicon tuner MAX2165 from Maxim.
201 189
202config MEDIA_TUNER_TDA18218 190config MEDIA_TUNER_TDA18218
203 tristate "NXP TDA18218 silicon tuner" 191 tristate "NXP TDA18218 silicon tuner"
204 depends on MEDIA_SUPPORT && I2C 192 depends on MEDIA_SUPPORT && I2C
205 default m if MEDIA_TUNER_CUSTOMISE 193 default m if !MEDIA_SUBDRV_AUTOSELECT
206 help 194 help
207 NXP TDA18218 silicon tuner driver. 195 NXP TDA18218 silicon tuner driver.
208 196
209config MEDIA_TUNER_FC0011 197config MEDIA_TUNER_FC0011
210 tristate "Fitipower FC0011 silicon tuner" 198 tristate "Fitipower FC0011 silicon tuner"
211 depends on MEDIA_SUPPORT && I2C 199 depends on MEDIA_SUPPORT && I2C
212 default m if MEDIA_TUNER_CUSTOMISE 200 default m if !MEDIA_SUBDRV_AUTOSELECT
213 help 201 help
214 Fitipower FC0011 silicon tuner driver. 202 Fitipower FC0011 silicon tuner driver.
215 203
216config MEDIA_TUNER_FC0012 204config MEDIA_TUNER_FC0012
217 tristate "Fitipower FC0012 silicon tuner" 205 tristate "Fitipower FC0012 silicon tuner"
218 depends on MEDIA_SUPPORT && I2C 206 depends on MEDIA_SUPPORT && I2C
219 default m if MEDIA_TUNER_CUSTOMISE 207 default m if !MEDIA_SUBDRV_AUTOSELECT
220 help 208 help
221 Fitipower FC0012 silicon tuner driver. 209 Fitipower FC0012 silicon tuner driver.
222 210
223config MEDIA_TUNER_FC0013 211config MEDIA_TUNER_FC0013
224 tristate "Fitipower FC0013 silicon tuner" 212 tristate "Fitipower FC0013 silicon tuner"
225 depends on MEDIA_SUPPORT && I2C 213 depends on MEDIA_SUPPORT && I2C
226 default m if MEDIA_TUNER_CUSTOMISE 214 default m if !MEDIA_SUBDRV_AUTOSELECT
227 help 215 help
228 Fitipower FC0013 silicon tuner driver. 216 Fitipower FC0013 silicon tuner driver.
229 217
230config MEDIA_TUNER_TDA18212 218config MEDIA_TUNER_TDA18212
231 tristate "NXP TDA18212 silicon tuner" 219 tristate "NXP TDA18212 silicon tuner"
232 depends on MEDIA_SUPPORT && I2C 220 depends on MEDIA_SUPPORT && I2C
233 default m if MEDIA_TUNER_CUSTOMISE 221 default m if !MEDIA_SUBDRV_AUTOSELECT
234 help 222 help
235 NXP TDA18212 silicon tuner driver. 223 NXP TDA18212 silicon tuner driver.
236 224
237config MEDIA_TUNER_TUA9001 225config MEDIA_TUNER_TUA9001
238 tristate "Infineon TUA 9001 silicon tuner" 226 tristate "Infineon TUA 9001 silicon tuner"
239 depends on MEDIA_SUPPORT && I2C 227 depends on MEDIA_SUPPORT && I2C
240 default m if MEDIA_TUNER_CUSTOMISE 228 default m if !MEDIA_SUBDRV_AUTOSELECT
241 help 229 help
242 Infineon TUA 9001 silicon tuner driver. 230 Infineon TUA 9001 silicon tuner driver.
243endmenu 231endmenu