Commit | Line | Data |
---|---|---|
7b0ac9cd MK |
1 | /* |
2 | * | |
3 | * i2c tv tuner chip device type database. | |
4 | * | |
5 | */ | |
6 | ||
7 | #include <linux/i2c.h> | |
7a707b89 | 8 | #include <linux/module.h> |
7b0ac9cd MK |
9 | #include <media/tuner.h> |
10 | #include <media/tuner-types.h> | |
11 | ||
12 | /* ---------------------------------------------------------------------- */ | |
13 | ||
14 | /* | |
15 | * The floats in the tuner struct are computed at compile time | |
16 | * by gcc and cast back to integers. Thus we don't violate the | |
17 | * "no float in kernel" rule. | |
18 | * | |
19 | * A tuner_range may be referenced by multiple tuner_params structs. | |
20 | * There are many duplicates in here. Reusing tuner_range structs, | |
21 | * rather than defining new ones for each tuner, will cut down on | |
22 | * memory usage, and is preferred when possible. | |
23 | * | |
24 | * Each tuner_params array may contain one or more elements, one | |
25 | * for each video standard. | |
26 | * | |
99d33d50 MK |
27 | * FIXME: tuner_params struct contains an element, tda988x. We must |
28 | * set this for all tuners that contain a tda988x chip, and then we | |
29 | * can remove this setting from the various card structs. | |
7b0ac9cd | 30 | * |
99d33d50 MK |
31 | * FIXME: Right now, all tuners are using the first tuner_params[] |
32 | * array element for analog mode. In the future, we will be merging | |
33 | * similar tuner definitions together, such that each tuner definition | |
34 | * will have a tuner_params struct for each available video standard. | |
35 | * At that point, the tuner_params[] array element will be chosen | |
36 | * based on the video standard in use. | |
7b0ac9cd MK |
37 | */ |
38 | ||
6f4a5729 MK |
39 | /* The following was taken from dvb-pll.c: */ |
40 | ||
41 | /* Set AGC TOP value to 103 dBuV: | |
42 | * 0x80 = Control Byte | |
43 | * 0x40 = 250 uA charge pump (irrelevant) | |
44 | * 0x18 = Aux Byte to follow | |
45 | * 0x06 = 64.5 kHz divider (irrelevant) | |
46 | * 0x01 = Disable Vt (aka sleep) | |
47 | * | |
48 | * 0x00 = AGC Time constant 2s Iagc = 300 nA (vs 0x80 = 9 nA) | |
49 | * 0x50 = AGC Take over point = 103 dBuV | |
50 | */ | |
51 | static u8 tua603x_agc103[] = { 2, 0x80|0x40|0x18|0x06|0x01, 0x00|0x50 }; | |
52 | ||
53 | /* 0x04 = 166.67 kHz divider | |
54 | * | |
55 | * 0x80 = AGC Time constant 50ms Iagc = 9 uA | |
56 | * 0x20 = AGC Take over point = 112 dBuV | |
57 | */ | |
58 | static u8 tua603x_agc112[] = { 2, 0x80|0x40|0x18|0x04|0x01, 0x80|0x20 }; | |
59 | ||
7b0ac9cd MK |
60 | /* 0-9 */ |
61 | /* ------------ TUNER_TEMIC_PAL - TEMIC PAL ------------ */ | |
62 | ||
63 | static struct tuner_range tuner_temic_pal_ranges[] = { | |
3fc46d35 MK |
64 | { 16 * 140.25 /*MHz*/, 0x8e, 0x02, }, |
65 | { 16 * 463.25 /*MHz*/, 0x8e, 0x04, }, | |
66 | { 16 * 999.99 , 0x8e, 0x01, }, | |
7b0ac9cd MK |
67 | }; |
68 | ||
69 | static struct tuner_params tuner_temic_pal_params[] = { | |
70 | { | |
71 | .type = TUNER_PARAM_TYPE_PAL, | |
72 | .ranges = tuner_temic_pal_ranges, | |
73 | .count = ARRAY_SIZE(tuner_temic_pal_ranges), | |
7b0ac9cd MK |
74 | }, |
75 | }; | |
76 | ||
77 | /* ------------ TUNER_PHILIPS_PAL_I - Philips PAL_I ------------ */ | |
78 | ||
79 | static struct tuner_range tuner_philips_pal_i_ranges[] = { | |
3fc46d35 MK |
80 | { 16 * 140.25 /*MHz*/, 0x8e, 0xa0, }, |
81 | { 16 * 463.25 /*MHz*/, 0x8e, 0x90, }, | |
82 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
83 | }; |
84 | ||
85 | static struct tuner_params tuner_philips_pal_i_params[] = { | |
86 | { | |
87 | .type = TUNER_PARAM_TYPE_PAL, | |
88 | .ranges = tuner_philips_pal_i_ranges, | |
89 | .count = ARRAY_SIZE(tuner_philips_pal_i_ranges), | |
7b0ac9cd MK |
90 | }, |
91 | }; | |
92 | ||
93 | /* ------------ TUNER_PHILIPS_NTSC - Philips NTSC ------------ */ | |
94 | ||
95 | static struct tuner_range tuner_philips_ntsc_ranges[] = { | |
3fc46d35 MK |
96 | { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, }, |
97 | { 16 * 451.25 /*MHz*/, 0x8e, 0x90, }, | |
98 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
99 | }; |
100 | ||
101 | static struct tuner_params tuner_philips_ntsc_params[] = { | |
102 | { | |
103 | .type = TUNER_PARAM_TYPE_NTSC, | |
104 | .ranges = tuner_philips_ntsc_ranges, | |
105 | .count = ARRAY_SIZE(tuner_philips_ntsc_ranges), | |
27487d44 | 106 | .cb_first_if_lower_freq = 1, |
7b0ac9cd MK |
107 | }, |
108 | }; | |
109 | ||
110 | /* ------------ TUNER_PHILIPS_SECAM - Philips SECAM ------------ */ | |
111 | ||
112 | static struct tuner_range tuner_philips_secam_ranges[] = { | |
3fc46d35 MK |
113 | { 16 * 168.25 /*MHz*/, 0x8e, 0xa7, }, |
114 | { 16 * 447.25 /*MHz*/, 0x8e, 0x97, }, | |
115 | { 16 * 999.99 , 0x8e, 0x37, }, | |
7b0ac9cd MK |
116 | }; |
117 | ||
118 | static struct tuner_params tuner_philips_secam_params[] = { | |
119 | { | |
120 | .type = TUNER_PARAM_TYPE_SECAM, | |
121 | .ranges = tuner_philips_secam_ranges, | |
122 | .count = ARRAY_SIZE(tuner_philips_secam_ranges), | |
27487d44 | 123 | .cb_first_if_lower_freq = 1, |
7b0ac9cd MK |
124 | }, |
125 | }; | |
126 | ||
127 | /* ------------ TUNER_PHILIPS_PAL - Philips PAL ------------ */ | |
128 | ||
129 | static struct tuner_range tuner_philips_pal_ranges[] = { | |
3fc46d35 MK |
130 | { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, }, |
131 | { 16 * 447.25 /*MHz*/, 0x8e, 0x90, }, | |
132 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
133 | }; |
134 | ||
135 | static struct tuner_params tuner_philips_pal_params[] = { | |
136 | { | |
137 | .type = TUNER_PARAM_TYPE_PAL, | |
138 | .ranges = tuner_philips_pal_ranges, | |
139 | .count = ARRAY_SIZE(tuner_philips_pal_ranges), | |
27487d44 | 140 | .cb_first_if_lower_freq = 1, |
7b0ac9cd MK |
141 | }, |
142 | }; | |
143 | ||
144 | /* ------------ TUNER_TEMIC_NTSC - TEMIC NTSC ------------ */ | |
145 | ||
146 | static struct tuner_range tuner_temic_ntsc_ranges[] = { | |
3fc46d35 MK |
147 | { 16 * 157.25 /*MHz*/, 0x8e, 0x02, }, |
148 | { 16 * 463.25 /*MHz*/, 0x8e, 0x04, }, | |
149 | { 16 * 999.99 , 0x8e, 0x01, }, | |
7b0ac9cd MK |
150 | }; |
151 | ||
152 | static struct tuner_params tuner_temic_ntsc_params[] = { | |
153 | { | |
154 | .type = TUNER_PARAM_TYPE_NTSC, | |
155 | .ranges = tuner_temic_ntsc_ranges, | |
156 | .count = ARRAY_SIZE(tuner_temic_ntsc_ranges), | |
7b0ac9cd MK |
157 | }, |
158 | }; | |
159 | ||
160 | /* ------------ TUNER_TEMIC_PAL_I - TEMIC PAL_I ------------ */ | |
161 | ||
162 | static struct tuner_range tuner_temic_pal_i_ranges[] = { | |
3fc46d35 MK |
163 | { 16 * 170.00 /*MHz*/, 0x8e, 0x02, }, |
164 | { 16 * 450.00 /*MHz*/, 0x8e, 0x04, }, | |
165 | { 16 * 999.99 , 0x8e, 0x01, }, | |
7b0ac9cd MK |
166 | }; |
167 | ||
168 | static struct tuner_params tuner_temic_pal_i_params[] = { | |
169 | { | |
170 | .type = TUNER_PARAM_TYPE_PAL, | |
171 | .ranges = tuner_temic_pal_i_ranges, | |
172 | .count = ARRAY_SIZE(tuner_temic_pal_i_ranges), | |
7b0ac9cd MK |
173 | }, |
174 | }; | |
175 | ||
176 | /* ------------ TUNER_TEMIC_4036FY5_NTSC - TEMIC NTSC ------------ */ | |
177 | ||
178 | static struct tuner_range tuner_temic_4036fy5_ntsc_ranges[] = { | |
3fc46d35 MK |
179 | { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, }, |
180 | { 16 * 463.25 /*MHz*/, 0x8e, 0x90, }, | |
181 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
182 | }; |
183 | ||
184 | static struct tuner_params tuner_temic_4036fy5_ntsc_params[] = { | |
185 | { | |
186 | .type = TUNER_PARAM_TYPE_NTSC, | |
187 | .ranges = tuner_temic_4036fy5_ntsc_ranges, | |
188 | .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges), | |
7b0ac9cd MK |
189 | }, |
190 | }; | |
191 | ||
192 | /* ------------ TUNER_ALPS_TSBH1_NTSC - TEMIC NTSC ------------ */ | |
193 | ||
194 | static struct tuner_range tuner_alps_tsb_1_ranges[] = { | |
3fc46d35 MK |
195 | { 16 * 137.25 /*MHz*/, 0x8e, 0x01, }, |
196 | { 16 * 385.25 /*MHz*/, 0x8e, 0x02, }, | |
197 | { 16 * 999.99 , 0x8e, 0x08, }, | |
7b0ac9cd MK |
198 | }; |
199 | ||
200 | static struct tuner_params tuner_alps_tsbh1_ntsc_params[] = { | |
201 | { | |
202 | .type = TUNER_PARAM_TYPE_NTSC, | |
203 | .ranges = tuner_alps_tsb_1_ranges, | |
204 | .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges), | |
7b0ac9cd MK |
205 | }, |
206 | }; | |
207 | ||
208 | /* 10-19 */ | |
209 | /* ------------ TUNER_ALPS_TSBE1_PAL - TEMIC PAL ------------ */ | |
210 | ||
211 | static struct tuner_params tuner_alps_tsb_1_params[] = { | |
212 | { | |
213 | .type = TUNER_PARAM_TYPE_PAL, | |
214 | .ranges = tuner_alps_tsb_1_ranges, | |
215 | .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges), | |
7b0ac9cd MK |
216 | }, |
217 | }; | |
218 | ||
219 | /* ------------ TUNER_ALPS_TSBB5_PAL_I - Alps PAL_I ------------ */ | |
220 | ||
221 | static struct tuner_range tuner_alps_tsb_5_pal_ranges[] = { | |
3fc46d35 MK |
222 | { 16 * 133.25 /*MHz*/, 0x8e, 0x01, }, |
223 | { 16 * 351.25 /*MHz*/, 0x8e, 0x02, }, | |
224 | { 16 * 999.99 , 0x8e, 0x08, }, | |
7b0ac9cd MK |
225 | }; |
226 | ||
227 | static struct tuner_params tuner_alps_tsbb5_params[] = { | |
228 | { | |
229 | .type = TUNER_PARAM_TYPE_PAL, | |
230 | .ranges = tuner_alps_tsb_5_pal_ranges, | |
231 | .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges), | |
7b0ac9cd MK |
232 | }, |
233 | }; | |
234 | ||
235 | /* ------------ TUNER_ALPS_TSBE5_PAL - Alps PAL ------------ */ | |
236 | ||
237 | static struct tuner_params tuner_alps_tsbe5_params[] = { | |
238 | { | |
239 | .type = TUNER_PARAM_TYPE_PAL, | |
240 | .ranges = tuner_alps_tsb_5_pal_ranges, | |
241 | .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges), | |
7b0ac9cd MK |
242 | }, |
243 | }; | |
244 | ||
245 | /* ------------ TUNER_ALPS_TSBC5_PAL - Alps PAL ------------ */ | |
246 | ||
247 | static struct tuner_params tuner_alps_tsbc5_params[] = { | |
248 | { | |
249 | .type = TUNER_PARAM_TYPE_PAL, | |
250 | .ranges = tuner_alps_tsb_5_pal_ranges, | |
251 | .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges), | |
7b0ac9cd MK |
252 | }, |
253 | }; | |
254 | ||
255 | /* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */ | |
256 | ||
cc925bbe | 257 | static struct tuner_range tuner_lg_pal_ranges[] = { |
3fc46d35 MK |
258 | { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, }, |
259 | { 16 * 450.00 /*MHz*/, 0x8e, 0x90, }, | |
260 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
261 | }; |
262 | ||
263 | static struct tuner_params tuner_temic_4006fh5_params[] = { | |
264 | { | |
265 | .type = TUNER_PARAM_TYPE_PAL, | |
cc925bbe MK |
266 | .ranges = tuner_lg_pal_ranges, |
267 | .count = ARRAY_SIZE(tuner_lg_pal_ranges), | |
7b0ac9cd MK |
268 | }, |
269 | }; | |
270 | ||
271 | /* ------------ TUNER_ALPS_TSHC6_NTSC - Alps NTSC ------------ */ | |
272 | ||
273 | static struct tuner_range tuner_alps_tshc6_ntsc_ranges[] = { | |
3fc46d35 MK |
274 | { 16 * 137.25 /*MHz*/, 0x8e, 0x14, }, |
275 | { 16 * 385.25 /*MHz*/, 0x8e, 0x12, }, | |
276 | { 16 * 999.99 , 0x8e, 0x11, }, | |
7b0ac9cd MK |
277 | }; |
278 | ||
279 | static struct tuner_params tuner_alps_tshc6_params[] = { | |
280 | { | |
281 | .type = TUNER_PARAM_TYPE_NTSC, | |
282 | .ranges = tuner_alps_tshc6_ntsc_ranges, | |
283 | .count = ARRAY_SIZE(tuner_alps_tshc6_ntsc_ranges), | |
7b0ac9cd MK |
284 | }, |
285 | }; | |
286 | ||
287 | /* ------------ TUNER_TEMIC_PAL_DK - TEMIC PAL ------------ */ | |
288 | ||
289 | static struct tuner_range tuner_temic_pal_dk_ranges[] = { | |
3fc46d35 MK |
290 | { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, }, |
291 | { 16 * 456.25 /*MHz*/, 0x8e, 0x90, }, | |
292 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
293 | }; |
294 | ||
295 | static struct tuner_params tuner_temic_pal_dk_params[] = { | |
296 | { | |
297 | .type = TUNER_PARAM_TYPE_PAL, | |
298 | .ranges = tuner_temic_pal_dk_ranges, | |
299 | .count = ARRAY_SIZE(tuner_temic_pal_dk_ranges), | |
7b0ac9cd MK |
300 | }, |
301 | }; | |
302 | ||
303 | /* ------------ TUNER_PHILIPS_NTSC_M - Philips NTSC ------------ */ | |
304 | ||
305 | static struct tuner_range tuner_philips_ntsc_m_ranges[] = { | |
3fc46d35 MK |
306 | { 16 * 160.00 /*MHz*/, 0x8e, 0xa0, }, |
307 | { 16 * 454.00 /*MHz*/, 0x8e, 0x90, }, | |
308 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
309 | }; |
310 | ||
311 | static struct tuner_params tuner_philips_ntsc_m_params[] = { | |
312 | { | |
313 | .type = TUNER_PARAM_TYPE_NTSC, | |
314 | .ranges = tuner_philips_ntsc_m_ranges, | |
315 | .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges), | |
7b0ac9cd MK |
316 | }, |
317 | }; | |
318 | ||
319 | /* ------------ TUNER_TEMIC_4066FY5_PAL_I - TEMIC PAL_I ------------ */ | |
320 | ||
321 | static struct tuner_range tuner_temic_40x6f_5_pal_ranges[] = { | |
3fc46d35 MK |
322 | { 16 * 169.00 /*MHz*/, 0x8e, 0xa0, }, |
323 | { 16 * 454.00 /*MHz*/, 0x8e, 0x90, }, | |
324 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
325 | }; |
326 | ||
327 | static struct tuner_params tuner_temic_4066fy5_pal_i_params[] = { | |
328 | { | |
329 | .type = TUNER_PARAM_TYPE_PAL, | |
330 | .ranges = tuner_temic_40x6f_5_pal_ranges, | |
331 | .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges), | |
7b0ac9cd MK |
332 | }, |
333 | }; | |
334 | ||
335 | /* ------------ TUNER_TEMIC_4006FN5_MULTI_PAL - TEMIC PAL ------------ */ | |
336 | ||
337 | static struct tuner_params tuner_temic_4006fn5_multi_params[] = { | |
338 | { | |
339 | .type = TUNER_PARAM_TYPE_PAL, | |
340 | .ranges = tuner_temic_40x6f_5_pal_ranges, | |
341 | .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges), | |
7b0ac9cd MK |
342 | }, |
343 | }; | |
344 | ||
345 | /* 20-29 */ | |
346 | /* ------------ TUNER_TEMIC_4009FR5_PAL - TEMIC PAL ------------ */ | |
347 | ||
348 | static struct tuner_range tuner_temic_4009f_5_pal_ranges[] = { | |
3fc46d35 MK |
349 | { 16 * 141.00 /*MHz*/, 0x8e, 0xa0, }, |
350 | { 16 * 464.00 /*MHz*/, 0x8e, 0x90, }, | |
351 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
352 | }; |
353 | ||
354 | static struct tuner_params tuner_temic_4009f_5_params[] = { | |
355 | { | |
356 | .type = TUNER_PARAM_TYPE_PAL, | |
357 | .ranges = tuner_temic_4009f_5_pal_ranges, | |
358 | .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges), | |
7b0ac9cd MK |
359 | }, |
360 | }; | |
361 | ||
362 | /* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */ | |
363 | ||
cc925bbe | 364 | static struct tuner_range tuner_temic_4x3x_f_5_ntsc_ranges[] = { |
3fc46d35 MK |
365 | { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, }, |
366 | { 16 * 453.00 /*MHz*/, 0x8e, 0x90, }, | |
367 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
368 | }; |
369 | ||
370 | static struct tuner_params tuner_temic_4039fr5_params[] = { | |
371 | { | |
372 | .type = TUNER_PARAM_TYPE_NTSC, | |
cc925bbe MK |
373 | .ranges = tuner_temic_4x3x_f_5_ntsc_ranges, |
374 | .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges), | |
7b0ac9cd MK |
375 | }, |
376 | }; | |
377 | ||
378 | /* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */ | |
379 | ||
7b0ac9cd MK |
380 | static struct tuner_params tuner_temic_4046fm5_params[] = { |
381 | { | |
382 | .type = TUNER_PARAM_TYPE_PAL, | |
cc925bbe MK |
383 | .ranges = tuner_temic_40x6f_5_pal_ranges, |
384 | .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges), | |
7b0ac9cd MK |
385 | }, |
386 | }; | |
387 | ||
388 | /* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */ | |
389 | ||
7b0ac9cd MK |
390 | static struct tuner_params tuner_philips_pal_dk_params[] = { |
391 | { | |
392 | .type = TUNER_PARAM_TYPE_PAL, | |
393 | .ranges = tuner_lg_pal_ranges, | |
394 | .count = ARRAY_SIZE(tuner_lg_pal_ranges), | |
7b0ac9cd MK |
395 | }, |
396 | }; | |
397 | ||
398 | /* ------------ TUNER_PHILIPS_FQ1216ME - Philips PAL ------------ */ | |
399 | ||
400 | static struct tuner_params tuner_philips_fq1216me_params[] = { | |
401 | { | |
402 | .type = TUNER_PARAM_TYPE_PAL, | |
403 | .ranges = tuner_lg_pal_ranges, | |
404 | .count = ARRAY_SIZE(tuner_lg_pal_ranges), | |
ba8fc399 HV |
405 | .has_tda9887 = 1, |
406 | .port1_active = 1, | |
407 | .port2_active = 1, | |
408 | .port2_invert_for_secam_lc = 1, | |
7b0ac9cd MK |
409 | }, |
410 | }; | |
411 | ||
412 | /* ------------ TUNER_LG_PAL_I_FM - LGINNOTEK PAL_I ------------ */ | |
413 | ||
414 | static struct tuner_params tuner_lg_pal_i_fm_params[] = { | |
415 | { | |
416 | .type = TUNER_PARAM_TYPE_PAL, | |
417 | .ranges = tuner_lg_pal_ranges, | |
418 | .count = ARRAY_SIZE(tuner_lg_pal_ranges), | |
7b0ac9cd MK |
419 | }, |
420 | }; | |
421 | ||
422 | /* ------------ TUNER_LG_PAL_I - LGINNOTEK PAL_I ------------ */ | |
423 | ||
424 | static struct tuner_params tuner_lg_pal_i_params[] = { | |
425 | { | |
426 | .type = TUNER_PARAM_TYPE_PAL, | |
427 | .ranges = tuner_lg_pal_ranges, | |
428 | .count = ARRAY_SIZE(tuner_lg_pal_ranges), | |
7b0ac9cd MK |
429 | }, |
430 | }; | |
431 | ||
432 | /* ------------ TUNER_LG_NTSC_FM - LGINNOTEK NTSC ------------ */ | |
433 | ||
434 | static struct tuner_range tuner_lg_ntsc_fm_ranges[] = { | |
3fc46d35 MK |
435 | { 16 * 210.00 /*MHz*/, 0x8e, 0xa0, }, |
436 | { 16 * 497.00 /*MHz*/, 0x8e, 0x90, }, | |
437 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
438 | }; |
439 | ||
440 | static struct tuner_params tuner_lg_ntsc_fm_params[] = { | |
441 | { | |
442 | .type = TUNER_PARAM_TYPE_NTSC, | |
443 | .ranges = tuner_lg_ntsc_fm_ranges, | |
444 | .count = ARRAY_SIZE(tuner_lg_ntsc_fm_ranges), | |
7b0ac9cd MK |
445 | }, |
446 | }; | |
447 | ||
448 | /* ------------ TUNER_LG_PAL_FM - LGINNOTEK PAL ------------ */ | |
449 | ||
450 | static struct tuner_params tuner_lg_pal_fm_params[] = { | |
451 | { | |
452 | .type = TUNER_PARAM_TYPE_PAL, | |
453 | .ranges = tuner_lg_pal_ranges, | |
454 | .count = ARRAY_SIZE(tuner_lg_pal_ranges), | |
7b0ac9cd MK |
455 | }, |
456 | }; | |
457 | ||
458 | /* ------------ TUNER_LG_PAL - LGINNOTEK PAL ------------ */ | |
459 | ||
460 | static struct tuner_params tuner_lg_pal_params[] = { | |
461 | { | |
462 | .type = TUNER_PARAM_TYPE_PAL, | |
463 | .ranges = tuner_lg_pal_ranges, | |
464 | .count = ARRAY_SIZE(tuner_lg_pal_ranges), | |
7b0ac9cd MK |
465 | }, |
466 | }; | |
467 | ||
468 | /* 30-39 */ | |
469 | /* ------------ TUNER_TEMIC_4009FN5_MULTI_PAL_FM - TEMIC PAL ------------ */ | |
470 | ||
471 | static struct tuner_params tuner_temic_4009_fn5_multi_pal_fm_params[] = { | |
472 | { | |
473 | .type = TUNER_PARAM_TYPE_PAL, | |
474 | .ranges = tuner_temic_4009f_5_pal_ranges, | |
475 | .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges), | |
7b0ac9cd MK |
476 | }, |
477 | }; | |
478 | ||
479 | /* ------------ TUNER_SHARP_2U5JF5540_NTSC - SHARP NTSC ------------ */ | |
480 | ||
481 | static struct tuner_range tuner_sharp_2u5jf5540_ntsc_ranges[] = { | |
3fc46d35 MK |
482 | { 16 * 137.25 /*MHz*/, 0x8e, 0x01, }, |
483 | { 16 * 317.25 /*MHz*/, 0x8e, 0x02, }, | |
484 | { 16 * 999.99 , 0x8e, 0x08, }, | |
7b0ac9cd MK |
485 | }; |
486 | ||
487 | static struct tuner_params tuner_sharp_2u5jf5540_params[] = { | |
488 | { | |
489 | .type = TUNER_PARAM_TYPE_NTSC, | |
490 | .ranges = tuner_sharp_2u5jf5540_ntsc_ranges, | |
491 | .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_ntsc_ranges), | |
7b0ac9cd MK |
492 | }, |
493 | }; | |
494 | ||
495 | /* ------------ TUNER_Samsung_PAL_TCPM9091PD27 - Samsung PAL ------------ */ | |
496 | ||
497 | static struct tuner_range tuner_samsung_pal_tcpm9091pd27_ranges[] = { | |
3fc46d35 MK |
498 | { 16 * 169 /*MHz*/, 0x8e, 0xa0, }, |
499 | { 16 * 464 /*MHz*/, 0x8e, 0x90, }, | |
500 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
501 | }; |
502 | ||
503 | static struct tuner_params tuner_samsung_pal_tcpm9091pd27_params[] = { | |
504 | { | |
505 | .type = TUNER_PARAM_TYPE_PAL, | |
506 | .ranges = tuner_samsung_pal_tcpm9091pd27_ranges, | |
507 | .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_ranges), | |
7b0ac9cd MK |
508 | }, |
509 | }; | |
510 | ||
511 | /* ------------ TUNER_TEMIC_4106FH5 - TEMIC PAL ------------ */ | |
512 | ||
513 | static struct tuner_params tuner_temic_4106fh5_params[] = { | |
514 | { | |
515 | .type = TUNER_PARAM_TYPE_PAL, | |
516 | .ranges = tuner_temic_4009f_5_pal_ranges, | |
517 | .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges), | |
7b0ac9cd MK |
518 | }, |
519 | }; | |
520 | ||
521 | /* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */ | |
522 | ||
7b0ac9cd MK |
523 | static struct tuner_params tuner_temic_4012fy5_params[] = { |
524 | { | |
525 | .type = TUNER_PARAM_TYPE_PAL, | |
cc925bbe MK |
526 | .ranges = tuner_temic_pal_ranges, |
527 | .count = ARRAY_SIZE(tuner_temic_pal_ranges), | |
7b0ac9cd MK |
528 | }, |
529 | }; | |
530 | ||
531 | /* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */ | |
532 | ||
7b0ac9cd MK |
533 | static struct tuner_params tuner_temic_4136_fy5_params[] = { |
534 | { | |
535 | .type = TUNER_PARAM_TYPE_NTSC, | |
cc925bbe MK |
536 | .ranges = tuner_temic_4x3x_f_5_ntsc_ranges, |
537 | .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges), | |
7b0ac9cd MK |
538 | }, |
539 | }; | |
540 | ||
541 | /* ------------ TUNER_LG_PAL_NEW_TAPC - LGINNOTEK PAL ------------ */ | |
542 | ||
543 | static struct tuner_range tuner_lg_new_tapc_ranges[] = { | |
3fc46d35 MK |
544 | { 16 * 170.00 /*MHz*/, 0x8e, 0x01, }, |
545 | { 16 * 450.00 /*MHz*/, 0x8e, 0x02, }, | |
546 | { 16 * 999.99 , 0x8e, 0x08, }, | |
7b0ac9cd MK |
547 | }; |
548 | ||
549 | static struct tuner_params tuner_lg_pal_new_tapc_params[] = { | |
550 | { | |
551 | .type = TUNER_PARAM_TYPE_PAL, | |
552 | .ranges = tuner_lg_new_tapc_ranges, | |
553 | .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges), | |
7b0ac9cd MK |
554 | }, |
555 | }; | |
556 | ||
557 | /* ------------ TUNER_PHILIPS_FM1216ME_MK3 - Philips PAL ------------ */ | |
558 | ||
559 | static struct tuner_range tuner_fm1216me_mk3_pal_ranges[] = { | |
3fc46d35 MK |
560 | { 16 * 158.00 /*MHz*/, 0x8e, 0x01, }, |
561 | { 16 * 442.00 /*MHz*/, 0x8e, 0x02, }, | |
562 | { 16 * 999.99 , 0x8e, 0x04, }, | |
7b0ac9cd MK |
563 | }; |
564 | ||
565 | static struct tuner_params tuner_fm1216me_mk3_params[] = { | |
566 | { | |
567 | .type = TUNER_PARAM_TYPE_PAL, | |
568 | .ranges = tuner_fm1216me_mk3_pal_ranges, | |
569 | .count = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges), | |
27487d44 | 570 | .cb_first_if_lower_freq = 1, |
ba8fc399 HV |
571 | .has_tda9887 = 1, |
572 | .port1_active = 1, | |
573 | .port2_active = 1, | |
574 | .port2_invert_for_secam_lc = 1, | |
575 | .port1_fm_high_sensitivity = 1, | |
576 | .default_top_mid = -2, | |
577 | .default_top_secam_mid = -2, | |
578 | .default_top_secam_high = -2, | |
7b0ac9cd MK |
579 | }, |
580 | }; | |
581 | ||
8475cbcb DB |
582 | /* ------------ TUNER_PHILIPS_FM1216MK5 - Philips PAL ------------ */ |
583 | ||
584 | static struct tuner_range tuner_fm1216mk5_pal_ranges[] = { | |
585 | { 16 * 158.00 /*MHz*/, 0xce, 0x01, }, | |
586 | { 16 * 441.00 /*MHz*/, 0xce, 0x02, }, | |
587 | { 16 * 864.00 , 0xce, 0x04, }, | |
588 | }; | |
589 | ||
590 | static struct tuner_params tuner_fm1216mk5_params[] = { | |
591 | { | |
592 | .type = TUNER_PARAM_TYPE_PAL, | |
593 | .ranges = tuner_fm1216mk5_pal_ranges, | |
594 | .count = ARRAY_SIZE(tuner_fm1216mk5_pal_ranges), | |
595 | .cb_first_if_lower_freq = 1, | |
596 | .has_tda9887 = 1, | |
597 | .port1_active = 1, | |
598 | .port2_active = 1, | |
599 | .port2_invert_for_secam_lc = 1, | |
600 | .port1_fm_high_sensitivity = 1, | |
601 | .default_top_mid = -2, | |
602 | .default_top_secam_mid = -2, | |
603 | .default_top_secam_high = -2, | |
604 | }, | |
605 | }; | |
606 | ||
7b0ac9cd MK |
607 | /* ------------ TUNER_LG_NTSC_NEW_TAPC - LGINNOTEK NTSC ------------ */ |
608 | ||
609 | static struct tuner_params tuner_lg_ntsc_new_tapc_params[] = { | |
610 | { | |
611 | .type = TUNER_PARAM_TYPE_NTSC, | |
612 | .ranges = tuner_lg_new_tapc_ranges, | |
613 | .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges), | |
7b0ac9cd MK |
614 | }, |
615 | }; | |
616 | ||
617 | /* 40-49 */ | |
618 | /* ------------ TUNER_HITACHI_NTSC - HITACHI NTSC ------------ */ | |
619 | ||
620 | static struct tuner_params tuner_hitachi_ntsc_params[] = { | |
621 | { | |
622 | .type = TUNER_PARAM_TYPE_NTSC, | |
623 | .ranges = tuner_lg_new_tapc_ranges, | |
624 | .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges), | |
7b0ac9cd MK |
625 | }, |
626 | }; | |
627 | ||
628 | /* ------------ TUNER_PHILIPS_PAL_MK - Philips PAL ------------ */ | |
629 | ||
630 | static struct tuner_range tuner_philips_pal_mk_pal_ranges[] = { | |
3fc46d35 MK |
631 | { 16 * 140.25 /*MHz*/, 0x8e, 0x01, }, |
632 | { 16 * 463.25 /*MHz*/, 0x8e, 0xc2, }, | |
633 | { 16 * 999.99 , 0x8e, 0xcf, }, | |
7b0ac9cd MK |
634 | }; |
635 | ||
636 | static struct tuner_params tuner_philips_pal_mk_params[] = { | |
637 | { | |
638 | .type = TUNER_PARAM_TYPE_PAL, | |
639 | .ranges = tuner_philips_pal_mk_pal_ranges, | |
640 | .count = ARRAY_SIZE(tuner_philips_pal_mk_pal_ranges), | |
7b0ac9cd MK |
641 | }, |
642 | }; | |
643 | ||
ab8b870e | 644 | /* ---- TUNER_PHILIPS_FCV1236D - Philips FCV1236D (ATSC/NTSC) ---- */ |
7b0ac9cd | 645 | |
f4173d0f MK |
646 | static struct tuner_range tuner_philips_fcv1236d_ntsc_ranges[] = { |
647 | { 16 * 157.25 /*MHz*/, 0x8e, 0xa2, }, | |
648 | { 16 * 451.25 /*MHz*/, 0x8e, 0x92, }, | |
649 | { 16 * 999.99 , 0x8e, 0x32, }, | |
650 | }; | |
651 | ||
652 | static struct tuner_range tuner_philips_fcv1236d_atsc_ranges[] = { | |
653 | { 16 * 159.00 /*MHz*/, 0x8e, 0xa0, }, | |
654 | { 16 * 453.00 /*MHz*/, 0x8e, 0x90, }, | |
3fc46d35 | 655 | { 16 * 999.99 , 0x8e, 0x30, }, |
7b0ac9cd MK |
656 | }; |
657 | ||
b8273636 | 658 | static struct tuner_params tuner_philips_fcv1236d_params[] = { |
7b0ac9cd MK |
659 | { |
660 | .type = TUNER_PARAM_TYPE_NTSC, | |
f4173d0f MK |
661 | .ranges = tuner_philips_fcv1236d_ntsc_ranges, |
662 | .count = ARRAY_SIZE(tuner_philips_fcv1236d_ntsc_ranges), | |
663 | }, | |
664 | { | |
665 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
666 | .ranges = tuner_philips_fcv1236d_atsc_ranges, | |
667 | .count = ARRAY_SIZE(tuner_philips_fcv1236d_atsc_ranges), | |
668 | .iffreq = 16 * 44.00, | |
7b0ac9cd MK |
669 | }, |
670 | }; | |
671 | ||
672 | /* ------------ TUNER_PHILIPS_FM1236_MK3 - Philips NTSC ------------ */ | |
673 | ||
674 | static struct tuner_range tuner_fm1236_mk3_ntsc_ranges[] = { | |
3fc46d35 MK |
675 | { 16 * 160.00 /*MHz*/, 0x8e, 0x01, }, |
676 | { 16 * 442.00 /*MHz*/, 0x8e, 0x02, }, | |
677 | { 16 * 999.99 , 0x8e, 0x04, }, | |
7b0ac9cd MK |
678 | }; |
679 | ||
680 | static struct tuner_params tuner_fm1236_mk3_params[] = { | |
681 | { | |
682 | .type = TUNER_PARAM_TYPE_NTSC, | |
683 | .ranges = tuner_fm1236_mk3_ntsc_ranges, | |
684 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), | |
27487d44 | 685 | .cb_first_if_lower_freq = 1, |
ba8fc399 HV |
686 | .has_tda9887 = 1, |
687 | .port1_active = 1, | |
688 | .port2_active = 1, | |
689 | .port1_fm_high_sensitivity = 1, | |
7b0ac9cd MK |
690 | }, |
691 | }; | |
692 | ||
693 | /* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */ | |
694 | ||
7b0ac9cd MK |
695 | static struct tuner_params tuner_philips_4in1_params[] = { |
696 | { | |
697 | .type = TUNER_PARAM_TYPE_NTSC, | |
cc925bbe MK |
698 | .ranges = tuner_fm1236_mk3_ntsc_ranges, |
699 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), | |
7b0ac9cd MK |
700 | }, |
701 | }; | |
702 | ||
703 | /* ------------ TUNER_MICROTUNE_4049FM5 - Microtune PAL ------------ */ | |
704 | ||
705 | static struct tuner_params tuner_microtune_4049_fm5_params[] = { | |
706 | { | |
707 | .type = TUNER_PARAM_TYPE_PAL, | |
708 | .ranges = tuner_temic_4009f_5_pal_ranges, | |
709 | .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges), | |
ba8fc399 HV |
710 | .has_tda9887 = 1, |
711 | .port1_invert_for_secam_lc = 1, | |
d7304dee | 712 | .default_pll_gating_18 = 1, |
d8159a36 | 713 | .fm_gain_normal=1, |
5e082f15 | 714 | .radio_if = 1, /* 33.3 MHz */ |
7b0ac9cd MK |
715 | }, |
716 | }; | |
717 | ||
718 | /* ------------ TUNER_PANASONIC_VP27 - Panasonic NTSC ------------ */ | |
719 | ||
720 | static struct tuner_range tuner_panasonic_vp27_ntsc_ranges[] = { | |
3fc46d35 MK |
721 | { 16 * 160.00 /*MHz*/, 0xce, 0x01, }, |
722 | { 16 * 454.00 /*MHz*/, 0xce, 0x02, }, | |
723 | { 16 * 999.99 , 0xce, 0x08, }, | |
7b0ac9cd MK |
724 | }; |
725 | ||
726 | static struct tuner_params tuner_panasonic_vp27_params[] = { | |
727 | { | |
728 | .type = TUNER_PARAM_TYPE_NTSC, | |
729 | .ranges = tuner_panasonic_vp27_ntsc_ranges, | |
730 | .count = ARRAY_SIZE(tuner_panasonic_vp27_ntsc_ranges), | |
ba8fc399 HV |
731 | .has_tda9887 = 1, |
732 | .intercarrier_mode = 1, | |
b4c85248 HV |
733 | .default_top_low = -3, |
734 | .default_top_mid = -3, | |
735 | .default_top_high = -3, | |
7b0ac9cd MK |
736 | }, |
737 | }; | |
738 | ||
7b0ac9cd MK |
739 | /* ------------ TUNER_TNF_8831BGFF - Philips PAL ------------ */ |
740 | ||
741 | static struct tuner_range tuner_tnf_8831bgff_pal_ranges[] = { | |
3fc46d35 MK |
742 | { 16 * 161.25 /*MHz*/, 0x8e, 0xa0, }, |
743 | { 16 * 463.25 /*MHz*/, 0x8e, 0x90, }, | |
744 | { 16 * 999.99 , 0x8e, 0x30, }, | |
7b0ac9cd MK |
745 | }; |
746 | ||
747 | static struct tuner_params tuner_tnf_8831bgff_params[] = { | |
748 | { | |
749 | .type = TUNER_PARAM_TYPE_PAL, | |
750 | .ranges = tuner_tnf_8831bgff_pal_ranges, | |
751 | .count = ARRAY_SIZE(tuner_tnf_8831bgff_pal_ranges), | |
7b0ac9cd MK |
752 | }, |
753 | }; | |
754 | ||
755 | /* ------------ TUNER_MICROTUNE_4042FI5 - Microtune NTSC ------------ */ | |
756 | ||
757 | static struct tuner_range tuner_microtune_4042fi5_ntsc_ranges[] = { | |
3fc46d35 MK |
758 | { 16 * 162.00 /*MHz*/, 0x8e, 0xa2, }, |
759 | { 16 * 457.00 /*MHz*/, 0x8e, 0x94, }, | |
760 | { 16 * 999.99 , 0x8e, 0x31, }, | |
7b0ac9cd MK |
761 | }; |
762 | ||
a33b42c6 MK |
763 | static struct tuner_range tuner_microtune_4042fi5_atsc_ranges[] = { |
764 | { 16 * 162.00 /*MHz*/, 0x8e, 0xa1, }, | |
765 | { 16 * 457.00 /*MHz*/, 0x8e, 0x91, }, | |
766 | { 16 * 999.99 , 0x8e, 0x31, }, | |
767 | }; | |
768 | ||
7b0ac9cd MK |
769 | static struct tuner_params tuner_microtune_4042fi5_params[] = { |
770 | { | |
771 | .type = TUNER_PARAM_TYPE_NTSC, | |
772 | .ranges = tuner_microtune_4042fi5_ntsc_ranges, | |
773 | .count = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges), | |
7b0ac9cd | 774 | }, |
a33b42c6 MK |
775 | { |
776 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
777 | .ranges = tuner_microtune_4042fi5_atsc_ranges, | |
778 | .count = ARRAY_SIZE(tuner_microtune_4042fi5_atsc_ranges), | |
779 | .iffreq = 16 * 44.00 /*MHz*/, | |
780 | }, | |
7b0ac9cd MK |
781 | }; |
782 | ||
783 | /* 50-59 */ | |
784 | /* ------------ TUNER_TCL_2002N - TCL NTSC ------------ */ | |
785 | ||
786 | static struct tuner_range tuner_tcl_2002n_ntsc_ranges[] = { | |
3fc46d35 MK |
787 | { 16 * 172.00 /*MHz*/, 0x8e, 0x01, }, |
788 | { 16 * 448.00 /*MHz*/, 0x8e, 0x02, }, | |
789 | { 16 * 999.99 , 0x8e, 0x08, }, | |
7b0ac9cd MK |
790 | }; |
791 | ||
792 | static struct tuner_params tuner_tcl_2002n_params[] = { | |
793 | { | |
794 | .type = TUNER_PARAM_TYPE_NTSC, | |
795 | .ranges = tuner_tcl_2002n_ntsc_ranges, | |
796 | .count = ARRAY_SIZE(tuner_tcl_2002n_ntsc_ranges), | |
27487d44 | 797 | .cb_first_if_lower_freq = 1, |
7b0ac9cd MK |
798 | }, |
799 | }; | |
800 | ||
801 | /* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */ | |
802 | ||
7b0ac9cd MK |
803 | static struct tuner_params tuner_philips_fm1256_ih3_params[] = { |
804 | { | |
805 | .type = TUNER_PARAM_TYPE_PAL, | |
cc925bbe MK |
806 | .ranges = tuner_fm1236_mk3_ntsc_ranges, |
807 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), | |
5e082f15 | 808 | .radio_if = 1, /* 33.3 MHz */ |
7b0ac9cd MK |
809 | }, |
810 | }; | |
811 | ||
812 | /* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */ | |
813 | ||
0db5fd4b | 814 | /* single range used for both ntsc and atsc */ |
7b0ac9cd | 815 | static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = { |
3fc46d35 MK |
816 | { 16 * 157.25 /*MHz*/, 0x8e, 0x39, }, |
817 | { 16 * 454.00 /*MHz*/, 0x8e, 0x3a, }, | |
818 | { 16 * 999.99 , 0x8e, 0x3c, }, | |
7b0ac9cd MK |
819 | }; |
820 | ||
821 | static struct tuner_params tuner_thomson_dtt7610_params[] = { | |
822 | { | |
823 | .type = TUNER_PARAM_TYPE_NTSC, | |
824 | .ranges = tuner_thomson_dtt7610_ntsc_ranges, | |
825 | .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges), | |
7b0ac9cd | 826 | }, |
0db5fd4b MK |
827 | { |
828 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
829 | .ranges = tuner_thomson_dtt7610_ntsc_ranges, | |
830 | .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges), | |
831 | .iffreq = 16 * 44.00 /*MHz*/, | |
832 | }, | |
7b0ac9cd MK |
833 | }; |
834 | ||
835 | /* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */ | |
836 | ||
837 | static struct tuner_range tuner_philips_fq1286_ntsc_ranges[] = { | |
3fc46d35 MK |
838 | { 16 * 160.00 /*MHz*/, 0x8e, 0x41, }, |
839 | { 16 * 454.00 /*MHz*/, 0x8e, 0x42, }, | |
840 | { 16 * 999.99 , 0x8e, 0x04, }, | |
7b0ac9cd MK |
841 | }; |
842 | ||
843 | static struct tuner_params tuner_philips_fq1286_params[] = { | |
844 | { | |
845 | .type = TUNER_PARAM_TYPE_NTSC, | |
846 | .ranges = tuner_philips_fq1286_ntsc_ranges, | |
847 | .count = ARRAY_SIZE(tuner_philips_fq1286_ntsc_ranges), | |
7b0ac9cd MK |
848 | }, |
849 | }; | |
850 | ||
851 | /* ------------ TUNER_TCL_2002MB - TCL PAL ------------ */ | |
852 | ||
853 | static struct tuner_range tuner_tcl_2002mb_pal_ranges[] = { | |
3fc46d35 MK |
854 | { 16 * 170.00 /*MHz*/, 0xce, 0x01, }, |
855 | { 16 * 450.00 /*MHz*/, 0xce, 0x02, }, | |
856 | { 16 * 999.99 , 0xce, 0x08, }, | |
7b0ac9cd MK |
857 | }; |
858 | ||
859 | static struct tuner_params tuner_tcl_2002mb_params[] = { | |
860 | { | |
861 | .type = TUNER_PARAM_TYPE_PAL, | |
862 | .ranges = tuner_tcl_2002mb_pal_ranges, | |
863 | .count = ARRAY_SIZE(tuner_tcl_2002mb_pal_ranges), | |
7b0ac9cd MK |
864 | }, |
865 | }; | |
866 | ||
867 | /* ------------ TUNER_PHILIPS_FQ1216AME_MK4 - Philips PAL ------------ */ | |
868 | ||
3fc46d35 MK |
869 | static struct tuner_range tuner_philips_fq12_6a___mk4_pal_ranges[] = { |
870 | { 16 * 160.00 /*MHz*/, 0xce, 0x01, }, | |
871 | { 16 * 442.00 /*MHz*/, 0xce, 0x02, }, | |
872 | { 16 * 999.99 , 0xce, 0x04, }, | |
7b0ac9cd MK |
873 | }; |
874 | ||
875 | static struct tuner_params tuner_philips_fq1216ame_mk4_params[] = { | |
876 | { | |
877 | .type = TUNER_PARAM_TYPE_PAL, | |
3fc46d35 MK |
878 | .ranges = tuner_philips_fq12_6a___mk4_pal_ranges, |
879 | .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_pal_ranges), | |
ba8fc399 HV |
880 | .has_tda9887 = 1, |
881 | .port1_active = 1, | |
882 | .port2_invert_for_secam_lc = 1, | |
883 | .default_top_mid = -2, | |
884 | .default_top_secam_low = -2, | |
885 | .default_top_secam_mid = -2, | |
886 | .default_top_secam_high = -2, | |
7b0ac9cd MK |
887 | }, |
888 | }; | |
889 | ||
890 | /* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */ | |
891 | ||
892 | static struct tuner_params tuner_philips_fq1236a_mk4_params[] = { | |
893 | { | |
894 | .type = TUNER_PARAM_TYPE_NTSC, | |
cc925bbe MK |
895 | .ranges = tuner_fm1236_mk3_ntsc_ranges, |
896 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), | |
7b0ac9cd MK |
897 | }, |
898 | }; | |
899 | ||
900 | /* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */ | |
901 | ||
7b0ac9cd MK |
902 | static struct tuner_params tuner_ymec_tvf_8531mf_params[] = { |
903 | { | |
904 | .type = TUNER_PARAM_TYPE_NTSC, | |
cc925bbe MK |
905 | .ranges = tuner_philips_ntsc_m_ranges, |
906 | .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges), | |
7b0ac9cd MK |
907 | }, |
908 | }; | |
909 | ||
910 | /* ------------ TUNER_YMEC_TVF_5533MF - Philips NTSC ------------ */ | |
911 | ||
912 | static struct tuner_range tuner_ymec_tvf_5533mf_ntsc_ranges[] = { | |
3fc46d35 MK |
913 | { 16 * 160.00 /*MHz*/, 0x8e, 0x01, }, |
914 | { 16 * 454.00 /*MHz*/, 0x8e, 0x02, }, | |
915 | { 16 * 999.99 , 0x8e, 0x04, }, | |
7b0ac9cd MK |
916 | }; |
917 | ||
918 | static struct tuner_params tuner_ymec_tvf_5533mf_params[] = { | |
919 | { | |
920 | .type = TUNER_PARAM_TYPE_NTSC, | |
921 | .ranges = tuner_ymec_tvf_5533mf_ntsc_ranges, | |
922 | .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_ntsc_ranges), | |
7b0ac9cd MK |
923 | }, |
924 | }; | |
925 | ||
926 | /* 60-69 */ | |
927 | /* ------------ TUNER_THOMSON_DTT761X - THOMSON ATSC ------------ */ | |
928 | /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */ | |
929 | ||
930 | static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = { | |
3fc46d35 MK |
931 | { 16 * 145.25 /*MHz*/, 0x8e, 0x39, }, |
932 | { 16 * 415.25 /*MHz*/, 0x8e, 0x3a, }, | |
933 | { 16 * 999.99 , 0x8e, 0x3c, }, | |
7b0ac9cd MK |
934 | }; |
935 | ||
22ef8fc9 MK |
936 | static struct tuner_range tuner_thomson_dtt761x_atsc_ranges[] = { |
937 | { 16 * 147.00 /*MHz*/, 0x8e, 0x39, }, | |
938 | { 16 * 417.00 /*MHz*/, 0x8e, 0x3a, }, | |
939 | { 16 * 999.99 , 0x8e, 0x3c, }, | |
940 | }; | |
7b0ac9cd MK |
941 | |
942 | static struct tuner_params tuner_thomson_dtt761x_params[] = { | |
943 | { | |
944 | .type = TUNER_PARAM_TYPE_NTSC, | |
945 | .ranges = tuner_thomson_dtt761x_ntsc_ranges, | |
946 | .count = ARRAY_SIZE(tuner_thomson_dtt761x_ntsc_ranges), | |
5e082f15 TP |
947 | .has_tda9887 = 1, |
948 | .fm_gain_normal = 1, | |
949 | .radio_if = 2, /* 41.3 MHz */ | |
7b0ac9cd | 950 | }, |
22ef8fc9 MK |
951 | { |
952 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
953 | .ranges = tuner_thomson_dtt761x_atsc_ranges, | |
954 | .count = ARRAY_SIZE(tuner_thomson_dtt761x_atsc_ranges), | |
955 | .iffreq = 16 * 44.00, /*MHz*/ | |
956 | }, | |
7b0ac9cd MK |
957 | }; |
958 | ||
959 | /* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */ | |
960 | ||
cc925bbe | 961 | static struct tuner_range tuner_tena_9533_di_pal_ranges[] = { |
3fc46d35 MK |
962 | { 16 * 160.25 /*MHz*/, 0x8e, 0x01, }, |
963 | { 16 * 464.25 /*MHz*/, 0x8e, 0x02, }, | |
964 | { 16 * 999.99 , 0x8e, 0x04, }, | |
7b0ac9cd MK |
965 | }; |
966 | ||
967 | static struct tuner_params tuner_tena_9533_di_params[] = { | |
968 | { | |
969 | .type = TUNER_PARAM_TYPE_PAL, | |
cc925bbe MK |
970 | .ranges = tuner_tena_9533_di_pal_ranges, |
971 | .count = ARRAY_SIZE(tuner_tena_9533_di_pal_ranges), | |
7b0ac9cd MK |
972 | }, |
973 | }; | |
974 | ||
0cda1255 MCC |
975 | /* ------------ TUNER_TENA_TNF_5337 - Tena tnf5337MFD STD M/N ------------ */ |
976 | ||
977 | static struct tuner_range tuner_tena_tnf_5337_ntsc_ranges[] = { | |
978 | { 16 * 166.25 /*MHz*/, 0x86, 0x01, }, | |
979 | { 16 * 466.25 /*MHz*/, 0x86, 0x02, }, | |
980 | { 16 * 999.99 , 0x86, 0x08, }, | |
981 | }; | |
982 | ||
983 | static struct tuner_params tuner_tena_tnf_5337_params[] = { | |
984 | { | |
985 | .type = TUNER_PARAM_TYPE_NTSC, | |
986 | .ranges = tuner_tena_tnf_5337_ntsc_ranges, | |
987 | .count = ARRAY_SIZE(tuner_tena_tnf_5337_ntsc_ranges), | |
988 | }, | |
989 | }; | |
990 | ||
953cafc0 | 991 | /* ------------ TUNER_PHILIPS_FMD1216ME(X)_MK3 - Philips PAL ------------ */ |
7b0ac9cd MK |
992 | |
993 | static struct tuner_range tuner_philips_fmd1216me_mk3_pal_ranges[] = { | |
3fc46d35 MK |
994 | { 16 * 160.00 /*MHz*/, 0x86, 0x51, }, |
995 | { 16 * 442.00 /*MHz*/, 0x86, 0x52, }, | |
996 | { 16 * 999.99 , 0x86, 0x54, }, | |
7b0ac9cd MK |
997 | }; |
998 | ||
23a88108 MK |
999 | static struct tuner_range tuner_philips_fmd1216me_mk3_dvb_ranges[] = { |
1000 | { 16 * 143.87 /*MHz*/, 0xbc, 0x41 }, | |
1001 | { 16 * 158.87 /*MHz*/, 0xf4, 0x41 }, | |
1002 | { 16 * 329.87 /*MHz*/, 0xbc, 0x42 }, | |
1003 | { 16 * 441.87 /*MHz*/, 0xf4, 0x42 }, | |
1004 | { 16 * 625.87 /*MHz*/, 0xbc, 0x44 }, | |
1005 | { 16 * 803.87 /*MHz*/, 0xf4, 0x44 }, | |
1006 | { 16 * 999.99 , 0xfc, 0x44 }, | |
1007 | }; | |
7b0ac9cd | 1008 | |
cc925bbe | 1009 | static struct tuner_params tuner_philips_fmd1216me_mk3_params[] = { |
7b0ac9cd MK |
1010 | { |
1011 | .type = TUNER_PARAM_TYPE_PAL, | |
1012 | .ranges = tuner_philips_fmd1216me_mk3_pal_ranges, | |
1013 | .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges), | |
ba8fc399 HV |
1014 | .has_tda9887 = 1, |
1015 | .port1_active = 1, | |
1016 | .port2_active = 1, | |
1017 | .port2_fm_high_sensitivity = 1, | |
1018 | .port2_invert_for_secam_lc = 1, | |
1019 | .port1_set_for_fm_mono = 1, | |
7b0ac9cd | 1020 | }, |
23a88108 MK |
1021 | { |
1022 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
1023 | .ranges = tuner_philips_fmd1216me_mk3_dvb_ranges, | |
1024 | .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_dvb_ranges), | |
1025 | .iffreq = 16 * 36.125, /*MHz*/ | |
1026 | }, | |
7b0ac9cd MK |
1027 | }; |
1028 | ||
953cafc0 DB |
1029 | static struct tuner_params tuner_philips_fmd1216mex_mk3_params[] = { |
1030 | { | |
1031 | .type = TUNER_PARAM_TYPE_PAL, | |
1032 | .ranges = tuner_philips_fmd1216me_mk3_pal_ranges, | |
1033 | .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges), | |
1034 | .has_tda9887 = 1, | |
1035 | .port1_active = 1, | |
1036 | .port2_active = 1, | |
1037 | .port2_fm_high_sensitivity = 1, | |
1038 | .port2_invert_for_secam_lc = 1, | |
1039 | .port1_set_for_fm_mono = 1, | |
1040 | .radio_if = 1, | |
1041 | .fm_gain_normal = 1, | |
1042 | }, | |
1043 | { | |
1044 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
1045 | .ranges = tuner_philips_fmd1216me_mk3_dvb_ranges, | |
1046 | .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_dvb_ranges), | |
1047 | .iffreq = 16 * 36.125, /*MHz*/ | |
1048 | }, | |
1049 | }; | |
7b0ac9cd | 1050 | |
9c26c8b1 | 1051 | /* ------ TUNER_LG_TDVS_H06XF - LG INNOTEK / INFINEON ATSC ----- */ |
7b0ac9cd MK |
1052 | |
1053 | static struct tuner_range tuner_tua6034_ntsc_ranges[] = { | |
dd31d5ac RS |
1054 | { 16 * 165.00 /*MHz*/, 0x8e, 0x01 }, |
1055 | { 16 * 450.00 /*MHz*/, 0x8e, 0x02 }, | |
3fc46d35 | 1056 | { 16 * 999.99 , 0x8e, 0x04 }, |
7b0ac9cd MK |
1057 | }; |
1058 | ||
bed6d189 MK |
1059 | static struct tuner_range tuner_tua6034_atsc_ranges[] = { |
1060 | { 16 * 165.00 /*MHz*/, 0xce, 0x01 }, | |
1061 | { 16 * 450.00 /*MHz*/, 0xce, 0x02 }, | |
1062 | { 16 * 999.99 , 0xce, 0x04 }, | |
1063 | }; | |
7b0ac9cd | 1064 | |
9c26c8b1 | 1065 | static struct tuner_params tuner_lg_tdvs_h06xf_params[] = { |
7b0ac9cd MK |
1066 | { |
1067 | .type = TUNER_PARAM_TYPE_NTSC, | |
1068 | .ranges = tuner_tua6034_ntsc_ranges, | |
1069 | .count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges), | |
7b0ac9cd | 1070 | }, |
bed6d189 MK |
1071 | { |
1072 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
1073 | .ranges = tuner_tua6034_atsc_ranges, | |
1074 | .count = ARRAY_SIZE(tuner_tua6034_atsc_ranges), | |
1075 | .iffreq = 16 * 44.00, | |
1076 | }, | |
7b0ac9cd MK |
1077 | }; |
1078 | ||
1079 | /* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */ | |
1080 | ||
c2d19233 HP |
1081 | static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = { |
1082 | { 16 * 160.25 /*MHz*/, 0x8e, 0x01, }, | |
1083 | { 16 * 464.25 /*MHz*/, 0x8e, 0x02, }, | |
1084 | { 16 * 999.99 , 0x8e, 0x08, }, | |
1085 | }; | |
1086 | ||
7b0ac9cd MK |
1087 | static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = { |
1088 | { | |
1089 | .type = TUNER_PARAM_TYPE_PAL, | |
c2d19233 HP |
1090 | .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges, |
1091 | .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges), | |
7b0ac9cd MK |
1092 | }, |
1093 | }; | |
1094 | ||
1095 | /* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */ | |
1096 | ||
f3629be8 | 1097 | static struct tuner_range tuner_lg_taln_ntsc_ranges[] = { |
3fc46d35 MK |
1098 | { 16 * 137.25 /*MHz*/, 0x8e, 0x01, }, |
1099 | { 16 * 373.25 /*MHz*/, 0x8e, 0x02, }, | |
1100 | { 16 * 999.99 , 0x8e, 0x08, }, | |
7b0ac9cd MK |
1101 | }; |
1102 | ||
f3629be8 MK |
1103 | static struct tuner_range tuner_lg_taln_pal_secam_ranges[] = { |
1104 | { 16 * 150.00 /*MHz*/, 0x8e, 0x01, }, | |
1105 | { 16 * 425.00 /*MHz*/, 0x8e, 0x02, }, | |
1106 | { 16 * 999.99 , 0x8e, 0x08, }, | |
1107 | }; | |
1108 | ||
1109 | static struct tuner_params tuner_lg_taln_params[] = { | |
7b0ac9cd MK |
1110 | { |
1111 | .type = TUNER_PARAM_TYPE_NTSC, | |
f3629be8 MK |
1112 | .ranges = tuner_lg_taln_ntsc_ranges, |
1113 | .count = ARRAY_SIZE(tuner_lg_taln_ntsc_ranges), | |
1114 | },{ | |
1115 | .type = TUNER_PARAM_TYPE_PAL, | |
1116 | .ranges = tuner_lg_taln_pal_secam_ranges, | |
1117 | .count = ARRAY_SIZE(tuner_lg_taln_pal_secam_ranges), | |
7b0ac9cd MK |
1118 | }, |
1119 | }; | |
1120 | ||
1121 | /* ------------ TUNER_PHILIPS_TD1316 - Philips PAL ------------ */ | |
1122 | ||
1123 | static struct tuner_range tuner_philips_td1316_pal_ranges[] = { | |
3fc46d35 MK |
1124 | { 16 * 160.00 /*MHz*/, 0xc8, 0xa1, }, |
1125 | { 16 * 442.00 /*MHz*/, 0xc8, 0xa2, }, | |
1126 | { 16 * 999.99 , 0xc8, 0xa4, }, | |
7b0ac9cd MK |
1127 | }; |
1128 | ||
0e5d383b MK |
1129 | static struct tuner_range tuner_philips_td1316_dvb_ranges[] = { |
1130 | { 16 * 93.834 /*MHz*/, 0xca, 0x60, }, | |
1131 | { 16 * 123.834 /*MHz*/, 0xca, 0xa0, }, | |
1132 | { 16 * 163.834 /*MHz*/, 0xca, 0xc0, }, | |
1133 | { 16 * 253.834 /*MHz*/, 0xca, 0x60, }, | |
1134 | { 16 * 383.834 /*MHz*/, 0xca, 0xa0, }, | |
1135 | { 16 * 443.834 /*MHz*/, 0xca, 0xc0, }, | |
1136 | { 16 * 583.834 /*MHz*/, 0xca, 0x60, }, | |
1137 | { 16 * 793.834 /*MHz*/, 0xca, 0xa0, }, | |
1138 | { 16 * 999.999 , 0xca, 0xe0, }, | |
1139 | }; | |
1140 | ||
7b0ac9cd MK |
1141 | static struct tuner_params tuner_philips_td1316_params[] = { |
1142 | { | |
1143 | .type = TUNER_PARAM_TYPE_PAL, | |
1144 | .ranges = tuner_philips_td1316_pal_ranges, | |
1145 | .count = ARRAY_SIZE(tuner_philips_td1316_pal_ranges), | |
7b0ac9cd | 1146 | }, |
0e5d383b MK |
1147 | { |
1148 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
1149 | .ranges = tuner_philips_td1316_dvb_ranges, | |
1150 | .count = ARRAY_SIZE(tuner_philips_td1316_dvb_ranges), | |
1151 | .iffreq = 16 * 36.166667 /*MHz*/, | |
1152 | }, | |
7b0ac9cd MK |
1153 | }; |
1154 | ||
1155 | /* ------------ TUNER_PHILIPS_TUV1236D - Philips ATSC ------------ */ | |
1156 | ||
1157 | static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = { | |
3fc46d35 MK |
1158 | { 16 * 157.25 /*MHz*/, 0xce, 0x01, }, |
1159 | { 16 * 454.00 /*MHz*/, 0xce, 0x02, }, | |
1160 | { 16 * 999.99 , 0xce, 0x04, }, | |
7b0ac9cd MK |
1161 | }; |
1162 | ||
dbe3127d MK |
1163 | static struct tuner_range tuner_tuv1236d_atsc_ranges[] = { |
1164 | { 16 * 157.25 /*MHz*/, 0xc6, 0x41, }, | |
1165 | { 16 * 454.00 /*MHz*/, 0xc6, 0x42, }, | |
1166 | { 16 * 999.99 , 0xc6, 0x44, }, | |
1167 | }; | |
7b0ac9cd | 1168 | |
cc925bbe | 1169 | static struct tuner_params tuner_tuv1236d_params[] = { |
7b0ac9cd MK |
1170 | { |
1171 | .type = TUNER_PARAM_TYPE_NTSC, | |
1172 | .ranges = tuner_tuv1236d_ntsc_ranges, | |
1173 | .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges), | |
7b0ac9cd | 1174 | }, |
dbe3127d MK |
1175 | { |
1176 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
1177 | .ranges = tuner_tuv1236d_atsc_ranges, | |
1178 | .count = ARRAY_SIZE(tuner_tuv1236d_atsc_ranges), | |
1179 | .iffreq = 16 * 44.00, | |
1180 | }, | |
7b0ac9cd MK |
1181 | }; |
1182 | ||
efcf55cb MCC |
1183 | /* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */ |
1184 | /* This is known to work with Tenna TVF58t5-MFF and TVF5835 MFF | |
1185 | * but it is expected to work also with other Tenna/Ymec | |
1186 | * models based on TI SN 761677 chip on both PAL and NTSC | |
1187 | */ | |
1188 | ||
1189 | static struct tuner_range tuner_tnf_5335_d_if_pal_ranges[] = { | |
1190 | { 16 * 168.25 /*MHz*/, 0x8e, 0x01, }, | |
7947a220 MCC |
1191 | { 16 * 471.25 /*MHz*/, 0x8e, 0x02, }, |
1192 | { 16 * 999.99 , 0x8e, 0x08, }, | |
efcf55cb | 1193 | }; |
7b0ac9cd MK |
1194 | |
1195 | static struct tuner_range tuner_tnf_5335mf_ntsc_ranges[] = { | |
efcf55cb MCC |
1196 | { 16 * 169.25 /*MHz*/, 0x8e, 0x01, }, |
1197 | { 16 * 469.25 /*MHz*/, 0x8e, 0x02, }, | |
1198 | { 16 * 999.99 , 0x8e, 0x08, }, | |
7b0ac9cd MK |
1199 | }; |
1200 | ||
1201 | static struct tuner_params tuner_tnf_5335mf_params[] = { | |
1202 | { | |
1203 | .type = TUNER_PARAM_TYPE_NTSC, | |
1204 | .ranges = tuner_tnf_5335mf_ntsc_ranges, | |
1205 | .count = ARRAY_SIZE(tuner_tnf_5335mf_ntsc_ranges), | |
7b0ac9cd | 1206 | }, |
efcf55cb MCC |
1207 | { |
1208 | .type = TUNER_PARAM_TYPE_PAL, | |
1209 | .ranges = tuner_tnf_5335_d_if_pal_ranges, | |
1210 | .count = ARRAY_SIZE(tuner_tnf_5335_d_if_pal_ranges), | |
1211 | }, | |
7b0ac9cd MK |
1212 | }; |
1213 | ||
b3d37042 HV |
1214 | /* 70-79 */ |
1215 | /* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */ | |
1216 | ||
43c560fa | 1217 | /* '+ 4' turns on the Low Noise Amplifier */ |
b3d37042 | 1218 | static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = { |
43c560fa HV |
1219 | { 16 * 130.00 /*MHz*/, 0xce, 0x01 + 4, }, |
1220 | { 16 * 364.50 /*MHz*/, 0xce, 0x02 + 4, }, | |
1221 | { 16 * 999.99 , 0xce, 0x08 + 4, }, | |
b3d37042 HV |
1222 | }; |
1223 | ||
1224 | static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = { | |
1225 | { | |
1226 | .type = TUNER_PARAM_TYPE_NTSC, | |
1227 | .ranges = tuner_samsung_tcpn_2121p30a_ntsc_ranges, | |
1228 | .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_ntsc_ranges), | |
b3d37042 HV |
1229 | }, |
1230 | }; | |
1231 | ||
91ae3299 | 1232 | /* ------------ TUNER_THOMSON_FE6600 - DViCO Hybrid PAL ------------ */ |
780dfef3 | 1233 | |
26cd8972 | 1234 | static struct tuner_range tuner_thomson_fe6600_pal_ranges[] = { |
780dfef3 CP |
1235 | { 16 * 160.00 /*MHz*/, 0xfe, 0x11, }, |
1236 | { 16 * 442.00 /*MHz*/, 0xf6, 0x12, }, | |
1237 | { 16 * 999.99 , 0xf6, 0x18, }, | |
1238 | }; | |
1239 | ||
26cd8972 MK |
1240 | static struct tuner_range tuner_thomson_fe6600_dvb_ranges[] = { |
1241 | { 16 * 250.00 /*MHz*/, 0xb4, 0x12, }, | |
1242 | { 16 * 455.00 /*MHz*/, 0xfe, 0x11, }, | |
1243 | { 16 * 775.50 /*MHz*/, 0xbc, 0x18, }, | |
1244 | { 16 * 999.99 , 0xf4, 0x18, }, | |
1245 | }; | |
1246 | ||
91ae3299 | 1247 | static struct tuner_params tuner_thomson_fe6600_params[] = { |
780dfef3 CP |
1248 | { |
1249 | .type = TUNER_PARAM_TYPE_PAL, | |
26cd8972 MK |
1250 | .ranges = tuner_thomson_fe6600_pal_ranges, |
1251 | .count = ARRAY_SIZE(tuner_thomson_fe6600_pal_ranges), | |
1252 | }, | |
1253 | { | |
1254 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
1255 | .ranges = tuner_thomson_fe6600_dvb_ranges, | |
1256 | .count = ARRAY_SIZE(tuner_thomson_fe6600_dvb_ranges), | |
1257 | .iffreq = 16 * 36.125 /*MHz*/, | |
780dfef3 CP |
1258 | }, |
1259 | }; | |
1260 | ||
c344933a HV |
1261 | /* ------------ TUNER_SAMSUNG_TCPG_6121P30A - Samsung PAL ------------ */ |
1262 | ||
43c560fa | 1263 | /* '+ 4' turns on the Low Noise Amplifier */ |
c344933a | 1264 | static struct tuner_range tuner_samsung_tcpg_6121p30a_pal_ranges[] = { |
43c560fa HV |
1265 | { 16 * 146.25 /*MHz*/, 0xce, 0x01 + 4, }, |
1266 | { 16 * 428.50 /*MHz*/, 0xce, 0x02 + 4, }, | |
1267 | { 16 * 999.99 , 0xce, 0x08 + 4, }, | |
c344933a HV |
1268 | }; |
1269 | ||
1270 | static struct tuner_params tuner_samsung_tcpg_6121p30a_params[] = { | |
1271 | { | |
1272 | .type = TUNER_PARAM_TYPE_PAL, | |
1273 | .ranges = tuner_samsung_tcpg_6121p30a_pal_ranges, | |
1274 | .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_pal_ranges), | |
ba8fc399 HV |
1275 | .has_tda9887 = 1, |
1276 | .port1_active = 1, | |
1277 | .port2_active = 1, | |
1278 | .port2_invert_for_secam_lc = 1, | |
c344933a HV |
1279 | }, |
1280 | }; | |
1281 | ||
8f2b7b70 MCC |
1282 | /* ------------ TUNER_TCL_MF02GIP-5N-E - TCL MF02GIP-5N ------------ */ |
1283 | ||
1284 | static struct tuner_range tuner_tcl_mf02gip_5n_ntsc_ranges[] = { | |
1285 | { 16 * 172.00 /*MHz*/, 0x8e, 0x01, }, | |
1286 | { 16 * 448.00 /*MHz*/, 0x8e, 0x02, }, | |
1287 | { 16 * 999.99 , 0x8e, 0x04, }, | |
1288 | }; | |
1289 | ||
1290 | static struct tuner_params tuner_tcl_mf02gip_5n_params[] = { | |
1291 | { | |
1292 | .type = TUNER_PARAM_TYPE_NTSC, | |
1293 | .ranges = tuner_tcl_mf02gip_5n_ntsc_ranges, | |
1294 | .count = ARRAY_SIZE(tuner_tcl_mf02gip_5n_ntsc_ranges), | |
1295 | .cb_first_if_lower_freq = 1, | |
1296 | }, | |
1297 | }; | |
1298 | ||
5ddc9b10 AW |
1299 | /* 80-89 */ |
1300 | /* --------- TUNER_PHILIPS_FQ1216LME_MK3 -- active loopthrough, no FM ------- */ | |
1301 | ||
1302 | static struct tuner_params tuner_fq1216lme_mk3_params[] = { | |
1303 | { | |
1304 | .type = TUNER_PARAM_TYPE_PAL, | |
1305 | .ranges = tuner_fm1216me_mk3_pal_ranges, | |
1306 | .count = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges), | |
1307 | .cb_first_if_lower_freq = 1, /* not specified, but safe to do */ | |
1308 | .has_tda9887 = 1, /* TDA9886 */ | |
1309 | .port1_active = 1, | |
1310 | .port2_active = 1, | |
1311 | .port2_invert_for_secam_lc = 1, | |
1312 | .default_top_low = 4, | |
1313 | .default_top_mid = 4, | |
1314 | .default_top_high = 4, | |
1315 | .default_top_secam_low = 4, | |
1316 | .default_top_secam_mid = 4, | |
1317 | .default_top_secam_high = 4, | |
1318 | }, | |
1319 | }; | |
1320 | ||
e3e1920b AW |
1321 | /* ----- TUNER_PARTSNIC_PTI_5NF05 - Partsnic (Daewoo) PTI-5NF05 NTSC ----- */ |
1322 | ||
1323 | static struct tuner_range tuner_partsnic_pti_5nf05_ranges[] = { | |
1324 | /* The datasheet specified channel ranges and the bandswitch byte */ | |
1325 | /* The control byte value of 0x8e is just a guess */ | |
1326 | { 16 * 133.25 /*MHz*/, 0x8e, 0x01, }, /* Channels 2 - B */ | |
1327 | { 16 * 367.25 /*MHz*/, 0x8e, 0x02, }, /* Channels C - W+11 */ | |
1328 | { 16 * 999.99 , 0x8e, 0x08, }, /* Channels W+12 - 69 */ | |
1329 | }; | |
1330 | ||
1331 | static struct tuner_params tuner_partsnic_pti_5nf05_params[] = { | |
1332 | { | |
1333 | .type = TUNER_PARAM_TYPE_NTSC, | |
1334 | .ranges = tuner_partsnic_pti_5nf05_ranges, | |
1335 | .count = ARRAY_SIZE(tuner_partsnic_pti_5nf05_ranges), | |
1336 | .cb_first_if_lower_freq = 1, /* not specified but safe to do */ | |
1337 | }, | |
1338 | }; | |
1339 | ||
e558170a AP |
1340 | /* --------- TUNER_PHILIPS_CU1216L - DVB-C NIM ------------------------- */ |
1341 | ||
1342 | static struct tuner_range tuner_cu1216l_ranges[] = { | |
1343 | { 16 * 160.25 /*MHz*/, 0xce, 0x01 }, | |
1344 | { 16 * 444.25 /*MHz*/, 0xce, 0x02 }, | |
1345 | { 16 * 999.99 , 0xce, 0x04 }, | |
1346 | }; | |
1347 | ||
1348 | static struct tuner_params tuner_philips_cu1216l_params[] = { | |
1349 | { | |
1350 | .type = TUNER_PARAM_TYPE_DIGITAL, | |
1351 | .ranges = tuner_cu1216l_ranges, | |
1352 | .count = ARRAY_SIZE(tuner_cu1216l_ranges), | |
1353 | .iffreq = 16 * 36.125, /*MHz*/ | |
1354 | }, | |
1355 | }; | |
1356 | ||
dbb9de9b AW |
1357 | /* ---------------------- TUNER_SONY_BTF_PXN01Z ------------------------ */ |
1358 | ||
1359 | static struct tuner_range tuner_sony_btf_pxn01z_ranges[] = { | |
1360 | { 16 * 137.25 /*MHz*/, 0x8e, 0x01, }, | |
1361 | { 16 * 367.25 /*MHz*/, 0x8e, 0x02, }, | |
1362 | { 16 * 999.99 , 0x8e, 0x04, }, | |
1363 | }; | |
1364 | ||
1365 | static struct tuner_params tuner_sony_btf_pxn01z_params[] = { | |
1366 | { | |
1367 | .type = TUNER_PARAM_TYPE_NTSC, | |
1368 | .ranges = tuner_sony_btf_pxn01z_ranges, | |
1369 | .count = ARRAY_SIZE(tuner_sony_btf_pxn01z_ranges), | |
1370 | }, | |
1371 | }; | |
1372 | ||
095c2471 AW |
1373 | /* ------------ TUNER_PHILIPS_FQ1236_MK5 - Philips NTSC ------------ */ |
1374 | ||
1375 | static struct tuner_params tuner_philips_fq1236_mk5_params[] = { | |
1376 | { | |
1377 | .type = TUNER_PARAM_TYPE_NTSC, | |
1378 | .ranges = tuner_fm1236_mk3_ntsc_ranges, | |
1379 | .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges), | |
1380 | .has_tda9887 = 1, /* TDA9885, no FM radio */ | |
1381 | }, | |
1382 | }; | |
1383 | ||
7b0ac9cd MK |
1384 | /* --------------------------------------------------------------------- */ |
1385 | ||
1386 | struct tunertype tuners[] = { | |
1387 | /* 0-9 */ | |
1388 | [TUNER_TEMIC_PAL] = { /* TEMIC PAL */ | |
1389 | .name = "Temic PAL (4002 FH5)", | |
1390 | .params = tuner_temic_pal_params, | |
bbab6fd8 | 1391 | .count = ARRAY_SIZE(tuner_temic_pal_params), |
7b0ac9cd MK |
1392 | }, |
1393 | [TUNER_PHILIPS_PAL_I] = { /* Philips PAL_I */ | |
1394 | .name = "Philips PAL_I (FI1246 and compatibles)", | |
1395 | .params = tuner_philips_pal_i_params, | |
bbab6fd8 | 1396 | .count = ARRAY_SIZE(tuner_philips_pal_i_params), |
7b0ac9cd MK |
1397 | }, |
1398 | [TUNER_PHILIPS_NTSC] = { /* Philips NTSC */ | |
1399 | .name = "Philips NTSC (FI1236,FM1236 and compatibles)", | |
1400 | .params = tuner_philips_ntsc_params, | |
bbab6fd8 | 1401 | .count = ARRAY_SIZE(tuner_philips_ntsc_params), |
7b0ac9cd MK |
1402 | }, |
1403 | [TUNER_PHILIPS_SECAM] = { /* Philips SECAM */ | |
1404 | .name = "Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)", | |
1405 | .params = tuner_philips_secam_params, | |
bbab6fd8 | 1406 | .count = ARRAY_SIZE(tuner_philips_secam_params), |
7b0ac9cd MK |
1407 | }, |
1408 | [TUNER_ABSENT] = { /* Tuner Absent */ | |
1409 | .name = "NoTuner", | |
1410 | }, | |
1411 | [TUNER_PHILIPS_PAL] = { /* Philips PAL */ | |
1412 | .name = "Philips PAL_BG (FI1216 and compatibles)", | |
1413 | .params = tuner_philips_pal_params, | |
bbab6fd8 | 1414 | .count = ARRAY_SIZE(tuner_philips_pal_params), |
7b0ac9cd MK |
1415 | }, |
1416 | [TUNER_TEMIC_NTSC] = { /* TEMIC NTSC */ | |
1417 | .name = "Temic NTSC (4032 FY5)", | |
1418 | .params = tuner_temic_ntsc_params, | |
bbab6fd8 | 1419 | .count = ARRAY_SIZE(tuner_temic_ntsc_params), |
7b0ac9cd MK |
1420 | }, |
1421 | [TUNER_TEMIC_PAL_I] = { /* TEMIC PAL_I */ | |
1422 | .name = "Temic PAL_I (4062 FY5)", | |
1423 | .params = tuner_temic_pal_i_params, | |
bbab6fd8 | 1424 | .count = ARRAY_SIZE(tuner_temic_pal_i_params), |
7b0ac9cd MK |
1425 | }, |
1426 | [TUNER_TEMIC_4036FY5_NTSC] = { /* TEMIC NTSC */ | |
1427 | .name = "Temic NTSC (4036 FY5)", | |
1428 | .params = tuner_temic_4036fy5_ntsc_params, | |
bbab6fd8 | 1429 | .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_params), |
7b0ac9cd MK |
1430 | }, |
1431 | [TUNER_ALPS_TSBH1_NTSC] = { /* TEMIC NTSC */ | |
1432 | .name = "Alps HSBH1", | |
1433 | .params = tuner_alps_tsbh1_ntsc_params, | |
bbab6fd8 | 1434 | .count = ARRAY_SIZE(tuner_alps_tsbh1_ntsc_params), |
7b0ac9cd MK |
1435 | }, |
1436 | ||
1437 | /* 10-19 */ | |
1438 | [TUNER_ALPS_TSBE1_PAL] = { /* TEMIC PAL */ | |
1439 | .name = "Alps TSBE1", | |
1440 | .params = tuner_alps_tsb_1_params, | |
bbab6fd8 | 1441 | .count = ARRAY_SIZE(tuner_alps_tsb_1_params), |
7b0ac9cd MK |
1442 | }, |
1443 | [TUNER_ALPS_TSBB5_PAL_I] = { /* Alps PAL_I */ | |
1444 | .name = "Alps TSBB5", | |
1445 | .params = tuner_alps_tsbb5_params, | |
bbab6fd8 | 1446 | .count = ARRAY_SIZE(tuner_alps_tsbb5_params), |
7b0ac9cd MK |
1447 | }, |
1448 | [TUNER_ALPS_TSBE5_PAL] = { /* Alps PAL */ | |
1449 | .name = "Alps TSBE5", | |
1450 | .params = tuner_alps_tsbe5_params, | |
bbab6fd8 | 1451 | .count = ARRAY_SIZE(tuner_alps_tsbe5_params), |
7b0ac9cd MK |
1452 | }, |
1453 | [TUNER_ALPS_TSBC5_PAL] = { /* Alps PAL */ | |
1454 | .name = "Alps TSBC5", | |
1455 | .params = tuner_alps_tsbc5_params, | |
bbab6fd8 | 1456 | .count = ARRAY_SIZE(tuner_alps_tsbc5_params), |
7b0ac9cd MK |
1457 | }, |
1458 | [TUNER_TEMIC_4006FH5_PAL] = { /* TEMIC PAL */ | |
1459 | .name = "Temic PAL_BG (4006FH5)", | |
1460 | .params = tuner_temic_4006fh5_params, | |
bbab6fd8 | 1461 | .count = ARRAY_SIZE(tuner_temic_4006fh5_params), |
7b0ac9cd MK |
1462 | }, |
1463 | [TUNER_ALPS_TSHC6_NTSC] = { /* Alps NTSC */ | |
1464 | .name = "Alps TSCH6", | |
1465 | .params = tuner_alps_tshc6_params, | |
bbab6fd8 | 1466 | .count = ARRAY_SIZE(tuner_alps_tshc6_params), |
7b0ac9cd MK |
1467 | }, |
1468 | [TUNER_TEMIC_PAL_DK] = { /* TEMIC PAL */ | |
1469 | .name = "Temic PAL_DK (4016 FY5)", | |
1470 | .params = tuner_temic_pal_dk_params, | |
bbab6fd8 | 1471 | .count = ARRAY_SIZE(tuner_temic_pal_dk_params), |
7b0ac9cd MK |
1472 | }, |
1473 | [TUNER_PHILIPS_NTSC_M] = { /* Philips NTSC */ | |
1474 | .name = "Philips NTSC_M (MK2)", | |
1475 | .params = tuner_philips_ntsc_m_params, | |
bbab6fd8 | 1476 | .count = ARRAY_SIZE(tuner_philips_ntsc_m_params), |
7b0ac9cd MK |
1477 | }, |
1478 | [TUNER_TEMIC_4066FY5_PAL_I] = { /* TEMIC PAL_I */ | |
1479 | .name = "Temic PAL_I (4066 FY5)", | |
1480 | .params = tuner_temic_4066fy5_pal_i_params, | |
bbab6fd8 | 1481 | .count = ARRAY_SIZE(tuner_temic_4066fy5_pal_i_params), |
7b0ac9cd MK |
1482 | }, |
1483 | [TUNER_TEMIC_4006FN5_MULTI_PAL] = { /* TEMIC PAL */ | |
1484 | .name = "Temic PAL* auto (4006 FN5)", | |
1485 | .params = tuner_temic_4006fn5_multi_params, | |
bbab6fd8 | 1486 | .count = ARRAY_SIZE(tuner_temic_4006fn5_multi_params), |
7b0ac9cd MK |
1487 | }, |
1488 | ||
1489 | /* 20-29 */ | |
1490 | [TUNER_TEMIC_4009FR5_PAL] = { /* TEMIC PAL */ | |
1491 | .name = "Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)", | |
1492 | .params = tuner_temic_4009f_5_params, | |
bbab6fd8 | 1493 | .count = ARRAY_SIZE(tuner_temic_4009f_5_params), |
7b0ac9cd MK |
1494 | }, |
1495 | [TUNER_TEMIC_4039FR5_NTSC] = { /* TEMIC NTSC */ | |
1496 | .name = "Temic NTSC (4039 FR5)", | |
1497 | .params = tuner_temic_4039fr5_params, | |
bbab6fd8 | 1498 | .count = ARRAY_SIZE(tuner_temic_4039fr5_params), |
7b0ac9cd MK |
1499 | }, |
1500 | [TUNER_TEMIC_4046FM5] = { /* TEMIC PAL */ | |
1501 | .name = "Temic PAL/SECAM multi (4046 FM5)", | |
1502 | .params = tuner_temic_4046fm5_params, | |
bbab6fd8 | 1503 | .count = ARRAY_SIZE(tuner_temic_4046fm5_params), |
7b0ac9cd MK |
1504 | }, |
1505 | [TUNER_PHILIPS_PAL_DK] = { /* Philips PAL */ | |
1506 | .name = "Philips PAL_DK (FI1256 and compatibles)", | |
1507 | .params = tuner_philips_pal_dk_params, | |
bbab6fd8 | 1508 | .count = ARRAY_SIZE(tuner_philips_pal_dk_params), |
7b0ac9cd MK |
1509 | }, |
1510 | [TUNER_PHILIPS_FQ1216ME] = { /* Philips PAL */ | |
1511 | .name = "Philips PAL/SECAM multi (FQ1216ME)", | |
1512 | .params = tuner_philips_fq1216me_params, | |
bbab6fd8 | 1513 | .count = ARRAY_SIZE(tuner_philips_fq1216me_params), |
7b0ac9cd MK |
1514 | }, |
1515 | [TUNER_LG_PAL_I_FM] = { /* LGINNOTEK PAL_I */ | |
1516 | .name = "LG PAL_I+FM (TAPC-I001D)", | |
1517 | .params = tuner_lg_pal_i_fm_params, | |
bbab6fd8 | 1518 | .count = ARRAY_SIZE(tuner_lg_pal_i_fm_params), |
7b0ac9cd MK |
1519 | }, |
1520 | [TUNER_LG_PAL_I] = { /* LGINNOTEK PAL_I */ | |
1521 | .name = "LG PAL_I (TAPC-I701D)", | |
1522 | .params = tuner_lg_pal_i_params, | |
bbab6fd8 | 1523 | .count = ARRAY_SIZE(tuner_lg_pal_i_params), |
7b0ac9cd MK |
1524 | }, |
1525 | [TUNER_LG_NTSC_FM] = { /* LGINNOTEK NTSC */ | |
1526 | .name = "LG NTSC+FM (TPI8NSR01F)", | |
1527 | .params = tuner_lg_ntsc_fm_params, | |
bbab6fd8 | 1528 | .count = ARRAY_SIZE(tuner_lg_ntsc_fm_params), |
7b0ac9cd MK |
1529 | }, |
1530 | [TUNER_LG_PAL_FM] = { /* LGINNOTEK PAL */ | |
1531 | .name = "LG PAL_BG+FM (TPI8PSB01D)", | |
1532 | .params = tuner_lg_pal_fm_params, | |
bbab6fd8 | 1533 | .count = ARRAY_SIZE(tuner_lg_pal_fm_params), |
7b0ac9cd MK |
1534 | }, |
1535 | [TUNER_LG_PAL] = { /* LGINNOTEK PAL */ | |
1536 | .name = "LG PAL_BG (TPI8PSB11D)", | |
1537 | .params = tuner_lg_pal_params, | |
bbab6fd8 | 1538 | .count = ARRAY_SIZE(tuner_lg_pal_params), |
7b0ac9cd MK |
1539 | }, |
1540 | ||
1541 | /* 30-39 */ | |
1542 | [TUNER_TEMIC_4009FN5_MULTI_PAL_FM] = { /* TEMIC PAL */ | |
1543 | .name = "Temic PAL* auto + FM (4009 FN5)", | |
1544 | .params = tuner_temic_4009_fn5_multi_pal_fm_params, | |
bbab6fd8 | 1545 | .count = ARRAY_SIZE(tuner_temic_4009_fn5_multi_pal_fm_params), |
7b0ac9cd MK |
1546 | }, |
1547 | [TUNER_SHARP_2U5JF5540_NTSC] = { /* SHARP NTSC */ | |
1548 | .name = "SHARP NTSC_JP (2U5JF5540)", | |
1549 | .params = tuner_sharp_2u5jf5540_params, | |
bbab6fd8 | 1550 | .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_params), |
7b0ac9cd MK |
1551 | }, |
1552 | [TUNER_Samsung_PAL_TCPM9091PD27] = { /* Samsung PAL */ | |
1553 | .name = "Samsung PAL TCPM9091PD27", | |
1554 | .params = tuner_samsung_pal_tcpm9091pd27_params, | |
bbab6fd8 | 1555 | .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_params), |
7b0ac9cd MK |
1556 | }, |
1557 | [TUNER_MT2032] = { /* Microtune PAL|NTSC */ | |
1558 | .name = "MT20xx universal", | |
1559 | /* see mt20xx.c for details */ }, | |
1560 | [TUNER_TEMIC_4106FH5] = { /* TEMIC PAL */ | |
1561 | .name = "Temic PAL_BG (4106 FH5)", | |
1562 | .params = tuner_temic_4106fh5_params, | |
bbab6fd8 | 1563 | .count = ARRAY_SIZE(tuner_temic_4106fh5_params), |
7b0ac9cd MK |
1564 | }, |
1565 | [TUNER_TEMIC_4012FY5] = { /* TEMIC PAL */ | |
1566 | .name = "Temic PAL_DK/SECAM_L (4012 FY5)", | |
1567 | .params = tuner_temic_4012fy5_params, | |
bbab6fd8 | 1568 | .count = ARRAY_SIZE(tuner_temic_4012fy5_params), |
7b0ac9cd MK |
1569 | }, |
1570 | [TUNER_TEMIC_4136FY5] = { /* TEMIC NTSC */ | |
1571 | .name = "Temic NTSC (4136 FY5)", | |
1572 | .params = tuner_temic_4136_fy5_params, | |
bbab6fd8 | 1573 | .count = ARRAY_SIZE(tuner_temic_4136_fy5_params), |
7b0ac9cd MK |
1574 | }, |
1575 | [TUNER_LG_PAL_NEW_TAPC] = { /* LGINNOTEK PAL */ | |
1576 | .name = "LG PAL (newer TAPC series)", | |
1577 | .params = tuner_lg_pal_new_tapc_params, | |
bbab6fd8 | 1578 | .count = ARRAY_SIZE(tuner_lg_pal_new_tapc_params), |
7b0ac9cd MK |
1579 | }, |
1580 | [TUNER_PHILIPS_FM1216ME_MK3] = { /* Philips PAL */ | |
1581 | .name = "Philips PAL/SECAM multi (FM1216ME MK3)", | |
1582 | .params = tuner_fm1216me_mk3_params, | |
bbab6fd8 | 1583 | .count = ARRAY_SIZE(tuner_fm1216me_mk3_params), |
7b0ac9cd MK |
1584 | }, |
1585 | [TUNER_LG_NTSC_NEW_TAPC] = { /* LGINNOTEK NTSC */ | |
1586 | .name = "LG NTSC (newer TAPC series)", | |
1587 | .params = tuner_lg_ntsc_new_tapc_params, | |
bbab6fd8 | 1588 | .count = ARRAY_SIZE(tuner_lg_ntsc_new_tapc_params), |
7b0ac9cd MK |
1589 | }, |
1590 | ||
1591 | /* 40-49 */ | |
1592 | [TUNER_HITACHI_NTSC] = { /* HITACHI NTSC */ | |
1593 | .name = "HITACHI V7-J180AT", | |
1594 | .params = tuner_hitachi_ntsc_params, | |
bbab6fd8 | 1595 | .count = ARRAY_SIZE(tuner_hitachi_ntsc_params), |
7b0ac9cd MK |
1596 | }, |
1597 | [TUNER_PHILIPS_PAL_MK] = { /* Philips PAL */ | |
1598 | .name = "Philips PAL_MK (FI1216 MK)", | |
1599 | .params = tuner_philips_pal_mk_params, | |
bbab6fd8 | 1600 | .count = ARRAY_SIZE(tuner_philips_pal_mk_params), |
7b0ac9cd | 1601 | }, |
ab8b870e | 1602 | [TUNER_PHILIPS_FCV1236D] = { /* Philips ATSC */ |
b8273636 MK |
1603 | .name = "Philips FCV1236D ATSC/NTSC dual in", |
1604 | .params = tuner_philips_fcv1236d_params, | |
1605 | .count = ARRAY_SIZE(tuner_philips_fcv1236d_params), | |
f4173d0f MK |
1606 | .min = 16 * 53.00, |
1607 | .max = 16 * 803.00, | |
1608 | .stepsize = 62500, | |
7b0ac9cd MK |
1609 | }, |
1610 | [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */ | |
1611 | .name = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)", | |
1612 | .params = tuner_fm1236_mk3_params, | |
bbab6fd8 | 1613 | .count = ARRAY_SIZE(tuner_fm1236_mk3_params), |
7b0ac9cd MK |
1614 | }, |
1615 | [TUNER_PHILIPS_4IN1] = { /* Philips NTSC */ | |
1616 | .name = "Philips 4 in 1 (ATI TV Wonder Pro/Conexant)", | |
1617 | .params = tuner_philips_4in1_params, | |
bbab6fd8 | 1618 | .count = ARRAY_SIZE(tuner_philips_4in1_params), |
7b0ac9cd MK |
1619 | }, |
1620 | [TUNER_MICROTUNE_4049FM5] = { /* Microtune PAL */ | |
1621 | .name = "Microtune 4049 FM5", | |
1622 | .params = tuner_microtune_4049_fm5_params, | |
bbab6fd8 | 1623 | .count = ARRAY_SIZE(tuner_microtune_4049_fm5_params), |
7b0ac9cd MK |
1624 | }, |
1625 | [TUNER_PANASONIC_VP27] = { /* Panasonic NTSC */ | |
1626 | .name = "Panasonic VP27s/ENGE4324D", | |
1627 | .params = tuner_panasonic_vp27_params, | |
bbab6fd8 | 1628 | .count = ARRAY_SIZE(tuner_panasonic_vp27_params), |
7b0ac9cd MK |
1629 | }, |
1630 | [TUNER_LG_NTSC_TAPE] = { /* LGINNOTEK NTSC */ | |
1631 | .name = "LG NTSC (TAPE series)", | |
122b5dbe HV |
1632 | .params = tuner_fm1236_mk3_params, |
1633 | .count = ARRAY_SIZE(tuner_fm1236_mk3_params), | |
7b0ac9cd MK |
1634 | }, |
1635 | [TUNER_TNF_8831BGFF] = { /* Philips PAL */ | |
1636 | .name = "Tenna TNF 8831 BGFF)", | |
1637 | .params = tuner_tnf_8831bgff_params, | |
bbab6fd8 | 1638 | .count = ARRAY_SIZE(tuner_tnf_8831bgff_params), |
7b0ac9cd MK |
1639 | }, |
1640 | [TUNER_MICROTUNE_4042FI5] = { /* Microtune NTSC */ | |
1641 | .name = "Microtune 4042 FI5 ATSC/NTSC dual in", | |
1642 | .params = tuner_microtune_4042fi5_params, | |
bbab6fd8 | 1643 | .count = ARRAY_SIZE(tuner_microtune_4042fi5_params), |
a33b42c6 MK |
1644 | .min = 16 * 57.00, |
1645 | .max = 16 * 858.00, | |
1646 | .stepsize = 62500, | |
7b0ac9cd MK |
1647 | }, |
1648 | ||
1649 | /* 50-59 */ | |
1650 | [TUNER_TCL_2002N] = { /* TCL NTSC */ | |
1651 | .name = "TCL 2002N", | |
1652 | .params = tuner_tcl_2002n_params, | |
bbab6fd8 | 1653 | .count = ARRAY_SIZE(tuner_tcl_2002n_params), |
7b0ac9cd MK |
1654 | }, |
1655 | [TUNER_PHILIPS_FM1256_IH3] = { /* Philips PAL */ | |
1656 | .name = "Philips PAL/SECAM_D (FM 1256 I-H3)", | |
1657 | .params = tuner_philips_fm1256_ih3_params, | |
bbab6fd8 | 1658 | .count = ARRAY_SIZE(tuner_philips_fm1256_ih3_params), |
7b0ac9cd MK |
1659 | }, |
1660 | [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */ | |
1661 | .name = "Thomson DTT 7610 (ATSC/NTSC)", | |
1662 | .params = tuner_thomson_dtt7610_params, | |
bbab6fd8 | 1663 | .count = ARRAY_SIZE(tuner_thomson_dtt7610_params), |
0db5fd4b MK |
1664 | .min = 16 * 44.00, |
1665 | .max = 16 * 958.00, | |
1666 | .stepsize = 62500, | |
7b0ac9cd MK |
1667 | }, |
1668 | [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */ | |
1669 | .name = "Philips FQ1286", | |
1670 | .params = tuner_philips_fq1286_params, | |
bbab6fd8 | 1671 | .count = ARRAY_SIZE(tuner_philips_fq1286_params), |
7b0ac9cd MK |
1672 | }, |
1673 | [TUNER_PHILIPS_TDA8290] = { /* Philips PAL|NTSC */ | |
0b5f4a12 | 1674 | .name = "Philips/NXP TDA 8290/8295 + 8275/8275A/18271", |
7b0ac9cd MK |
1675 | /* see tda8290.c for details */ }, |
1676 | [TUNER_TCL_2002MB] = { /* TCL PAL */ | |
1677 | .name = "TCL 2002MB", | |
1678 | .params = tuner_tcl_2002mb_params, | |
bbab6fd8 | 1679 | .count = ARRAY_SIZE(tuner_tcl_2002mb_params), |
7b0ac9cd MK |
1680 | }, |
1681 | [TUNER_PHILIPS_FQ1216AME_MK4] = { /* Philips PAL */ | |
1682 | .name = "Philips PAL/SECAM multi (FQ1216AME MK4)", | |
1683 | .params = tuner_philips_fq1216ame_mk4_params, | |
bbab6fd8 | 1684 | .count = ARRAY_SIZE(tuner_philips_fq1216ame_mk4_params), |
7b0ac9cd MK |
1685 | }, |
1686 | [TUNER_PHILIPS_FQ1236A_MK4] = { /* Philips NTSC */ | |
1687 | .name = "Philips FQ1236A MK4", | |
1688 | .params = tuner_philips_fq1236a_mk4_params, | |
bbab6fd8 | 1689 | .count = ARRAY_SIZE(tuner_philips_fq1236a_mk4_params), |
7b0ac9cd MK |
1690 | }, |
1691 | [TUNER_YMEC_TVF_8531MF] = { /* Philips NTSC */ | |
1692 | .name = "Ymec TVision TVF-8531MF/8831MF/8731MF", | |
1693 | .params = tuner_ymec_tvf_8531mf_params, | |
bbab6fd8 | 1694 | .count = ARRAY_SIZE(tuner_ymec_tvf_8531mf_params), |
7b0ac9cd MK |
1695 | }, |
1696 | [TUNER_YMEC_TVF_5533MF] = { /* Philips NTSC */ | |
1697 | .name = "Ymec TVision TVF-5533MF", | |
1698 | .params = tuner_ymec_tvf_5533mf_params, | |
bbab6fd8 | 1699 | .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_params), |
7b0ac9cd MK |
1700 | }, |
1701 | ||
1702 | /* 60-69 */ | |
1703 | [TUNER_THOMSON_DTT761X] = { /* THOMSON ATSC */ | |
1704 | /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */ | |
1705 | .name = "Thomson DTT 761X (ATSC/NTSC)", | |
1706 | .params = tuner_thomson_dtt761x_params, | |
bbab6fd8 | 1707 | .count = ARRAY_SIZE(tuner_thomson_dtt761x_params), |
22ef8fc9 MK |
1708 | .min = 16 * 57.00, |
1709 | .max = 16 * 863.00, | |
1710 | .stepsize = 62500, | |
6f4a5729 | 1711 | .initdata = tua603x_agc103, |
7b0ac9cd MK |
1712 | }, |
1713 | [TUNER_TENA_9533_DI] = { /* Philips PAL */ | |
1714 | .name = "Tena TNF9533-D/IF/TNF9533-B/DF", | |
1715 | .params = tuner_tena_9533_di_params, | |
bbab6fd8 | 1716 | .count = ARRAY_SIZE(tuner_tena_9533_di_params), |
7b0ac9cd MK |
1717 | }, |
1718 | [TUNER_TEA5767] = { /* Philips RADIO */ | |
1719 | .name = "Philips TEA5767HN FM Radio", | |
1720 | /* see tea5767.c for details */ | |
1721 | }, | |
1722 | [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */ | |
1723 | .name = "Philips FMD1216ME MK3 Hybrid Tuner", | |
cc925bbe | 1724 | .params = tuner_philips_fmd1216me_mk3_params, |
bbab6fd8 | 1725 | .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_params), |
23a88108 MK |
1726 | .min = 16 * 50.87, |
1727 | .max = 16 * 858.00, | |
1728 | .stepsize = 166667, | |
6f4a5729 MK |
1729 | .initdata = tua603x_agc112, |
1730 | .sleepdata = (u8[]){ 4, 0x9c, 0x60, 0x85, 0x54 }, | |
7b0ac9cd | 1731 | }, |
9c26c8b1 | 1732 | [TUNER_LG_TDVS_H06XF] = { /* LGINNOTEK ATSC */ |
d9e12f25 | 1733 | .name = "LG TDVS-H06xF", /* H061F, H062F & H064F */ |
9c26c8b1 MK |
1734 | .params = tuner_lg_tdvs_h06xf_params, |
1735 | .count = ARRAY_SIZE(tuner_lg_tdvs_h06xf_params), | |
bed6d189 MK |
1736 | .min = 16 * 54.00, |
1737 | .max = 16 * 863.00, | |
1738 | .stepsize = 62500, | |
6f4a5729 | 1739 | .initdata = tua603x_agc103, |
7b0ac9cd MK |
1740 | }, |
1741 | [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */ | |
1742 | .name = "Ymec TVF66T5-B/DFF", | |
1743 | .params = tuner_ymec_tvf66t5_b_dff_params, | |
bbab6fd8 | 1744 | .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params), |
7b0ac9cd | 1745 | }, |
f3629be8 MK |
1746 | [TUNER_LG_TALN] = { /* LGINNOTEK NTSC / PAL / SECAM */ |
1747 | .name = "LG TALN series", | |
1748 | .params = tuner_lg_taln_params, | |
1749 | .count = ARRAY_SIZE(tuner_lg_taln_params), | |
7b0ac9cd MK |
1750 | }, |
1751 | [TUNER_PHILIPS_TD1316] = { /* Philips PAL */ | |
1752 | .name = "Philips TD1316 Hybrid Tuner", | |
1753 | .params = tuner_philips_td1316_params, | |
bbab6fd8 | 1754 | .count = ARRAY_SIZE(tuner_philips_td1316_params), |
0e5d383b MK |
1755 | .min = 16 * 87.00, |
1756 | .max = 16 * 895.00, | |
1757 | .stepsize = 166667, | |
7b0ac9cd MK |
1758 | }, |
1759 | [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */ | |
1760 | .name = "Philips TUV1236D ATSC/NTSC dual in", | |
cc925bbe | 1761 | .params = tuner_tuv1236d_params, |
bbab6fd8 | 1762 | .count = ARRAY_SIZE(tuner_tuv1236d_params), |
dbe3127d MK |
1763 | .min = 16 * 54.00, |
1764 | .max = 16 * 864.00, | |
1765 | .stepsize = 62500, | |
7b0ac9cd | 1766 | }, |
efcf55cb MCC |
1767 | [TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */ |
1768 | .name = "Tena TNF 5335 and similar models", | |
7b0ac9cd | 1769 | .params = tuner_tnf_5335mf_params, |
bbab6fd8 | 1770 | .count = ARRAY_SIZE(tuner_tnf_5335mf_params), |
7b0ac9cd | 1771 | }, |
b3d37042 HV |
1772 | |
1773 | /* 70-79 */ | |
1774 | [TUNER_SAMSUNG_TCPN_2121P30A] = { /* Samsung NTSC */ | |
1775 | .name = "Samsung TCPN 2121P30A", | |
1776 | .params = tuner_samsung_tcpn_2121p30a_params, | |
bbab6fd8 | 1777 | .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_params), |
b3d37042 | 1778 | }, |
12466577 MCC |
1779 | [TUNER_XC2028] = { /* Xceive 2028 */ |
1780 | .name = "Xceive xc2028/xc3028 tuner", | |
1781 | /* see tuner-xc2028.c for details */ | |
0004fd59 | 1782 | }, |
91ae3299 MK |
1783 | [TUNER_THOMSON_FE6600] = { /* Thomson PAL / DVB-T */ |
1784 | .name = "Thomson FE6600", | |
1785 | .params = tuner_thomson_fe6600_params, | |
b1b168e6 | 1786 | .count = ARRAY_SIZE(tuner_thomson_fe6600_params), |
26cd8972 MK |
1787 | .min = 16 * 44.25, |
1788 | .max = 16 * 858.00, | |
1789 | .stepsize = 166667, | |
780dfef3 | 1790 | }, |
c344933a HV |
1791 | [TUNER_SAMSUNG_TCPG_6121P30A] = { /* Samsung PAL */ |
1792 | .name = "Samsung TCPG 6121P30A", | |
1793 | .params = tuner_samsung_tcpg_6121p30a_params, | |
1794 | .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_params), | |
1795 | }, | |
15396236 MCC |
1796 | [TUNER_TDA9887] = { /* Philips TDA 9887 IF PLL Demodulator. |
1797 | This chip is part of some modern tuners */ | |
1798 | .name = "Philips TDA988[5,6,7] IF PLL Demodulator", | |
1799 | /* see tda9887.c for details */ | |
1800 | }, | |
8573a9e6 MCC |
1801 | [TUNER_TEA5761] = { /* Philips RADIO */ |
1802 | .name = "Philips TEA5761 FM Radio", | |
1803 | /* see tea5767.c for details */ | |
1804 | }, | |
27c685a4 ST |
1805 | [TUNER_XC5000] = { /* Xceive 5000 */ |
1806 | .name = "Xceive 5000 tuner", | |
1807 | /* see xc5000.c for details */ | |
1808 | }, | |
8d009a0c DF |
1809 | [TUNER_XC4000] = { /* Xceive 4000 */ |
1810 | .name = "Xceive 4000 tuner", | |
1811 | /* see xc4000.c for details */ | |
1812 | }, | |
8f2b7b70 MCC |
1813 | [TUNER_TCL_MF02GIP_5N] = { /* TCL tuner MF02GIP-5N-E */ |
1814 | .name = "TCL tuner MF02GIP-5N-E", | |
1815 | .params = tuner_tcl_mf02gip_5n_params, | |
1816 | .count = ARRAY_SIZE(tuner_tcl_mf02gip_5n_params), | |
1817 | }, | |
953cafc0 DB |
1818 | [TUNER_PHILIPS_FMD1216MEX_MK3] = { /* Philips PAL */ |
1819 | .name = "Philips FMD1216MEX MK3 Hybrid Tuner", | |
1820 | .params = tuner_philips_fmd1216mex_mk3_params, | |
1821 | .count = ARRAY_SIZE(tuner_philips_fmd1216mex_mk3_params), | |
1822 | .min = 16 * 50.87, | |
1823 | .max = 16 * 858.00, | |
1824 | .stepsize = 166667, | |
1825 | .initdata = tua603x_agc112, | |
1826 | .sleepdata = (u8[]){ 4, 0x9c, 0x60, 0x85, 0x54 }, | |
1827 | }, | |
8475cbcb DB |
1828 | [TUNER_PHILIPS_FM1216MK5] = { /* Philips PAL */ |
1829 | .name = "Philips PAL/SECAM multi (FM1216 MK5)", | |
1830 | .params = tuner_fm1216mk5_params, | |
1831 | .count = ARRAY_SIZE(tuner_fm1216mk5_params), | |
1832 | }, | |
5ddc9b10 AW |
1833 | |
1834 | /* 80-89 */ | |
1835 | [TUNER_PHILIPS_FQ1216LME_MK3] = { /* PAL/SECAM, Loop-thru, no FM */ | |
1836 | .name = "Philips FQ1216LME MK3 PAL/SECAM w/active loopthrough", | |
1837 | .params = tuner_fq1216lme_mk3_params, | |
1838 | .count = ARRAY_SIZE(tuner_fq1216lme_mk3_params), | |
1839 | }, | |
e3e1920b AW |
1840 | |
1841 | [TUNER_PARTSNIC_PTI_5NF05] = { | |
1842 | .name = "Partsnic (Daewoo) PTI-5NF05", | |
1843 | .params = tuner_partsnic_pti_5nf05_params, | |
1844 | .count = ARRAY_SIZE(tuner_partsnic_pti_5nf05_params), | |
1845 | }, | |
e558170a AP |
1846 | [TUNER_PHILIPS_CU1216L] = { |
1847 | .name = "Philips CU1216L", | |
1848 | .params = tuner_philips_cu1216l_params, | |
1849 | .count = ARRAY_SIZE(tuner_philips_cu1216l_params), | |
1850 | .stepsize = 62500, | |
1851 | }, | |
93463895 MK |
1852 | [TUNER_NXP_TDA18271] = { |
1853 | .name = "NXP TDA18271", | |
1854 | /* see tda18271-fe.c for details */ | |
1855 | }, | |
dbb9de9b AW |
1856 | [TUNER_SONY_BTF_PXN01Z] = { |
1857 | .name = "Sony BTF-Pxn01Z", | |
1858 | .params = tuner_sony_btf_pxn01z_params, | |
1859 | .count = ARRAY_SIZE(tuner_sony_btf_pxn01z_params), | |
1860 | }, | |
095c2471 AW |
1861 | [TUNER_PHILIPS_FQ1236_MK5] = { /* NTSC, TDA9885, no FM radio */ |
1862 | .name = "Philips FQ1236 MK5", | |
1863 | .params = tuner_philips_fq1236_mk5_params, | |
1864 | .count = ARRAY_SIZE(tuner_philips_fq1236_mk5_params), | |
1865 | }, | |
0cda1255 MCC |
1866 | [TUNER_TENA_TNF_5337] = { /* Tena 5337 MFD */ |
1867 | .name = "Tena TNF5337 MFD", | |
1868 | .params = tuner_tena_tnf_5337_params, | |
1869 | .count = ARRAY_SIZE(tuner_tena_tnf_5337_params), | |
1870 | }, | |
f21cfaf6 MK |
1871 | [TUNER_XC5000C] = { /* Xceive 5000C */ |
1872 | .name = "Xceive 5000C tuner", | |
1873 | /* see xc5000.c for details */ | |
1874 | }, | |
7b0ac9cd | 1875 | }; |
82b3083d | 1876 | EXPORT_SYMBOL(tuners); |
7b0ac9cd MK |
1877 | |
1878 | unsigned const int tuner_count = ARRAY_SIZE(tuners); | |
82b3083d MK |
1879 | EXPORT_SYMBOL(tuner_count); |
1880 | ||
1881 | MODULE_DESCRIPTION("Simple tuner device type database"); | |
1882 | MODULE_AUTHOR("Ralph Metzler, Gerd Knorr, Gunther Mayer"); | |
1883 | MODULE_LICENSE("GPL"); |