linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / media / video / tuner-types.c
1 /*
2  *
3  * i2c tv tuner chip device type database.
4  *
5  */
6
7 #include <linux/i2c.h>
8 #include <media/tuner.h>
9 #include <media/tuner-types.h>
10
11 /* ---------------------------------------------------------------------- */
12
13 /*
14  *      The floats in the tuner struct are computed at compile time
15  *      by gcc and cast back to integers. Thus we don't violate the
16  *      "no float in kernel" rule.
17  *
18  *      A tuner_range may be referenced by multiple tuner_params structs.
19  *      There are many duplicates in here. Reusing tuner_range structs,
20  *      rather than defining new ones for each tuner, will cut down on
21  *      memory usage, and is preferred when possible.
22  *
23  *      Each tuner_params array may contain one or more elements, one
24  *      for each video standard.
25  *
26  *      FIXME: Some tuner_range definitions are duplicated, and
27  *      should be eliminated.
28  *
29  *      FIXME: tunertype struct contains an element, has_tda988x.
30  *      We must set this for all tunertypes that contain a tda988x
31  *      chip, and then we can remove this setting from the various
32  *      card structs.
33  */
34
35 /* 0-9 */
36 /* ------------ TUNER_TEMIC_PAL - TEMIC PAL ------------ */
37
38 static struct tuner_range tuner_temic_pal_ranges[] = {
39         { 16 * 140.25 /*MHz*/, 0x02, },
40         { 16 * 463.25 /*MHz*/, 0x04, },
41         { 16 * 999.99        , 0x01, },
42 };
43
44 static struct tuner_params tuner_temic_pal_params[] = {
45         {
46                 .type   = TUNER_PARAM_TYPE_PAL,
47                 .ranges = tuner_temic_pal_ranges,
48                 .count  = ARRAY_SIZE(tuner_temic_pal_ranges),
49                 .config = 0x8e,
50         },
51 };
52
53 /* ------------ TUNER_PHILIPS_PAL_I - Philips PAL_I ------------ */
54
55 static struct tuner_range tuner_philips_pal_i_ranges[] = {
56         { 16 * 140.25 /*MHz*/, 0xa0, },
57         { 16 * 463.25 /*MHz*/, 0x90, },
58         { 16 * 999.99        , 0x30, },
59 };
60
61 static struct tuner_params tuner_philips_pal_i_params[] = {
62         {
63                 .type   = TUNER_PARAM_TYPE_PAL,
64                 .ranges = tuner_philips_pal_i_ranges,
65                 .count  = ARRAY_SIZE(tuner_philips_pal_i_ranges),
66                 .config = 0x8e,
67         },
68 };
69
70 /* ------------ TUNER_PHILIPS_NTSC - Philips NTSC ------------ */
71
72 static struct tuner_range tuner_philips_ntsc_ranges[] = {
73         { 16 * 157.25 /*MHz*/, 0xa0, },
74         { 16 * 451.25 /*MHz*/, 0x90, },
75         { 16 * 999.99        , 0x30, },
76 };
77
78 static struct tuner_params tuner_philips_ntsc_params[] = {
79         {
80                 .type   = TUNER_PARAM_TYPE_NTSC,
81                 .ranges = tuner_philips_ntsc_ranges,
82                 .count  = ARRAY_SIZE(tuner_philips_ntsc_ranges),
83                 .config = 0x8e,
84                 .cb_first_if_lower_freq = 1,
85         },
86 };
87
88 /* ------------ TUNER_PHILIPS_SECAM - Philips SECAM ------------ */
89
90 static struct tuner_range tuner_philips_secam_ranges[] = {
91         { 16 * 168.25 /*MHz*/, 0xa7, },
92         { 16 * 447.25 /*MHz*/, 0x97, },
93         { 16 * 999.99        , 0x37, },
94 };
95
96 static struct tuner_params tuner_philips_secam_params[] = {
97         {
98                 .type   = TUNER_PARAM_TYPE_SECAM,
99                 .ranges = tuner_philips_secam_ranges,
100                 .count  = ARRAY_SIZE(tuner_philips_secam_ranges),
101                 .config = 0x8e,
102                 .cb_first_if_lower_freq = 1,
103         },
104 };
105
106 /* ------------ TUNER_PHILIPS_PAL - Philips PAL ------------ */
107
108 static struct tuner_range tuner_philips_pal_ranges[] = {
109         { 16 * 168.25 /*MHz*/, 0xa0, },
110         { 16 * 447.25 /*MHz*/, 0x90, },
111         { 16 * 999.99        , 0x30, },
112 };
113
114 static struct tuner_params tuner_philips_pal_params[] = {
115         {
116                 .type   = TUNER_PARAM_TYPE_PAL,
117                 .ranges = tuner_philips_pal_ranges,
118                 .count  = ARRAY_SIZE(tuner_philips_pal_ranges),
119                 .config = 0x8e,
120                 .cb_first_if_lower_freq = 1,
121         },
122 };
123
124 /* ------------ TUNER_TEMIC_NTSC - TEMIC NTSC ------------ */
125
126 static struct tuner_range tuner_temic_ntsc_ranges[] = {
127         { 16 * 157.25 /*MHz*/, 0x02, },
128         { 16 * 463.25 /*MHz*/, 0x04, },
129         { 16 * 999.99        , 0x01, },
130 };
131
132 static struct tuner_params tuner_temic_ntsc_params[] = {
133         {
134                 .type   = TUNER_PARAM_TYPE_NTSC,
135                 .ranges = tuner_temic_ntsc_ranges,
136                 .count  = ARRAY_SIZE(tuner_temic_ntsc_ranges),
137                 .config = 0x8e,
138         },
139 };
140
141 /* ------------ TUNER_TEMIC_PAL_I - TEMIC PAL_I ------------ */
142
143 static struct tuner_range tuner_temic_pal_i_ranges[] = {
144         { 16 * 170.00 /*MHz*/, 0x02, },
145         { 16 * 450.00 /*MHz*/, 0x04, },
146         { 16 * 999.99        , 0x01, },
147 };
148
149 static struct tuner_params tuner_temic_pal_i_params[] = {
150         {
151                 .type   = TUNER_PARAM_TYPE_PAL,
152                 .ranges = tuner_temic_pal_i_ranges,
153                 .count  = ARRAY_SIZE(tuner_temic_pal_i_ranges),
154                 .config = 0x8e,
155         },
156 };
157
158 /* ------------ TUNER_TEMIC_4036FY5_NTSC - TEMIC NTSC ------------ */
159
160 static struct tuner_range tuner_temic_4036fy5_ntsc_ranges[] = {
161         { 16 * 157.25 /*MHz*/, 0xa0, },
162         { 16 * 463.25 /*MHz*/, 0x90, },
163         { 16 * 999.99        , 0x30, },
164 };
165
166 static struct tuner_params tuner_temic_4036fy5_ntsc_params[] = {
167         {
168                 .type   = TUNER_PARAM_TYPE_NTSC,
169                 .ranges = tuner_temic_4036fy5_ntsc_ranges,
170                 .count  = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges),
171                 .config = 0x8e,
172         },
173 };
174
175 /* ------------ TUNER_ALPS_TSBH1_NTSC - TEMIC NTSC ------------ */
176
177 static struct tuner_range tuner_alps_tsb_1_ranges[] = {
178         { 16 * 137.25 /*MHz*/, 0x01, },
179         { 16 * 385.25 /*MHz*/, 0x02, },
180         { 16 * 999.99        , 0x08, },
181 };
182
183 static struct tuner_params tuner_alps_tsbh1_ntsc_params[] = {
184         {
185                 .type   = TUNER_PARAM_TYPE_NTSC,
186                 .ranges = tuner_alps_tsb_1_ranges,
187                 .count  = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
188                 .config = 0x8e,
189         },
190 };
191
192 /* 10-19 */
193 /* ------------ TUNER_ALPS_TSBE1_PAL - TEMIC PAL ------------ */
194
195 static struct tuner_params tuner_alps_tsb_1_params[] = {
196         {
197                 .type   = TUNER_PARAM_TYPE_PAL,
198                 .ranges = tuner_alps_tsb_1_ranges,
199                 .count  = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
200                 .config = 0x8e,
201         },
202 };
203
204 /* ------------ TUNER_ALPS_TSBB5_PAL_I - Alps PAL_I ------------ */
205
206 static struct tuner_range tuner_alps_tsb_5_pal_ranges[] = {
207         { 16 * 133.25 /*MHz*/, 0x01, },
208         { 16 * 351.25 /*MHz*/, 0x02, },
209         { 16 * 999.99        , 0x08, },
210 };
211
212 static struct tuner_params tuner_alps_tsbb5_params[] = {
213         {
214                 .type   = TUNER_PARAM_TYPE_PAL,
215                 .ranges = tuner_alps_tsb_5_pal_ranges,
216                 .count  = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
217                 .config = 0x8e,
218         },
219 };
220
221 /* ------------ TUNER_ALPS_TSBE5_PAL - Alps PAL ------------ */
222
223 static struct tuner_params tuner_alps_tsbe5_params[] = {
224         {
225                 .type   = TUNER_PARAM_TYPE_PAL,
226                 .ranges = tuner_alps_tsb_5_pal_ranges,
227                 .count  = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
228                 .config = 0x8e,
229         },
230 };
231
232 /* ------------ TUNER_ALPS_TSBC5_PAL - Alps PAL ------------ */
233
234 static struct tuner_params tuner_alps_tsbc5_params[] = {
235         {
236                 .type   = TUNER_PARAM_TYPE_PAL,
237                 .ranges = tuner_alps_tsb_5_pal_ranges,
238                 .count  = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
239                 .config = 0x8e,
240         },
241 };
242
243 /* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */
244
245 static struct tuner_range tuner_temic_4006fh5_pal_ranges[] = {
246         { 16 * 170.00 /*MHz*/, 0xa0, },
247         { 16 * 450.00 /*MHz*/, 0x90, },
248         { 16 * 999.99        , 0x30, },
249 };
250
251 static struct tuner_params tuner_temic_4006fh5_params[] = {
252         {
253                 .type   = TUNER_PARAM_TYPE_PAL,
254                 .ranges = tuner_temic_4006fh5_pal_ranges,
255                 .count  = ARRAY_SIZE(tuner_temic_4006fh5_pal_ranges),
256                 .config = 0x8e,
257         },
258 };
259
260 /* ------------ TUNER_ALPS_TSHC6_NTSC - Alps NTSC ------------ */
261
262 static struct tuner_range tuner_alps_tshc6_ntsc_ranges[] = {
263         { 16 * 137.25 /*MHz*/, 0x14, },
264         { 16 * 385.25 /*MHz*/, 0x12, },
265         { 16 * 999.99        , 0x11, },
266 };
267
268 static struct tuner_params tuner_alps_tshc6_params[] = {
269         {
270                 .type   = TUNER_PARAM_TYPE_NTSC,
271                 .ranges = tuner_alps_tshc6_ntsc_ranges,
272                 .count  = ARRAY_SIZE(tuner_alps_tshc6_ntsc_ranges),
273                 .config = 0x8e,
274         },
275 };
276
277 /* ------------ TUNER_TEMIC_PAL_DK - TEMIC PAL ------------ */
278
279 static struct tuner_range tuner_temic_pal_dk_ranges[] = {
280         { 16 * 168.25 /*MHz*/, 0xa0, },
281         { 16 * 456.25 /*MHz*/, 0x90, },
282         { 16 * 999.99        , 0x30, },
283 };
284
285 static struct tuner_params tuner_temic_pal_dk_params[] = {
286         {
287                 .type   = TUNER_PARAM_TYPE_PAL,
288                 .ranges = tuner_temic_pal_dk_ranges,
289                 .count  = ARRAY_SIZE(tuner_temic_pal_dk_ranges),
290                 .config = 0x8e,
291         },
292 };
293
294 /* ------------ TUNER_PHILIPS_NTSC_M - Philips NTSC ------------ */
295
296 static struct tuner_range tuner_philips_ntsc_m_ranges[] = {
297         { 16 * 160.00 /*MHz*/, 0xa0, },
298         { 16 * 454.00 /*MHz*/, 0x90, },
299         { 16 * 999.99        , 0x30, },
300 };
301
302 static struct tuner_params tuner_philips_ntsc_m_params[] = {
303         {
304                 .type   = TUNER_PARAM_TYPE_NTSC,
305                 .ranges = tuner_philips_ntsc_m_ranges,
306                 .count  = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
307                 .config = 0x8e,
308         },
309 };
310
311 /* ------------ TUNER_TEMIC_4066FY5_PAL_I - TEMIC PAL_I ------------ */
312
313 static struct tuner_range tuner_temic_40x6f_5_pal_ranges[] = {
314         { 16 * 169.00 /*MHz*/, 0xa0, },
315         { 16 * 454.00 /*MHz*/, 0x90, },
316         { 16 * 999.99        , 0x30, },
317 };
318
319 static struct tuner_params tuner_temic_4066fy5_pal_i_params[] = {
320         {
321                 .type   = TUNER_PARAM_TYPE_PAL,
322                 .ranges = tuner_temic_40x6f_5_pal_ranges,
323                 .count  = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
324                 .config = 0x8e,
325         },
326 };
327
328 /* ------------ TUNER_TEMIC_4006FN5_MULTI_PAL - TEMIC PAL ------------ */
329
330 static struct tuner_params tuner_temic_4006fn5_multi_params[] = {
331         {
332                 .type   = TUNER_PARAM_TYPE_PAL,
333                 .ranges = tuner_temic_40x6f_5_pal_ranges,
334                 .count  = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
335                 .config = 0x8e,
336         },
337 };
338
339 /* 20-29 */
340 /* ------------ TUNER_TEMIC_4009FR5_PAL - TEMIC PAL ------------ */
341
342 static struct tuner_range tuner_temic_4009f_5_pal_ranges[] = {
343         { 16 * 141.00 /*MHz*/, 0xa0, },
344         { 16 * 464.00 /*MHz*/, 0x90, },
345         { 16 * 999.99        , 0x30, },
346 };
347
348 static struct tuner_params tuner_temic_4009f_5_params[] = {
349         {
350                 .type   = TUNER_PARAM_TYPE_PAL,
351                 .ranges = tuner_temic_4009f_5_pal_ranges,
352                 .count  = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
353                 .config = 0x8e,
354         },
355 };
356
357 /* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */
358
359 static struct tuner_range tuner_temic_4039fr5_ntsc_ranges[] = {
360         { 16 * 158.00 /*MHz*/, 0xa0, },
361         { 16 * 453.00 /*MHz*/, 0x90, },
362         { 16 * 999.99        , 0x30, },
363 };
364
365 static struct tuner_params tuner_temic_4039fr5_params[] = {
366         {
367                 .type   = TUNER_PARAM_TYPE_NTSC,
368                 .ranges = tuner_temic_4039fr5_ntsc_ranges,
369                 .count  = ARRAY_SIZE(tuner_temic_4039fr5_ntsc_ranges),
370                 .config = 0x8e,
371         },
372 };
373
374 /* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */
375
376 static struct tuner_range tuner_temic_4046fm5_pal_ranges[] = {
377         { 16 * 169.00 /*MHz*/, 0xa0, },
378         { 16 * 454.00 /*MHz*/, 0x90, },
379         { 16 * 999.99        , 0x30, },
380 };
381
382 static struct tuner_params tuner_temic_4046fm5_params[] = {
383         {
384                 .type   = TUNER_PARAM_TYPE_PAL,
385                 .ranges = tuner_temic_4046fm5_pal_ranges,
386                 .count  = ARRAY_SIZE(tuner_temic_4046fm5_pal_ranges),
387                 .config = 0x8e,
388         },
389 };
390
391 /* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */
392
393 static struct tuner_range tuner_lg_pal_ranges[] = {
394         { 16 * 170.00 /*MHz*/, 0xa0, },
395         { 16 * 450.00 /*MHz*/, 0x90, },
396         { 16 * 999.99        , 0x30, },
397 };
398
399 static struct tuner_params tuner_philips_pal_dk_params[] = {
400         {
401                 .type   = TUNER_PARAM_TYPE_PAL,
402                 .ranges = tuner_lg_pal_ranges,
403                 .count  = ARRAY_SIZE(tuner_lg_pal_ranges),
404                 .config = 0x8e,
405         },
406 };
407
408 /* ------------ TUNER_PHILIPS_FQ1216ME - Philips PAL ------------ */
409
410 static struct tuner_params tuner_philips_fq1216me_params[] = {
411         {
412                 .type   = TUNER_PARAM_TYPE_PAL,
413                 .ranges = tuner_lg_pal_ranges,
414                 .count  = ARRAY_SIZE(tuner_lg_pal_ranges),
415                 .config = 0x8e,
416         },
417 };
418
419 /* ------------ TUNER_LG_PAL_I_FM - LGINNOTEK PAL_I ------------ */
420
421 static struct tuner_params tuner_lg_pal_i_fm_params[] = {
422         {
423                 .type   = TUNER_PARAM_TYPE_PAL,
424                 .ranges = tuner_lg_pal_ranges,
425                 .count  = ARRAY_SIZE(tuner_lg_pal_ranges),
426                 .config = 0x8e,
427         },
428 };
429
430 /* ------------ TUNER_LG_PAL_I - LGINNOTEK PAL_I ------------ */
431
432 static struct tuner_params tuner_lg_pal_i_params[] = {
433         {
434                 .type   = TUNER_PARAM_TYPE_PAL,
435                 .ranges = tuner_lg_pal_ranges,
436                 .count  = ARRAY_SIZE(tuner_lg_pal_ranges),
437                 .config = 0x8e,
438         },
439 };
440
441 /* ------------ TUNER_LG_NTSC_FM - LGINNOTEK NTSC ------------ */
442
443 static struct tuner_range tuner_lg_ntsc_fm_ranges[] = {
444         { 16 * 210.00 /*MHz*/, 0xa0, },
445         { 16 * 497.00 /*MHz*/, 0x90, },
446         { 16 * 999.99        , 0x30, },
447 };
448
449 static struct tuner_params tuner_lg_ntsc_fm_params[] = {
450         {
451                 .type   = TUNER_PARAM_TYPE_NTSC,
452                 .ranges = tuner_lg_ntsc_fm_ranges,
453                 .count  = ARRAY_SIZE(tuner_lg_ntsc_fm_ranges),
454                 .config = 0x8e,
455         },
456 };
457
458 /* ------------ TUNER_LG_PAL_FM - LGINNOTEK PAL ------------ */
459
460 static struct tuner_params tuner_lg_pal_fm_params[] = {
461         {
462                 .type   = TUNER_PARAM_TYPE_PAL,
463                 .ranges = tuner_lg_pal_ranges,
464                 .count  = ARRAY_SIZE(tuner_lg_pal_ranges),
465                 .config = 0x8e,
466         },
467 };
468
469 /* ------------ TUNER_LG_PAL - LGINNOTEK PAL ------------ */
470
471 static struct tuner_params tuner_lg_pal_params[] = {
472         {
473                 .type   = TUNER_PARAM_TYPE_PAL,
474                 .ranges = tuner_lg_pal_ranges,
475                 .count  = ARRAY_SIZE(tuner_lg_pal_ranges),
476                 .config = 0x8e,
477         },
478 };
479
480 /* 30-39 */
481 /* ------------ TUNER_TEMIC_4009FN5_MULTI_PAL_FM - TEMIC PAL ------------ */
482
483 static struct tuner_params tuner_temic_4009_fn5_multi_pal_fm_params[] = {
484         {
485                 .type   = TUNER_PARAM_TYPE_PAL,
486                 .ranges = tuner_temic_4009f_5_pal_ranges,
487                 .count  = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
488                 .config = 0x8e,
489         },
490 };
491
492 /* ------------ TUNER_SHARP_2U5JF5540_NTSC - SHARP NTSC ------------ */
493
494 static struct tuner_range tuner_sharp_2u5jf5540_ntsc_ranges[] = {
495         { 16 * 137.25 /*MHz*/, 0x01, },
496         { 16 * 317.25 /*MHz*/, 0x02, },
497         { 16 * 999.99        , 0x08, },
498 };
499
500 static struct tuner_params tuner_sharp_2u5jf5540_params[] = {
501         {
502                 .type   = TUNER_PARAM_TYPE_NTSC,
503                 .ranges = tuner_sharp_2u5jf5540_ntsc_ranges,
504                 .count  = ARRAY_SIZE(tuner_sharp_2u5jf5540_ntsc_ranges),
505                 .config = 0x8e,
506         },
507 };
508
509 /* ------------ TUNER_Samsung_PAL_TCPM9091PD27 - Samsung PAL ------------ */
510
511 static struct tuner_range tuner_samsung_pal_tcpm9091pd27_ranges[] = {
512         { 16 * 169 /*MHz*/, 0xa0, },
513         { 16 * 464 /*MHz*/, 0x90, },
514         { 16 * 999.99     , 0x30, },
515 };
516
517 static struct tuner_params tuner_samsung_pal_tcpm9091pd27_params[] = {
518         {
519                 .type   = TUNER_PARAM_TYPE_PAL,
520                 .ranges = tuner_samsung_pal_tcpm9091pd27_ranges,
521                 .count  = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_ranges),
522                 .config = 0x8e,
523         },
524 };
525
526 /* ------------ TUNER_TEMIC_4106FH5 - TEMIC PAL ------------ */
527
528 static struct tuner_params tuner_temic_4106fh5_params[] = {
529         {
530                 .type   = TUNER_PARAM_TYPE_PAL,
531                 .ranges = tuner_temic_4009f_5_pal_ranges,
532                 .count  = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
533                 .config = 0x8e,
534         },
535 };
536
537 /* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */
538
539 static struct tuner_range tuner_temic_4012fy5_pal_ranges[] = {
540         { 16 * 140.25 /*MHz*/, 0x02, },
541         { 16 * 463.25 /*MHz*/, 0x04, },
542         { 16 * 999.99        , 0x01, },
543 };
544
545 static struct tuner_params tuner_temic_4012fy5_params[] = {
546         {
547                 .type   = TUNER_PARAM_TYPE_PAL,
548                 .ranges = tuner_temic_4012fy5_pal_ranges,
549                 .count  = ARRAY_SIZE(tuner_temic_4012fy5_pal_ranges),
550                 .config = 0x8e,
551         },
552 };
553
554 /* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */
555
556 static struct tuner_range tuner_temic_4136_fy5_ntsc_ranges[] = {
557         { 16 * 158.00 /*MHz*/, 0xa0, },
558         { 16 * 453.00 /*MHz*/, 0x90, },
559         { 16 * 999.99        , 0x30, },
560 };
561
562 static struct tuner_params tuner_temic_4136_fy5_params[] = {
563         {
564                 .type   = TUNER_PARAM_TYPE_NTSC,
565                 .ranges = tuner_temic_4136_fy5_ntsc_ranges,
566                 .count  = ARRAY_SIZE(tuner_temic_4136_fy5_ntsc_ranges),
567                 .config = 0x8e,
568         },
569 };
570
571 /* ------------ TUNER_LG_PAL_NEW_TAPC - LGINNOTEK PAL ------------ */
572
573 static struct tuner_range tuner_lg_new_tapc_ranges[] = {
574         { 16 * 170.00 /*MHz*/, 0x01, },
575         { 16 * 450.00 /*MHz*/, 0x02, },
576         { 16 * 999.99        , 0x08, },
577 };
578
579 static struct tuner_params tuner_lg_pal_new_tapc_params[] = {
580         {
581                 .type   = TUNER_PARAM_TYPE_PAL,
582                 .ranges = tuner_lg_new_tapc_ranges,
583                 .count  = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
584                 .config = 0x8e,
585         },
586 };
587
588 /* ------------ TUNER_PHILIPS_FM1216ME_MK3 - Philips PAL ------------ */
589
590 static struct tuner_range tuner_fm1216me_mk3_pal_ranges[] = {
591         { 16 * 158.00 /*MHz*/, 0x01, },
592         { 16 * 442.00 /*MHz*/, 0x02, },
593         { 16 * 999.99        , 0x04, },
594 };
595
596 static struct tuner_params tuner_fm1216me_mk3_params[] = {
597         {
598                 .type   = TUNER_PARAM_TYPE_PAL,
599                 .ranges = tuner_fm1216me_mk3_pal_ranges,
600                 .count  = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges),
601                 .config = 0x8e,
602                 .cb_first_if_lower_freq = 1,
603         },
604 };
605
606 /* ------------ TUNER_LG_NTSC_NEW_TAPC - LGINNOTEK NTSC ------------ */
607
608 static struct tuner_params tuner_lg_ntsc_new_tapc_params[] = {
609         {
610                 .type   = TUNER_PARAM_TYPE_NTSC,
611                 .ranges = tuner_lg_new_tapc_ranges,
612                 .count  = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
613                 .config = 0x8e,
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),
625                 .config = 0x8e,
626         },
627 };
628
629 /* ------------ TUNER_PHILIPS_PAL_MK - Philips PAL ------------ */
630
631 static struct tuner_range tuner_philips_pal_mk_pal_ranges[] = {
632         { 16 * 140.25 /*MHz*/, 0x01, },
633         { 16 * 463.25 /*MHz*/, 0xc2, },
634         { 16 * 999.99        , 0xcf, },
635 };
636
637 static struct tuner_params tuner_philips_pal_mk_params[] = {
638         {
639                 .type   = TUNER_PARAM_TYPE_PAL,
640                 .ranges = tuner_philips_pal_mk_pal_ranges,
641                 .count  = ARRAY_SIZE(tuner_philips_pal_mk_pal_ranges),
642                 .config = 0x8e,
643         },
644 };
645
646 /* ------------ TUNER_PHILIPS_ATSC - Philips ATSC ------------ */
647
648 static struct tuner_range tuner_philips_atsc_ranges[] = {
649         { 16 * 157.25 /*MHz*/, 0xa0, },
650         { 16 * 454.00 /*MHz*/, 0x90, },
651         { 16 * 999.99        , 0x30, },
652 };
653
654 static struct tuner_params tuner_philips_atsc_params[] = {
655         {
656                 .type   = TUNER_PARAM_TYPE_NTSC,
657                 .ranges = tuner_philips_atsc_ranges,
658                 .count  = ARRAY_SIZE(tuner_philips_atsc_ranges),
659                 .config = 0x8e,
660         },
661 };
662
663 /* ------------ TUNER_PHILIPS_FM1236_MK3 - Philips NTSC ------------ */
664
665 static struct tuner_range tuner_fm1236_mk3_ntsc_ranges[] = {
666         { 16 * 160.00 /*MHz*/, 0x01, },
667         { 16 * 442.00 /*MHz*/, 0x02, },
668         { 16 * 999.99        , 0x04, },
669 };
670
671 static struct tuner_params tuner_fm1236_mk3_params[] = {
672         {
673                 .type   = TUNER_PARAM_TYPE_NTSC,
674                 .ranges = tuner_fm1236_mk3_ntsc_ranges,
675                 .count  = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
676                 .config = 0x8e,
677                 .cb_first_if_lower_freq = 1,
678         },
679 };
680
681 /* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */
682
683 static struct tuner_range tuner_philips_4in1_ntsc_ranges[] = {
684         { 16 * 160.00 /*MHz*/, 0x01, },
685         { 16 * 442.00 /*MHz*/, 0x02, },
686         { 16 * 999.99        , 0x04, },
687 };
688
689 static struct tuner_params tuner_philips_4in1_params[] = {
690         {
691                 .type   = TUNER_PARAM_TYPE_NTSC,
692                 .ranges = tuner_philips_4in1_ntsc_ranges,
693                 .count  = ARRAY_SIZE(tuner_philips_4in1_ntsc_ranges),
694                 .config = 0x8e,
695         },
696 };
697
698 /* ------------ TUNER_MICROTUNE_4049FM5 - Microtune PAL ------------ */
699
700 static struct tuner_params tuner_microtune_4049_fm5_params[] = {
701         {
702                 .type   = TUNER_PARAM_TYPE_PAL,
703                 .ranges = tuner_temic_4009f_5_pal_ranges,
704                 .count  = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
705                 .config = 0x8e,
706         },
707 };
708
709 /* ------------ TUNER_PANASONIC_VP27 - Panasonic NTSC ------------ */
710
711 static struct tuner_range tuner_panasonic_vp27_ntsc_ranges[] = {
712         { 16 * 160.00 /*MHz*/, 0x01, },
713         { 16 * 454.00 /*MHz*/, 0x02, },
714         { 16 * 999.99        , 0x08, },
715 };
716
717 static struct tuner_params tuner_panasonic_vp27_params[] = {
718         {
719                 .type   = TUNER_PARAM_TYPE_NTSC,
720                 .ranges = tuner_panasonic_vp27_ntsc_ranges,
721                 .count  = ARRAY_SIZE(tuner_panasonic_vp27_ntsc_ranges),
722                 .config = 0xce,
723         },
724 };
725
726 /* ------------ TUNER_TNF_8831BGFF - Philips PAL ------------ */
727
728 static struct tuner_range tuner_tnf_8831bgff_pal_ranges[] = {
729         { 16 * 161.25 /*MHz*/, 0xa0, },
730         { 16 * 463.25 /*MHz*/, 0x90, },
731         { 16 * 999.99        , 0x30, },
732 };
733
734 static struct tuner_params tuner_tnf_8831bgff_params[] = {
735         {
736                 .type   = TUNER_PARAM_TYPE_PAL,
737                 .ranges = tuner_tnf_8831bgff_pal_ranges,
738                 .count  = ARRAY_SIZE(tuner_tnf_8831bgff_pal_ranges),
739                 .config = 0x8e,
740         },
741 };
742
743 /* ------------ TUNER_MICROTUNE_4042FI5 - Microtune NTSC ------------ */
744
745 static struct tuner_range tuner_microtune_4042fi5_ntsc_ranges[] = {
746         { 16 * 162.00 /*MHz*/, 0xa2, },
747         { 16 * 457.00 /*MHz*/, 0x94, },
748         { 16 * 999.99        , 0x31, },
749 };
750
751 static struct tuner_params tuner_microtune_4042fi5_params[] = {
752         {
753                 .type   = TUNER_PARAM_TYPE_NTSC,
754                 .ranges = tuner_microtune_4042fi5_ntsc_ranges,
755                 .count  = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges),
756                 .config = 0x8e,
757         },
758 };
759
760 /* 50-59 */
761 /* ------------ TUNER_TCL_2002N - TCL NTSC ------------ */
762
763 static struct tuner_range tuner_tcl_2002n_ntsc_ranges[] = {
764         { 16 * 172.00 /*MHz*/, 0x01, },
765         { 16 * 448.00 /*MHz*/, 0x02, },
766         { 16 * 999.99        , 0x08, },
767 };
768
769 static struct tuner_params tuner_tcl_2002n_params[] = {
770         {
771                 .type   = TUNER_PARAM_TYPE_NTSC,
772                 .ranges = tuner_tcl_2002n_ntsc_ranges,
773                 .count  = ARRAY_SIZE(tuner_tcl_2002n_ntsc_ranges),
774                 .config = 0x8e,
775                 .cb_first_if_lower_freq = 1,
776         },
777 };
778
779 /* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */
780
781 static struct tuner_range tuner_philips_fm1256_ih3_pal_ranges[] = {
782         { 16 * 160.00 /*MHz*/, 0x01, },
783         { 16 * 442.00 /*MHz*/, 0x02, },
784         { 16 * 999.99        , 0x04, },
785 };
786
787 static struct tuner_params tuner_philips_fm1256_ih3_params[] = {
788         {
789                 .type   = TUNER_PARAM_TYPE_PAL,
790                 .ranges = tuner_philips_fm1256_ih3_pal_ranges,
791                 .count  = ARRAY_SIZE(tuner_philips_fm1256_ih3_pal_ranges),
792                 .config = 0x8e,
793         },
794 };
795
796 /* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */
797
798 static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = {
799         { 16 * 157.25 /*MHz*/, 0x39, },
800         { 16 * 454.00 /*MHz*/, 0x3a, },
801         { 16 * 999.99        , 0x3c, },
802 };
803
804 static struct tuner_params tuner_thomson_dtt7610_params[] = {
805         {
806                 .type   = TUNER_PARAM_TYPE_NTSC,
807                 .ranges = tuner_thomson_dtt7610_ntsc_ranges,
808                 .count  = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
809                 .config = 0x8e,
810         },
811 };
812
813 /* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */
814
815 static struct tuner_range tuner_philips_fq1286_ntsc_ranges[] = {
816         { 16 * 160.00 /*MHz*/, 0x41, },
817         { 16 * 454.00 /*MHz*/, 0x42, },
818         { 16 * 999.99        , 0x04, },
819 };
820
821 static struct tuner_params tuner_philips_fq1286_params[] = {
822         {
823                 .type   = TUNER_PARAM_TYPE_NTSC,
824                 .ranges = tuner_philips_fq1286_ntsc_ranges,
825                 .count  = ARRAY_SIZE(tuner_philips_fq1286_ntsc_ranges),
826                 .config = 0x8e,
827         },
828 };
829
830 /* ------------ TUNER_TCL_2002MB - TCL PAL ------------ */
831
832 static struct tuner_range tuner_tcl_2002mb_pal_ranges[] = {
833         { 16 * 170.00 /*MHz*/, 0x01, },
834         { 16 * 450.00 /*MHz*/, 0x02, },
835         { 16 * 999.99        , 0x08, },
836 };
837
838 static struct tuner_params tuner_tcl_2002mb_params[] = {
839         {
840                 .type   = TUNER_PARAM_TYPE_PAL,
841                 .ranges = tuner_tcl_2002mb_pal_ranges,
842                 .count  = ARRAY_SIZE(tuner_tcl_2002mb_pal_ranges),
843                 .config = 0xce,
844         },
845 };
846
847 /* ------------ TUNER_PHILIPS_FQ1216AME_MK4 - Philips PAL ------------ */
848
849 static struct tuner_range tuner_philips_fq12_6a___mk4_ranges[] = {
850         { 16 * 160.00 /*MHz*/, 0x01, },
851         { 16 * 442.00 /*MHz*/, 0x02, },
852         { 16 * 999.99        , 0x04, },
853 };
854
855 static struct tuner_params tuner_philips_fq1216ame_mk4_params[] = {
856         {
857                 .type   = TUNER_PARAM_TYPE_PAL,
858                 .ranges = tuner_philips_fq12_6a___mk4_ranges,
859                 .count  = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_ranges),
860                 .config = 0xce,
861         },
862 };
863
864 /* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */
865
866 static struct tuner_params tuner_philips_fq1236a_mk4_params[] = {
867         {
868                 .type   = TUNER_PARAM_TYPE_NTSC,
869                 .ranges = tuner_philips_fq12_6a___mk4_ranges,
870                 .count  = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_ranges),
871                 .config = 0x8e,
872         },
873 };
874
875 /* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */
876
877 static struct tuner_range tuner_ymec_tvf_8531mf_ntsc_ranges[] = {
878         { 16 * 160.00 /*MHz*/, 0xa0, },
879         { 16 * 454.00 /*MHz*/, 0x90, },
880         { 16 * 999.99        , 0x30, },
881 };
882
883 static struct tuner_params tuner_ymec_tvf_8531mf_params[] = {
884         {
885                 .type   = TUNER_PARAM_TYPE_NTSC,
886                 .ranges = tuner_ymec_tvf_8531mf_ntsc_ranges,
887                 .count  = ARRAY_SIZE(tuner_ymec_tvf_8531mf_ntsc_ranges),
888                 .config = 0x8e,
889         },
890 };
891
892 /* ------------ TUNER_YMEC_TVF_5533MF - Philips NTSC ------------ */
893
894 static struct tuner_range tuner_ymec_tvf_5533mf_ntsc_ranges[] = {
895         { 16 * 160.00 /*MHz*/, 0x01, },
896         { 16 * 454.00 /*MHz*/, 0x02, },
897         { 16 * 999.99        , 0x04, },
898 };
899
900 static struct tuner_params tuner_ymec_tvf_5533mf_params[] = {
901         {
902                 .type   = TUNER_PARAM_TYPE_NTSC,
903                 .ranges = tuner_ymec_tvf_5533mf_ntsc_ranges,
904                 .count  = ARRAY_SIZE(tuner_ymec_tvf_5533mf_ntsc_ranges),
905                 .config = 0x8e,
906         },
907 };
908
909 /* 60-69 */
910 /* ------------ TUNER_THOMSON_DTT761X - THOMSON ATSC ------------ */
911 /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
912
913 static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = {
914         { 16 * 145.25 /*MHz*/, 0x39, },
915         { 16 * 415.25 /*MHz*/, 0x3a, },
916         { 16 * 999.99        , 0x3c, },
917 };
918
919
920 static struct tuner_params tuner_thomson_dtt761x_params[] = {
921         {
922                 .type   = TUNER_PARAM_TYPE_NTSC,
923                 .ranges = tuner_thomson_dtt761x_ntsc_ranges,
924                 .count  = ARRAY_SIZE(tuner_thomson_dtt761x_ntsc_ranges),
925                 .config = 0x8e,
926         },
927 };
928
929 /* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */
930
931 static struct tuner_range tuner_tuner_tena_9533_di_pal_ranges[] = {
932         { 16 * 160.25 /*MHz*/, 0x01, },
933         { 16 * 464.25 /*MHz*/, 0x02, },
934         { 16 * 999.99        , 0x04, },
935 };
936
937 static struct tuner_params tuner_tena_9533_di_params[] = {
938         {
939                 .type   = TUNER_PARAM_TYPE_PAL,
940                 .ranges = tuner_tuner_tena_9533_di_pal_ranges,
941                 .count  = ARRAY_SIZE(tuner_tuner_tena_9533_di_pal_ranges),
942                 .config = 0x8e,
943         },
944 };
945
946 /* ------------ TUNER_PHILIPS_FMD1216ME_MK3 - Philips PAL ------------ */
947
948 static struct tuner_range tuner_philips_fmd1216me_mk3_pal_ranges[] = {
949         { 16 * 160.00 /*MHz*/, 0x51, },
950         { 16 * 442.00 /*MHz*/, 0x52, },
951         { 16 * 999.99        , 0x54, },
952 };
953
954
955 static struct tuner_params tuner_tuner_philips_fmd1216me_mk3_params[] = {
956         {
957                 .type   = TUNER_PARAM_TYPE_PAL,
958                 .ranges = tuner_philips_fmd1216me_mk3_pal_ranges,
959                 .count  = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
960                 .config = 0x86,
961         },
962 };
963
964
965 /* ------------ TUNER_LG_TDVS_H062F - INFINEON ATSC ------------ */
966
967 static struct tuner_range tuner_tua6034_ntsc_ranges[] = {
968         { 16 * 160.00 /*MHz*/, 0x01 },
969         { 16 * 455.00 /*MHz*/, 0x02 },
970         { 16 * 999.99        , 0x04 },
971 };
972
973
974 static struct tuner_params tuner_tua6034_params[] = {
975         {
976                 .type   = TUNER_PARAM_TYPE_NTSC,
977                 .ranges = tuner_tua6034_ntsc_ranges,
978                 .count  = ARRAY_SIZE(tuner_tua6034_ntsc_ranges),
979                 .config = 0x8e,
980         },
981 };
982
983 /* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */
984
985 static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = {
986         { 16 * 160.25 /*MHz*/, 0x01, },
987         { 16 * 464.25 /*MHz*/, 0x02, },
988         { 16 * 999.99        , 0x08, },
989 };
990
991 static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {
992         {
993                 .type   = TUNER_PARAM_TYPE_PAL,
994                 .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges,
995                 .count  = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges),
996                 .config = 0x8e,
997         },
998 };
999
1000 /* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */
1001
1002 static struct tuner_range tuner_lg_taln_mini_ntsc_ranges[] = {
1003         { 16 * 137.25 /*MHz*/, 0x01, },
1004         { 16 * 373.25 /*MHz*/, 0x02, },
1005         { 16 * 999.99        , 0x08, },
1006 };
1007
1008 static struct tuner_params tuner_lg_taln_mini_params[] = {
1009         {
1010                 .type   = TUNER_PARAM_TYPE_NTSC,
1011                 .ranges = tuner_lg_taln_mini_ntsc_ranges,
1012                 .count  = ARRAY_SIZE(tuner_lg_taln_mini_ntsc_ranges),
1013                 .config = 0x8e,
1014         },
1015 };
1016
1017 /* ------------ TUNER_PHILIPS_TD1316 - Philips PAL ------------ */
1018
1019 static struct tuner_range tuner_philips_td1316_pal_ranges[] = {
1020         { 16 * 160.00 /*MHz*/, 0xa1, },
1021         { 16 * 442.00 /*MHz*/, 0xa2, },
1022         { 16 * 999.99        , 0xa4, },
1023 };
1024
1025 static struct tuner_params tuner_philips_td1316_params[] = {
1026         {
1027                 .type   = TUNER_PARAM_TYPE_PAL,
1028                 .ranges = tuner_philips_td1316_pal_ranges,
1029                 .count  = ARRAY_SIZE(tuner_philips_td1316_pal_ranges),
1030                 .config = 0xc8,
1031         },
1032 };
1033
1034 /* ------------ TUNER_PHILIPS_TUV1236D - Philips ATSC ------------ */
1035
1036 static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
1037         { 16 * 157.25 /*MHz*/, 0x01, },
1038         { 16 * 454.00 /*MHz*/, 0x02, },
1039         { 16 * 999.99        , 0x04, },
1040 };
1041
1042
1043 static struct tuner_params tuner_tuner_tuv1236d_params[] = {
1044         {
1045                 .type   = TUNER_PARAM_TYPE_NTSC,
1046                 .ranges = tuner_tuv1236d_ntsc_ranges,
1047                 .count  = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
1048                 .config = 0xce,
1049         },
1050 };
1051
1052 /* ------------ TUNER_TNF_5335MF - Philips NTSC ------------ */
1053
1054 static struct tuner_range tuner_tnf_5335mf_ntsc_ranges[] = {
1055         { 16 * 157.25 /*MHz*/, 0x01, },
1056         { 16 * 454.00 /*MHz*/, 0x02, },
1057         { 16 * 999.99        , 0x04, },
1058 };
1059
1060 static struct tuner_params tuner_tnf_5335mf_params[] = {
1061         {
1062                 .type   = TUNER_PARAM_TYPE_NTSC,
1063                 .ranges = tuner_tnf_5335mf_ntsc_ranges,
1064                 .count  = ARRAY_SIZE(tuner_tnf_5335mf_ntsc_ranges),
1065                 .config = 0x8e,
1066         },
1067 };
1068
1069 /* 70-79 */
1070 /* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */
1071
1072 static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = {
1073         { 16 * 130.00 /*MHz*/, 0x01, },
1074         { 16 * 364.50 /*MHz*/, 0x02, },
1075         { 16 * 999.99        , 0x08, },
1076 };
1077
1078 static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = {
1079         {
1080                 .type   = TUNER_PARAM_TYPE_NTSC,
1081                 .ranges = tuner_samsung_tcpn_2121p30a_ntsc_ranges,
1082                 .count  = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_ntsc_ranges),
1083                 .config = 0xce,
1084         },
1085 };
1086
1087 /* --------------------------------------------------------------------- */
1088
1089 struct tunertype tuners[] = {
1090         /* 0-9 */
1091         [TUNER_TEMIC_PAL] = { /* TEMIC PAL */
1092                 .name   = "Temic PAL (4002 FH5)",
1093                 .params = tuner_temic_pal_params,
1094         },
1095         [TUNER_PHILIPS_PAL_I] = { /* Philips PAL_I */
1096                 .name   = "Philips PAL_I (FI1246 and compatibles)",
1097                 .params = tuner_philips_pal_i_params,
1098         },
1099         [TUNER_PHILIPS_NTSC] = { /* Philips NTSC */
1100                 .name   = "Philips NTSC (FI1236,FM1236 and compatibles)",
1101                 .params = tuner_philips_ntsc_params,
1102         },
1103         [TUNER_PHILIPS_SECAM] = { /* Philips SECAM */
1104                 .name   = "Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)",
1105                 .params = tuner_philips_secam_params,
1106         },
1107         [TUNER_ABSENT] = { /* Tuner Absent */
1108                 .name   = "NoTuner",
1109         },
1110         [TUNER_PHILIPS_PAL] = { /* Philips PAL */
1111                 .name   = "Philips PAL_BG (FI1216 and compatibles)",
1112                 .params = tuner_philips_pal_params,
1113         },
1114         [TUNER_TEMIC_NTSC] = { /* TEMIC NTSC */
1115                 .name   = "Temic NTSC (4032 FY5)",
1116                 .params = tuner_temic_ntsc_params,
1117         },
1118         [TUNER_TEMIC_PAL_I] = { /* TEMIC PAL_I */
1119                 .name   = "Temic PAL_I (4062 FY5)",
1120                 .params = tuner_temic_pal_i_params,
1121         },
1122         [TUNER_TEMIC_4036FY5_NTSC] = { /* TEMIC NTSC */
1123                 .name   = "Temic NTSC (4036 FY5)",
1124                 .params = tuner_temic_4036fy5_ntsc_params,
1125         },
1126         [TUNER_ALPS_TSBH1_NTSC] = { /* TEMIC NTSC */
1127                 .name   = "Alps HSBH1",
1128                 .params = tuner_alps_tsbh1_ntsc_params,
1129         },
1130
1131         /* 10-19 */
1132         [TUNER_ALPS_TSBE1_PAL] = { /* TEMIC PAL */
1133                 .name   = "Alps TSBE1",
1134                 .params = tuner_alps_tsb_1_params,
1135         },
1136         [TUNER_ALPS_TSBB5_PAL_I] = { /* Alps PAL_I */
1137                 .name   = "Alps TSBB5",
1138                 .params = tuner_alps_tsbb5_params,
1139         },
1140         [TUNER_ALPS_TSBE5_PAL] = { /* Alps PAL */
1141                 .name   = "Alps TSBE5",
1142                 .params = tuner_alps_tsbe5_params,
1143         },
1144         [TUNER_ALPS_TSBC5_PAL] = { /* Alps PAL */
1145                 .name   = "Alps TSBC5",
1146                 .params = tuner_alps_tsbc5_params,
1147         },
1148         [TUNER_TEMIC_4006FH5_PAL] = { /* TEMIC PAL */
1149                 .name   = "Temic PAL_BG (4006FH5)",
1150                 .params = tuner_temic_4006fh5_params,
1151         },
1152         [TUNER_ALPS_TSHC6_NTSC] = { /* Alps NTSC */
1153                 .name   = "Alps TSCH6",
1154                 .params = tuner_alps_tshc6_params,
1155         },
1156         [TUNER_TEMIC_PAL_DK] = { /* TEMIC PAL */
1157                 .name   = "Temic PAL_DK (4016 FY5)",
1158                 .params = tuner_temic_pal_dk_params,
1159         },
1160         [TUNER_PHILIPS_NTSC_M] = { /* Philips NTSC */
1161                 .name   = "Philips NTSC_M (MK2)",
1162                 .params = tuner_philips_ntsc_m_params,
1163         },
1164         [TUNER_TEMIC_4066FY5_PAL_I] = { /* TEMIC PAL_I */
1165                 .name   = "Temic PAL_I (4066 FY5)",
1166                 .params = tuner_temic_4066fy5_pal_i_params,
1167         },
1168         [TUNER_TEMIC_4006FN5_MULTI_PAL] = { /* TEMIC PAL */
1169                 .name   = "Temic PAL* auto (4006 FN5)",
1170                 .params = tuner_temic_4006fn5_multi_params,
1171         },
1172
1173         /* 20-29 */
1174         [TUNER_TEMIC_4009FR5_PAL] = { /* TEMIC PAL */
1175                 .name   = "Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)",
1176                 .params = tuner_temic_4009f_5_params,
1177         },
1178         [TUNER_TEMIC_4039FR5_NTSC] = { /* TEMIC NTSC */
1179                 .name   = "Temic NTSC (4039 FR5)",
1180                 .params = tuner_temic_4039fr5_params,
1181         },
1182         [TUNER_TEMIC_4046FM5] = { /* TEMIC PAL */
1183                 .name   = "Temic PAL/SECAM multi (4046 FM5)",
1184                 .params = tuner_temic_4046fm5_params,
1185         },
1186         [TUNER_PHILIPS_PAL_DK] = { /* Philips PAL */
1187                 .name   = "Philips PAL_DK (FI1256 and compatibles)",
1188                 .params = tuner_philips_pal_dk_params,
1189         },
1190         [TUNER_PHILIPS_FQ1216ME] = { /* Philips PAL */
1191                 .name   = "Philips PAL/SECAM multi (FQ1216ME)",
1192                 .params = tuner_philips_fq1216me_params,
1193         },
1194         [TUNER_LG_PAL_I_FM] = { /* LGINNOTEK PAL_I */
1195                 .name   = "LG PAL_I+FM (TAPC-I001D)",
1196                 .params = tuner_lg_pal_i_fm_params,
1197         },
1198         [TUNER_LG_PAL_I] = { /* LGINNOTEK PAL_I */
1199                 .name   = "LG PAL_I (TAPC-I701D)",
1200                 .params = tuner_lg_pal_i_params,
1201         },
1202         [TUNER_LG_NTSC_FM] = { /* LGINNOTEK NTSC */
1203                 .name   = "LG NTSC+FM (TPI8NSR01F)",
1204                 .params = tuner_lg_ntsc_fm_params,
1205         },
1206         [TUNER_LG_PAL_FM] = { /* LGINNOTEK PAL */
1207                 .name   = "LG PAL_BG+FM (TPI8PSB01D)",
1208                 .params = tuner_lg_pal_fm_params,
1209         },
1210         [TUNER_LG_PAL] = { /* LGINNOTEK PAL */
1211                 .name   = "LG PAL_BG (TPI8PSB11D)",
1212                 .params = tuner_lg_pal_params,
1213         },
1214
1215         /* 30-39 */
1216         [TUNER_TEMIC_4009FN5_MULTI_PAL_FM] = { /* TEMIC PAL */
1217                 .name   = "Temic PAL* auto + FM (4009 FN5)",
1218                 .params = tuner_temic_4009_fn5_multi_pal_fm_params,
1219         },
1220         [TUNER_SHARP_2U5JF5540_NTSC] = { /* SHARP NTSC */
1221                 .name   = "SHARP NTSC_JP (2U5JF5540)",
1222                 .params = tuner_sharp_2u5jf5540_params,
1223         },
1224         [TUNER_Samsung_PAL_TCPM9091PD27] = { /* Samsung PAL */
1225                 .name   = "Samsung PAL TCPM9091PD27",
1226                 .params = tuner_samsung_pal_tcpm9091pd27_params,
1227         },
1228         [TUNER_MT2032] = { /* Microtune PAL|NTSC */
1229                 .name   = "MT20xx universal",
1230                 /* see mt20xx.c for details */ },
1231         [TUNER_TEMIC_4106FH5] = { /* TEMIC PAL */
1232                 .name   = "Temic PAL_BG (4106 FH5)",
1233                 .params = tuner_temic_4106fh5_params,
1234         },
1235         [TUNER_TEMIC_4012FY5] = { /* TEMIC PAL */
1236                 .name   = "Temic PAL_DK/SECAM_L (4012 FY5)",
1237                 .params = tuner_temic_4012fy5_params,
1238         },
1239         [TUNER_TEMIC_4136FY5] = { /* TEMIC NTSC */
1240                 .name   = "Temic NTSC (4136 FY5)",
1241                 .params = tuner_temic_4136_fy5_params,
1242         },
1243         [TUNER_LG_PAL_NEW_TAPC] = { /* LGINNOTEK PAL */
1244                 .name   = "LG PAL (newer TAPC series)",
1245                 .params = tuner_lg_pal_new_tapc_params,
1246         },
1247         [TUNER_PHILIPS_FM1216ME_MK3] = { /* Philips PAL */
1248                 .name   = "Philips PAL/SECAM multi (FM1216ME MK3)",
1249                 .params = tuner_fm1216me_mk3_params,
1250         },
1251         [TUNER_LG_NTSC_NEW_TAPC] = { /* LGINNOTEK NTSC */
1252                 .name   = "LG NTSC (newer TAPC series)",
1253                 .params = tuner_lg_ntsc_new_tapc_params,
1254         },
1255
1256         /* 40-49 */
1257         [TUNER_HITACHI_NTSC] = { /* HITACHI NTSC */
1258                 .name   = "HITACHI V7-J180AT",
1259                 .params = tuner_hitachi_ntsc_params,
1260         },
1261         [TUNER_PHILIPS_PAL_MK] = { /* Philips PAL */
1262                 .name   = "Philips PAL_MK (FI1216 MK)",
1263                 .params = tuner_philips_pal_mk_params,
1264         },
1265         [TUNER_PHILIPS_ATSC] = { /* Philips ATSC */
1266                 .name   = "Philips 1236D ATSC/NTSC dual in",
1267                 .params = tuner_philips_atsc_params,
1268         },
1269         [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */
1270                 .name   = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)",
1271                 .params = tuner_fm1236_mk3_params,
1272         },
1273         [TUNER_PHILIPS_4IN1] = { /* Philips NTSC */
1274                 .name   = "Philips 4 in 1 (ATI TV Wonder Pro/Conexant)",
1275                 .params = tuner_philips_4in1_params,
1276         },
1277         [TUNER_MICROTUNE_4049FM5] = { /* Microtune PAL */
1278                 .name   = "Microtune 4049 FM5",
1279                 .params = tuner_microtune_4049_fm5_params,
1280         },
1281         [TUNER_PANASONIC_VP27] = { /* Panasonic NTSC */
1282                 .name   = "Panasonic VP27s/ENGE4324D",
1283                 .params = tuner_panasonic_vp27_params,
1284         },
1285         [TUNER_LG_NTSC_TAPE] = { /* LGINNOTEK NTSC */
1286                 .name   = "LG NTSC (TAPE series)",
1287                 .params = tuner_fm1236_mk3_params,
1288         },
1289         [TUNER_TNF_8831BGFF] = { /* Philips PAL */
1290                 .name   = "Tenna TNF 8831 BGFF)",
1291                 .params = tuner_tnf_8831bgff_params,
1292         },
1293         [TUNER_MICROTUNE_4042FI5] = { /* Microtune NTSC */
1294                 .name   = "Microtune 4042 FI5 ATSC/NTSC dual in",
1295                 .params = tuner_microtune_4042fi5_params,
1296         },
1297
1298         /* 50-59 */
1299         [TUNER_TCL_2002N] = { /* TCL NTSC */
1300                 .name   = "TCL 2002N",
1301                 .params = tuner_tcl_2002n_params,
1302         },
1303         [TUNER_PHILIPS_FM1256_IH3] = { /* Philips PAL */
1304                 .name   = "Philips PAL/SECAM_D (FM 1256 I-H3)",
1305                 .params = tuner_philips_fm1256_ih3_params,
1306         },
1307         [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */
1308                 .name   = "Thomson DTT 7610 (ATSC/NTSC)",
1309                 .params = tuner_thomson_dtt7610_params,
1310         },
1311         [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */
1312                 .name   = "Philips FQ1286",
1313                 .params = tuner_philips_fq1286_params,
1314         },
1315         [TUNER_PHILIPS_TDA8290] = { /* Philips PAL|NTSC */
1316                 .name   = "tda8290+75",
1317                 /* see tda8290.c for details */ },
1318         [TUNER_TCL_2002MB] = { /* TCL PAL */
1319                 .name   = "TCL 2002MB",
1320                 .params = tuner_tcl_2002mb_params,
1321         },
1322         [TUNER_PHILIPS_FQ1216AME_MK4] = { /* Philips PAL */
1323                 .name   = "Philips PAL/SECAM multi (FQ1216AME MK4)",
1324                 .params = tuner_philips_fq1216ame_mk4_params,
1325         },
1326         [TUNER_PHILIPS_FQ1236A_MK4] = { /* Philips NTSC */
1327                 .name   = "Philips FQ1236A MK4",
1328                 .params = tuner_philips_fq1236a_mk4_params,
1329         },
1330         [TUNER_YMEC_TVF_8531MF] = { /* Philips NTSC */
1331                 .name   = "Ymec TVision TVF-8531MF/8831MF/8731MF",
1332                 .params = tuner_ymec_tvf_8531mf_params,
1333         },
1334         [TUNER_YMEC_TVF_5533MF] = { /* Philips NTSC */
1335                 .name   = "Ymec TVision TVF-5533MF",
1336                 .params = tuner_ymec_tvf_5533mf_params,
1337         },
1338
1339         /* 60-69 */
1340         [TUNER_THOMSON_DTT761X] = { /* THOMSON ATSC */
1341                 /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
1342                 .name   = "Thomson DTT 761X (ATSC/NTSC)",
1343                 .params = tuner_thomson_dtt761x_params,
1344         },
1345         [TUNER_TENA_9533_DI] = { /* Philips PAL */
1346                 .name   = "Tena TNF9533-D/IF/TNF9533-B/DF",
1347                 .params = tuner_tena_9533_di_params,
1348         },
1349         [TUNER_TEA5767] = { /* Philips RADIO */
1350                 .name   = "Philips TEA5767HN FM Radio",
1351                 /* see tea5767.c for details */
1352         },
1353         [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */
1354                 .name   = "Philips FMD1216ME MK3 Hybrid Tuner",
1355                 .params = tuner_tuner_philips_fmd1216me_mk3_params,
1356         },
1357         [TUNER_LG_TDVS_H062F] = { /* LGINNOTEK ATSC */
1358                 .name   = "LG TDVS-H062F/TUA6034",
1359                 .params = tuner_tua6034_params,
1360         },
1361         [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */
1362                 .name   = "Ymec TVF66T5-B/DFF",
1363                 .params = tuner_ymec_tvf66t5_b_dff_params,
1364         },
1365         [TUNER_LG_NTSC_TALN_MINI] = { /* LGINNOTEK NTSC */
1366                 .name   = "LG NTSC (TALN mini series)",
1367                 .params = tuner_lg_taln_mini_params,
1368         },
1369         [TUNER_PHILIPS_TD1316] = { /* Philips PAL */
1370                 .name   = "Philips TD1316 Hybrid Tuner",
1371                 .params = tuner_philips_td1316_params,
1372         },
1373         [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */
1374                 .name   = "Philips TUV1236D ATSC/NTSC dual in",
1375                 .params = tuner_tuner_tuv1236d_params,
1376         },
1377         [TUNER_TNF_5335MF] = { /* Philips NTSC */
1378                 .name   = "Tena TNF 5335 MF",
1379                 .params = tuner_tnf_5335mf_params,
1380         },
1381
1382         /* 70-79 */
1383         [TUNER_SAMSUNG_TCPN_2121P30A] = { /* Samsung NTSC */
1384                 .name   = "Samsung TCPN 2121P30A",
1385                 .params = tuner_samsung_tcpn_2121p30a_params,
1386         },
1387 };
1388
1389 unsigned const int tuner_count = ARRAY_SIZE(tuners);