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