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