blob: 8fff642fad56fa8e2579c2741d96818ea6850d94 [file] [log] [blame]
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001/*
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 *
Michael Krufky99d33d52006-02-07 06:25:36 -020026 * 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.
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020029 *
Michael Krufky99d33d52006-02-07 06:25:36 -020030 * 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.
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020036 */
37
38/* 0-9 */
39/* ------------ TUNER_TEMIC_PAL - TEMIC PAL ------------ */
40
41static struct tuner_range tuner_temic_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -020042 { 16 * 140.25 /*MHz*/, 0x8e, 0x02, },
43 { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
44 { 16 * 999.99 , 0x8e, 0x01, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020045};
46
47static struct tuner_params tuner_temic_pal_params[] = {
48 {
49 .type = TUNER_PARAM_TYPE_PAL,
50 .ranges = tuner_temic_pal_ranges,
51 .count = ARRAY_SIZE(tuner_temic_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020052 },
53};
54
55/* ------------ TUNER_PHILIPS_PAL_I - Philips PAL_I ------------ */
56
57static struct tuner_range tuner_philips_pal_i_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -020058 { 16 * 140.25 /*MHz*/, 0x8e, 0xa0, },
59 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
60 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020061};
62
63static struct tuner_params tuner_philips_pal_i_params[] = {
64 {
65 .type = TUNER_PARAM_TYPE_PAL,
66 .ranges = tuner_philips_pal_i_ranges,
67 .count = ARRAY_SIZE(tuner_philips_pal_i_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020068 },
69};
70
71/* ------------ TUNER_PHILIPS_NTSC - Philips NTSC ------------ */
72
73static struct tuner_range tuner_philips_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -020074 { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
75 { 16 * 451.25 /*MHz*/, 0x8e, 0x90, },
76 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020077};
78
79static struct tuner_params tuner_philips_ntsc_params[] = {
80 {
81 .type = TUNER_PARAM_TYPE_NTSC,
82 .ranges = tuner_philips_ntsc_ranges,
83 .count = ARRAY_SIZE(tuner_philips_ntsc_ranges),
Hans Verkuil27487d42006-01-15 15:04:52 -020084 .cb_first_if_lower_freq = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020085 },
86};
87
88/* ------------ TUNER_PHILIPS_SECAM - Philips SECAM ------------ */
89
90static struct tuner_range tuner_philips_secam_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -020091 { 16 * 168.25 /*MHz*/, 0x8e, 0xa7, },
92 { 16 * 447.25 /*MHz*/, 0x8e, 0x97, },
93 { 16 * 999.99 , 0x8e, 0x37, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020094};
95
96static struct tuner_params tuner_philips_secam_params[] = {
97 {
98 .type = TUNER_PARAM_TYPE_SECAM,
99 .ranges = tuner_philips_secam_ranges,
100 .count = ARRAY_SIZE(tuner_philips_secam_ranges),
Hans Verkuil27487d42006-01-15 15:04:52 -0200101 .cb_first_if_lower_freq = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200102 },
103};
104
105/* ------------ TUNER_PHILIPS_PAL - Philips PAL ------------ */
106
107static struct tuner_range tuner_philips_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200108 { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, },
109 { 16 * 447.25 /*MHz*/, 0x8e, 0x90, },
110 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200111};
112
113static struct tuner_params tuner_philips_pal_params[] = {
114 {
115 .type = TUNER_PARAM_TYPE_PAL,
116 .ranges = tuner_philips_pal_ranges,
117 .count = ARRAY_SIZE(tuner_philips_pal_ranges),
Hans Verkuil27487d42006-01-15 15:04:52 -0200118 .cb_first_if_lower_freq = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200119 },
120};
121
122/* ------------ TUNER_TEMIC_NTSC - TEMIC NTSC ------------ */
123
124static struct tuner_range tuner_temic_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200125 { 16 * 157.25 /*MHz*/, 0x8e, 0x02, },
126 { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
127 { 16 * 999.99 , 0x8e, 0x01, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200128};
129
130static struct tuner_params tuner_temic_ntsc_params[] = {
131 {
132 .type = TUNER_PARAM_TYPE_NTSC,
133 .ranges = tuner_temic_ntsc_ranges,
134 .count = ARRAY_SIZE(tuner_temic_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200135 },
136};
137
138/* ------------ TUNER_TEMIC_PAL_I - TEMIC PAL_I ------------ */
139
140static struct tuner_range tuner_temic_pal_i_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200141 { 16 * 170.00 /*MHz*/, 0x8e, 0x02, },
142 { 16 * 450.00 /*MHz*/, 0x8e, 0x04, },
143 { 16 * 999.99 , 0x8e, 0x01, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200144};
145
146static struct tuner_params tuner_temic_pal_i_params[] = {
147 {
148 .type = TUNER_PARAM_TYPE_PAL,
149 .ranges = tuner_temic_pal_i_ranges,
150 .count = ARRAY_SIZE(tuner_temic_pal_i_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200151 },
152};
153
154/* ------------ TUNER_TEMIC_4036FY5_NTSC - TEMIC NTSC ------------ */
155
156static struct tuner_range tuner_temic_4036fy5_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200157 { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
158 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
159 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200160};
161
162static struct tuner_params tuner_temic_4036fy5_ntsc_params[] = {
163 {
164 .type = TUNER_PARAM_TYPE_NTSC,
165 .ranges = tuner_temic_4036fy5_ntsc_ranges,
166 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200167 },
168};
169
170/* ------------ TUNER_ALPS_TSBH1_NTSC - TEMIC NTSC ------------ */
171
172static struct tuner_range tuner_alps_tsb_1_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200173 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
174 { 16 * 385.25 /*MHz*/, 0x8e, 0x02, },
175 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200176};
177
178static struct tuner_params tuner_alps_tsbh1_ntsc_params[] = {
179 {
180 .type = TUNER_PARAM_TYPE_NTSC,
181 .ranges = tuner_alps_tsb_1_ranges,
182 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200183 },
184};
185
186/* 10-19 */
187/* ------------ TUNER_ALPS_TSBE1_PAL - TEMIC PAL ------------ */
188
189static struct tuner_params tuner_alps_tsb_1_params[] = {
190 {
191 .type = TUNER_PARAM_TYPE_PAL,
192 .ranges = tuner_alps_tsb_1_ranges,
193 .count = ARRAY_SIZE(tuner_alps_tsb_1_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200194 },
195};
196
197/* ------------ TUNER_ALPS_TSBB5_PAL_I - Alps PAL_I ------------ */
198
199static struct tuner_range tuner_alps_tsb_5_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200200 { 16 * 133.25 /*MHz*/, 0x8e, 0x01, },
201 { 16 * 351.25 /*MHz*/, 0x8e, 0x02, },
202 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200203};
204
205static struct tuner_params tuner_alps_tsbb5_params[] = {
206 {
207 .type = TUNER_PARAM_TYPE_PAL,
208 .ranges = tuner_alps_tsb_5_pal_ranges,
209 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200210 },
211};
212
213/* ------------ TUNER_ALPS_TSBE5_PAL - Alps PAL ------------ */
214
215static struct tuner_params tuner_alps_tsbe5_params[] = {
216 {
217 .type = TUNER_PARAM_TYPE_PAL,
218 .ranges = tuner_alps_tsb_5_pal_ranges,
219 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200220 },
221};
222
223/* ------------ TUNER_ALPS_TSBC5_PAL - Alps PAL ------------ */
224
225static struct tuner_params tuner_alps_tsbc5_params[] = {
226 {
227 .type = TUNER_PARAM_TYPE_PAL,
228 .ranges = tuner_alps_tsb_5_pal_ranges,
229 .count = ARRAY_SIZE(tuner_alps_tsb_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200230 },
231};
232
233/* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */
234
Michael Krufkycc925bb2006-01-23 17:11:11 -0200235static struct tuner_range tuner_lg_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200236 { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, },
237 { 16 * 450.00 /*MHz*/, 0x8e, 0x90, },
238 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200239};
240
241static struct tuner_params tuner_temic_4006fh5_params[] = {
242 {
243 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200244 .ranges = tuner_lg_pal_ranges,
245 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200246 },
247};
248
249/* ------------ TUNER_ALPS_TSHC6_NTSC - Alps NTSC ------------ */
250
251static struct tuner_range tuner_alps_tshc6_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200252 { 16 * 137.25 /*MHz*/, 0x8e, 0x14, },
253 { 16 * 385.25 /*MHz*/, 0x8e, 0x12, },
254 { 16 * 999.99 , 0x8e, 0x11, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200255};
256
257static struct tuner_params tuner_alps_tshc6_params[] = {
258 {
259 .type = TUNER_PARAM_TYPE_NTSC,
260 .ranges = tuner_alps_tshc6_ntsc_ranges,
261 .count = ARRAY_SIZE(tuner_alps_tshc6_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200262 },
263};
264
265/* ------------ TUNER_TEMIC_PAL_DK - TEMIC PAL ------------ */
266
267static struct tuner_range tuner_temic_pal_dk_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200268 { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, },
269 { 16 * 456.25 /*MHz*/, 0x8e, 0x90, },
270 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200271};
272
273static struct tuner_params tuner_temic_pal_dk_params[] = {
274 {
275 .type = TUNER_PARAM_TYPE_PAL,
276 .ranges = tuner_temic_pal_dk_ranges,
277 .count = ARRAY_SIZE(tuner_temic_pal_dk_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200278 },
279};
280
281/* ------------ TUNER_PHILIPS_NTSC_M - Philips NTSC ------------ */
282
283static struct tuner_range tuner_philips_ntsc_m_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200284 { 16 * 160.00 /*MHz*/, 0x8e, 0xa0, },
285 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
286 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200287};
288
289static struct tuner_params tuner_philips_ntsc_m_params[] = {
290 {
291 .type = TUNER_PARAM_TYPE_NTSC,
292 .ranges = tuner_philips_ntsc_m_ranges,
293 .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200294 },
295};
296
297/* ------------ TUNER_TEMIC_4066FY5_PAL_I - TEMIC PAL_I ------------ */
298
299static struct tuner_range tuner_temic_40x6f_5_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200300 { 16 * 169.00 /*MHz*/, 0x8e, 0xa0, },
301 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
302 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200303};
304
305static struct tuner_params tuner_temic_4066fy5_pal_i_params[] = {
306 {
307 .type = TUNER_PARAM_TYPE_PAL,
308 .ranges = tuner_temic_40x6f_5_pal_ranges,
309 .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200310 },
311};
312
313/* ------------ TUNER_TEMIC_4006FN5_MULTI_PAL - TEMIC PAL ------------ */
314
315static struct tuner_params tuner_temic_4006fn5_multi_params[] = {
316 {
317 .type = TUNER_PARAM_TYPE_PAL,
318 .ranges = tuner_temic_40x6f_5_pal_ranges,
319 .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200320 },
321};
322
323/* 20-29 */
324/* ------------ TUNER_TEMIC_4009FR5_PAL - TEMIC PAL ------------ */
325
326static struct tuner_range tuner_temic_4009f_5_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200327 { 16 * 141.00 /*MHz*/, 0x8e, 0xa0, },
328 { 16 * 464.00 /*MHz*/, 0x8e, 0x90, },
329 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200330};
331
332static struct tuner_params tuner_temic_4009f_5_params[] = {
333 {
334 .type = TUNER_PARAM_TYPE_PAL,
335 .ranges = tuner_temic_4009f_5_pal_ranges,
336 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200337 },
338};
339
340/* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */
341
Michael Krufkycc925bb2006-01-23 17:11:11 -0200342static struct tuner_range tuner_temic_4x3x_f_5_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200343 { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, },
344 { 16 * 453.00 /*MHz*/, 0x8e, 0x90, },
345 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200346};
347
348static struct tuner_params tuner_temic_4039fr5_params[] = {
349 {
350 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200351 .ranges = tuner_temic_4x3x_f_5_ntsc_ranges,
352 .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200353 },
354};
355
356/* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */
357
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200358static struct tuner_params tuner_temic_4046fm5_params[] = {
359 {
360 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200361 .ranges = tuner_temic_40x6f_5_pal_ranges,
362 .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200363 },
364};
365
366/* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */
367
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200368static struct tuner_params tuner_philips_pal_dk_params[] = {
369 {
370 .type = TUNER_PARAM_TYPE_PAL,
371 .ranges = tuner_lg_pal_ranges,
372 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200373 },
374};
375
376/* ------------ TUNER_PHILIPS_FQ1216ME - Philips PAL ------------ */
377
378static struct tuner_params tuner_philips_fq1216me_params[] = {
379 {
380 .type = TUNER_PARAM_TYPE_PAL,
381 .ranges = tuner_lg_pal_ranges,
382 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300383 .has_tda9887 = 1,
384 .port1_active = 1,
385 .port2_active = 1,
386 .port2_invert_for_secam_lc = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200387 },
388};
389
390/* ------------ TUNER_LG_PAL_I_FM - LGINNOTEK PAL_I ------------ */
391
392static struct tuner_params tuner_lg_pal_i_fm_params[] = {
393 {
394 .type = TUNER_PARAM_TYPE_PAL,
395 .ranges = tuner_lg_pal_ranges,
396 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200397 },
398};
399
400/* ------------ TUNER_LG_PAL_I - LGINNOTEK PAL_I ------------ */
401
402static struct tuner_params tuner_lg_pal_i_params[] = {
403 {
404 .type = TUNER_PARAM_TYPE_PAL,
405 .ranges = tuner_lg_pal_ranges,
406 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200407 },
408};
409
410/* ------------ TUNER_LG_NTSC_FM - LGINNOTEK NTSC ------------ */
411
412static struct tuner_range tuner_lg_ntsc_fm_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200413 { 16 * 210.00 /*MHz*/, 0x8e, 0xa0, },
414 { 16 * 497.00 /*MHz*/, 0x8e, 0x90, },
415 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200416};
417
418static struct tuner_params tuner_lg_ntsc_fm_params[] = {
419 {
420 .type = TUNER_PARAM_TYPE_NTSC,
421 .ranges = tuner_lg_ntsc_fm_ranges,
422 .count = ARRAY_SIZE(tuner_lg_ntsc_fm_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200423 },
424};
425
426/* ------------ TUNER_LG_PAL_FM - LGINNOTEK PAL ------------ */
427
428static struct tuner_params tuner_lg_pal_fm_params[] = {
429 {
430 .type = TUNER_PARAM_TYPE_PAL,
431 .ranges = tuner_lg_pal_ranges,
432 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200433 },
434};
435
436/* ------------ TUNER_LG_PAL - LGINNOTEK PAL ------------ */
437
438static struct tuner_params tuner_lg_pal_params[] = {
439 {
440 .type = TUNER_PARAM_TYPE_PAL,
441 .ranges = tuner_lg_pal_ranges,
442 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200443 },
444};
445
446/* 30-39 */
447/* ------------ TUNER_TEMIC_4009FN5_MULTI_PAL_FM - TEMIC PAL ------------ */
448
449static struct tuner_params tuner_temic_4009_fn5_multi_pal_fm_params[] = {
450 {
451 .type = TUNER_PARAM_TYPE_PAL,
452 .ranges = tuner_temic_4009f_5_pal_ranges,
453 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200454 },
455};
456
457/* ------------ TUNER_SHARP_2U5JF5540_NTSC - SHARP NTSC ------------ */
458
459static struct tuner_range tuner_sharp_2u5jf5540_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200460 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
461 { 16 * 317.25 /*MHz*/, 0x8e, 0x02, },
462 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200463};
464
465static struct tuner_params tuner_sharp_2u5jf5540_params[] = {
466 {
467 .type = TUNER_PARAM_TYPE_NTSC,
468 .ranges = tuner_sharp_2u5jf5540_ntsc_ranges,
469 .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200470 },
471};
472
473/* ------------ TUNER_Samsung_PAL_TCPM9091PD27 - Samsung PAL ------------ */
474
475static struct tuner_range tuner_samsung_pal_tcpm9091pd27_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200476 { 16 * 169 /*MHz*/, 0x8e, 0xa0, },
477 { 16 * 464 /*MHz*/, 0x8e, 0x90, },
478 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200479};
480
481static struct tuner_params tuner_samsung_pal_tcpm9091pd27_params[] = {
482 {
483 .type = TUNER_PARAM_TYPE_PAL,
484 .ranges = tuner_samsung_pal_tcpm9091pd27_ranges,
485 .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200486 },
487};
488
489/* ------------ TUNER_TEMIC_4106FH5 - TEMIC PAL ------------ */
490
491static struct tuner_params tuner_temic_4106fh5_params[] = {
492 {
493 .type = TUNER_PARAM_TYPE_PAL,
494 .ranges = tuner_temic_4009f_5_pal_ranges,
495 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200496 },
497};
498
499/* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */
500
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200501static struct tuner_params tuner_temic_4012fy5_params[] = {
502 {
503 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200504 .ranges = tuner_temic_pal_ranges,
505 .count = ARRAY_SIZE(tuner_temic_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200506 },
507};
508
509/* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */
510
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200511static struct tuner_params tuner_temic_4136_fy5_params[] = {
512 {
513 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200514 .ranges = tuner_temic_4x3x_f_5_ntsc_ranges,
515 .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200516 },
517};
518
519/* ------------ TUNER_LG_PAL_NEW_TAPC - LGINNOTEK PAL ------------ */
520
521static struct tuner_range tuner_lg_new_tapc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200522 { 16 * 170.00 /*MHz*/, 0x8e, 0x01, },
523 { 16 * 450.00 /*MHz*/, 0x8e, 0x02, },
524 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200525};
526
527static struct tuner_params tuner_lg_pal_new_tapc_params[] = {
528 {
529 .type = TUNER_PARAM_TYPE_PAL,
530 .ranges = tuner_lg_new_tapc_ranges,
531 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200532 },
533};
534
535/* ------------ TUNER_PHILIPS_FM1216ME_MK3 - Philips PAL ------------ */
536
537static struct tuner_range tuner_fm1216me_mk3_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200538 { 16 * 158.00 /*MHz*/, 0x8e, 0x01, },
539 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
540 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200541};
542
543static struct tuner_params tuner_fm1216me_mk3_params[] = {
544 {
545 .type = TUNER_PARAM_TYPE_PAL,
546 .ranges = tuner_fm1216me_mk3_pal_ranges,
547 .count = ARRAY_SIZE(tuner_fm1216me_mk3_pal_ranges),
Hans Verkuil27487d42006-01-15 15:04:52 -0200548 .cb_first_if_lower_freq = 1,
Hans Verkuilba8fc392006-06-25 15:34:39 -0300549 .has_tda9887 = 1,
550 .port1_active = 1,
551 .port2_active = 1,
552 .port2_invert_for_secam_lc = 1,
553 .port1_fm_high_sensitivity = 1,
554 .default_top_mid = -2,
555 .default_top_secam_mid = -2,
556 .default_top_secam_high = -2,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200557 },
558};
559
560/* ------------ TUNER_LG_NTSC_NEW_TAPC - LGINNOTEK NTSC ------------ */
561
562static struct tuner_params tuner_lg_ntsc_new_tapc_params[] = {
563 {
564 .type = TUNER_PARAM_TYPE_NTSC,
565 .ranges = tuner_lg_new_tapc_ranges,
566 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200567 },
568};
569
570/* 40-49 */
571/* ------------ TUNER_HITACHI_NTSC - HITACHI NTSC ------------ */
572
573static struct tuner_params tuner_hitachi_ntsc_params[] = {
574 {
575 .type = TUNER_PARAM_TYPE_NTSC,
576 .ranges = tuner_lg_new_tapc_ranges,
577 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200578 },
579};
580
581/* ------------ TUNER_PHILIPS_PAL_MK - Philips PAL ------------ */
582
583static struct tuner_range tuner_philips_pal_mk_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200584 { 16 * 140.25 /*MHz*/, 0x8e, 0x01, },
585 { 16 * 463.25 /*MHz*/, 0x8e, 0xc2, },
586 { 16 * 999.99 , 0x8e, 0xcf, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200587};
588
589static struct tuner_params tuner_philips_pal_mk_params[] = {
590 {
591 .type = TUNER_PARAM_TYPE_PAL,
592 .ranges = tuner_philips_pal_mk_pal_ranges,
593 .count = ARRAY_SIZE(tuner_philips_pal_mk_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200594 },
595};
596
597/* ------------ TUNER_PHILIPS_ATSC - Philips ATSC ------------ */
598
599static struct tuner_range tuner_philips_atsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200600 { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
601 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
602 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200603};
604
605static struct tuner_params tuner_philips_atsc_params[] = {
606 {
607 .type = TUNER_PARAM_TYPE_NTSC,
608 .ranges = tuner_philips_atsc_ranges,
609 .count = ARRAY_SIZE(tuner_philips_atsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200610 },
611};
612
613/* ------------ TUNER_PHILIPS_FM1236_MK3 - Philips NTSC ------------ */
614
615static struct tuner_range tuner_fm1236_mk3_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200616 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
617 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
618 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200619};
620
621static struct tuner_params tuner_fm1236_mk3_params[] = {
622 {
623 .type = TUNER_PARAM_TYPE_NTSC,
624 .ranges = tuner_fm1236_mk3_ntsc_ranges,
625 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Hans Verkuil27487d42006-01-15 15:04:52 -0200626 .cb_first_if_lower_freq = 1,
Hans Verkuilba8fc392006-06-25 15:34:39 -0300627 .has_tda9887 = 1,
628 .port1_active = 1,
629 .port2_active = 1,
630 .port1_fm_high_sensitivity = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200631 },
632};
633
634/* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */
635
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200636static struct tuner_params tuner_philips_4in1_params[] = {
637 {
638 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200639 .ranges = tuner_fm1236_mk3_ntsc_ranges,
640 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200641 },
642};
643
644/* ------------ TUNER_MICROTUNE_4049FM5 - Microtune PAL ------------ */
645
646static struct tuner_params tuner_microtune_4049_fm5_params[] = {
647 {
648 .type = TUNER_PARAM_TYPE_PAL,
649 .ranges = tuner_temic_4009f_5_pal_ranges,
650 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300651 .has_tda9887 = 1,
652 .port1_invert_for_secam_lc = 1,
Trent Piephod7304de2006-08-24 22:43:45 -0300653 .default_pll_gating_18 = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200654 },
655};
656
657/* ------------ TUNER_PANASONIC_VP27 - Panasonic NTSC ------------ */
658
659static struct tuner_range tuner_panasonic_vp27_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200660 { 16 * 160.00 /*MHz*/, 0xce, 0x01, },
661 { 16 * 454.00 /*MHz*/, 0xce, 0x02, },
662 { 16 * 999.99 , 0xce, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200663};
664
665static struct tuner_params tuner_panasonic_vp27_params[] = {
666 {
667 .type = TUNER_PARAM_TYPE_NTSC,
668 .ranges = tuner_panasonic_vp27_ntsc_ranges,
669 .count = ARRAY_SIZE(tuner_panasonic_vp27_ntsc_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300670 .has_tda9887 = 1,
671 .intercarrier_mode = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200672 },
673};
674
675/* ------------ TUNER_LG_NTSC_TAPE - LGINNOTEK NTSC ------------ */
676
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200677static struct tuner_params tuner_lg_ntsc_tape_params[] = {
678 {
679 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200680 .ranges = tuner_fm1236_mk3_ntsc_ranges,
681 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200682 },
683};
684
685/* ------------ TUNER_TNF_8831BGFF - Philips PAL ------------ */
686
687static struct tuner_range tuner_tnf_8831bgff_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200688 { 16 * 161.25 /*MHz*/, 0x8e, 0xa0, },
689 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
690 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200691};
692
693static struct tuner_params tuner_tnf_8831bgff_params[] = {
694 {
695 .type = TUNER_PARAM_TYPE_PAL,
696 .ranges = tuner_tnf_8831bgff_pal_ranges,
697 .count = ARRAY_SIZE(tuner_tnf_8831bgff_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200698 },
699};
700
701/* ------------ TUNER_MICROTUNE_4042FI5 - Microtune NTSC ------------ */
702
703static struct tuner_range tuner_microtune_4042fi5_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200704 { 16 * 162.00 /*MHz*/, 0x8e, 0xa2, },
705 { 16 * 457.00 /*MHz*/, 0x8e, 0x94, },
706 { 16 * 999.99 , 0x8e, 0x31, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200707};
708
709static struct tuner_params tuner_microtune_4042fi5_params[] = {
710 {
711 .type = TUNER_PARAM_TYPE_NTSC,
712 .ranges = tuner_microtune_4042fi5_ntsc_ranges,
713 .count = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200714 },
715};
716
717/* 50-59 */
718/* ------------ TUNER_TCL_2002N - TCL NTSC ------------ */
719
720static struct tuner_range tuner_tcl_2002n_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200721 { 16 * 172.00 /*MHz*/, 0x8e, 0x01, },
722 { 16 * 448.00 /*MHz*/, 0x8e, 0x02, },
723 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200724};
725
726static struct tuner_params tuner_tcl_2002n_params[] = {
727 {
728 .type = TUNER_PARAM_TYPE_NTSC,
729 .ranges = tuner_tcl_2002n_ntsc_ranges,
730 .count = ARRAY_SIZE(tuner_tcl_2002n_ntsc_ranges),
Hans Verkuil27487d42006-01-15 15:04:52 -0200731 .cb_first_if_lower_freq = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200732 },
733};
734
735/* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */
736
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200737static struct tuner_params tuner_philips_fm1256_ih3_params[] = {
738 {
739 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200740 .ranges = tuner_fm1236_mk3_ntsc_ranges,
741 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200742 },
743};
744
745/* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */
746
747static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200748 { 16 * 157.25 /*MHz*/, 0x8e, 0x39, },
749 { 16 * 454.00 /*MHz*/, 0x8e, 0x3a, },
750 { 16 * 999.99 , 0x8e, 0x3c, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200751};
752
753static struct tuner_params tuner_thomson_dtt7610_params[] = {
754 {
755 .type = TUNER_PARAM_TYPE_NTSC,
756 .ranges = tuner_thomson_dtt7610_ntsc_ranges,
757 .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200758 },
759};
760
761/* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */
762
763static struct tuner_range tuner_philips_fq1286_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200764 { 16 * 160.00 /*MHz*/, 0x8e, 0x41, },
765 { 16 * 454.00 /*MHz*/, 0x8e, 0x42, },
766 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200767};
768
769static struct tuner_params tuner_philips_fq1286_params[] = {
770 {
771 .type = TUNER_PARAM_TYPE_NTSC,
772 .ranges = tuner_philips_fq1286_ntsc_ranges,
773 .count = ARRAY_SIZE(tuner_philips_fq1286_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200774 },
775};
776
777/* ------------ TUNER_TCL_2002MB - TCL PAL ------------ */
778
779static struct tuner_range tuner_tcl_2002mb_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200780 { 16 * 170.00 /*MHz*/, 0xce, 0x01, },
781 { 16 * 450.00 /*MHz*/, 0xce, 0x02, },
782 { 16 * 999.99 , 0xce, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200783};
784
785static struct tuner_params tuner_tcl_2002mb_params[] = {
786 {
787 .type = TUNER_PARAM_TYPE_PAL,
788 .ranges = tuner_tcl_2002mb_pal_ranges,
789 .count = ARRAY_SIZE(tuner_tcl_2002mb_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200790 },
791};
792
793/* ------------ TUNER_PHILIPS_FQ1216AME_MK4 - Philips PAL ------------ */
794
Michael Krufky3fc46d32006-01-23 17:11:11 -0200795static struct tuner_range tuner_philips_fq12_6a___mk4_pal_ranges[] = {
796 { 16 * 160.00 /*MHz*/, 0xce, 0x01, },
797 { 16 * 442.00 /*MHz*/, 0xce, 0x02, },
798 { 16 * 999.99 , 0xce, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200799};
800
801static struct tuner_params tuner_philips_fq1216ame_mk4_params[] = {
802 {
803 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufky3fc46d32006-01-23 17:11:11 -0200804 .ranges = tuner_philips_fq12_6a___mk4_pal_ranges,
805 .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300806 .has_tda9887 = 1,
807 .port1_active = 1,
808 .port2_invert_for_secam_lc = 1,
809 .default_top_mid = -2,
810 .default_top_secam_low = -2,
811 .default_top_secam_mid = -2,
812 .default_top_secam_high = -2,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200813 },
814};
815
816/* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */
817
818static struct tuner_params tuner_philips_fq1236a_mk4_params[] = {
819 {
820 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200821 .ranges = tuner_fm1236_mk3_ntsc_ranges,
822 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200823 },
824};
825
826/* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */
827
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200828static struct tuner_params tuner_ymec_tvf_8531mf_params[] = {
829 {
830 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200831 .ranges = tuner_philips_ntsc_m_ranges,
832 .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200833 },
834};
835
836/* ------------ TUNER_YMEC_TVF_5533MF - Philips NTSC ------------ */
837
838static struct tuner_range tuner_ymec_tvf_5533mf_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200839 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
840 { 16 * 454.00 /*MHz*/, 0x8e, 0x02, },
841 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200842};
843
844static struct tuner_params tuner_ymec_tvf_5533mf_params[] = {
845 {
846 .type = TUNER_PARAM_TYPE_NTSC,
847 .ranges = tuner_ymec_tvf_5533mf_ntsc_ranges,
848 .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200849 },
850};
851
852/* 60-69 */
853/* ------------ TUNER_THOMSON_DTT761X - THOMSON ATSC ------------ */
854/* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
855
856static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200857 { 16 * 145.25 /*MHz*/, 0x8e, 0x39, },
858 { 16 * 415.25 /*MHz*/, 0x8e, 0x3a, },
859 { 16 * 999.99 , 0x8e, 0x3c, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200860};
861
862
863static struct tuner_params tuner_thomson_dtt761x_params[] = {
864 {
865 .type = TUNER_PARAM_TYPE_NTSC,
866 .ranges = tuner_thomson_dtt761x_ntsc_ranges,
867 .count = ARRAY_SIZE(tuner_thomson_dtt761x_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200868 },
869};
870
871/* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */
872
Michael Krufkycc925bb2006-01-23 17:11:11 -0200873static struct tuner_range tuner_tena_9533_di_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200874 { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
875 { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
876 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200877};
878
879static struct tuner_params tuner_tena_9533_di_params[] = {
880 {
881 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200882 .ranges = tuner_tena_9533_di_pal_ranges,
883 .count = ARRAY_SIZE(tuner_tena_9533_di_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200884 },
885};
886
887/* ------------ TUNER_PHILIPS_FMD1216ME_MK3 - Philips PAL ------------ */
888
889static struct tuner_range tuner_philips_fmd1216me_mk3_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200890 { 16 * 160.00 /*MHz*/, 0x86, 0x51, },
891 { 16 * 442.00 /*MHz*/, 0x86, 0x52, },
892 { 16 * 999.99 , 0x86, 0x54, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200893};
894
895
Michael Krufkycc925bb2006-01-23 17:11:11 -0200896static struct tuner_params tuner_philips_fmd1216me_mk3_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200897 {
898 .type = TUNER_PARAM_TYPE_PAL,
899 .ranges = tuner_philips_fmd1216me_mk3_pal_ranges,
900 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300901 .has_tda9887 = 1,
902 .port1_active = 1,
903 .port2_active = 1,
904 .port2_fm_high_sensitivity = 1,
905 .port2_invert_for_secam_lc = 1,
906 .port1_set_for_fm_mono = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200907 },
908};
909
910
Michael Krufky9c26c8b2006-04-27 01:29:17 -0300911/* ------ TUNER_LG_TDVS_H06XF - LG INNOTEK / INFINEON ATSC ----- */
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200912
913static struct tuner_range tuner_tua6034_ntsc_ranges[] = {
Rusty Scottdd31d5ac2006-04-22 16:15:07 -0300914 { 16 * 165.00 /*MHz*/, 0x8e, 0x01 },
915 { 16 * 450.00 /*MHz*/, 0x8e, 0x02 },
Michael Krufky3fc46d32006-01-23 17:11:11 -0200916 { 16 * 999.99 , 0x8e, 0x04 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200917};
918
919
Michael Krufky9c26c8b2006-04-27 01:29:17 -0300920static struct tuner_params tuner_lg_tdvs_h06xf_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200921 {
922 .type = TUNER_PARAM_TYPE_NTSC,
923 .ranges = tuner_tua6034_ntsc_ranges,
924 .count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200925 },
926};
927
928/* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */
929
Hermann Pittonc2d19232006-08-21 14:14:33 -0300930static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = {
931 { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
932 { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
933 { 16 * 999.99 , 0x8e, 0x08, },
934};
935
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200936static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {
937 {
938 .type = TUNER_PARAM_TYPE_PAL,
Hermann Pittonc2d19232006-08-21 14:14:33 -0300939 .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges,
940 .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200941 },
942};
943
944/* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */
945
Michael Krufkyf3629be2006-03-11 17:02:01 -0300946static struct tuner_range tuner_lg_taln_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200947 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
948 { 16 * 373.25 /*MHz*/, 0x8e, 0x02, },
949 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200950};
951
Michael Krufkyf3629be2006-03-11 17:02:01 -0300952static struct tuner_range tuner_lg_taln_pal_secam_ranges[] = {
953 { 16 * 150.00 /*MHz*/, 0x8e, 0x01, },
954 { 16 * 425.00 /*MHz*/, 0x8e, 0x02, },
955 { 16 * 999.99 , 0x8e, 0x08, },
956};
957
958static struct tuner_params tuner_lg_taln_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200959 {
960 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkyf3629be2006-03-11 17:02:01 -0300961 .ranges = tuner_lg_taln_ntsc_ranges,
962 .count = ARRAY_SIZE(tuner_lg_taln_ntsc_ranges),
963 },{
964 .type = TUNER_PARAM_TYPE_PAL,
965 .ranges = tuner_lg_taln_pal_secam_ranges,
966 .count = ARRAY_SIZE(tuner_lg_taln_pal_secam_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200967 },
968};
969
970/* ------------ TUNER_PHILIPS_TD1316 - Philips PAL ------------ */
971
972static struct tuner_range tuner_philips_td1316_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200973 { 16 * 160.00 /*MHz*/, 0xc8, 0xa1, },
974 { 16 * 442.00 /*MHz*/, 0xc8, 0xa2, },
975 { 16 * 999.99 , 0xc8, 0xa4, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200976};
977
978static struct tuner_params tuner_philips_td1316_params[] = {
979 {
980 .type = TUNER_PARAM_TYPE_PAL,
981 .ranges = tuner_philips_td1316_pal_ranges,
982 .count = ARRAY_SIZE(tuner_philips_td1316_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200983 },
984};
985
986/* ------------ TUNER_PHILIPS_TUV1236D - Philips ATSC ------------ */
987
988static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200989 { 16 * 157.25 /*MHz*/, 0xce, 0x01, },
990 { 16 * 454.00 /*MHz*/, 0xce, 0x02, },
991 { 16 * 999.99 , 0xce, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200992};
993
994
Michael Krufkycc925bb2006-01-23 17:11:11 -0200995static struct tuner_params tuner_tuv1236d_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200996 {
997 .type = TUNER_PARAM_TYPE_NTSC,
998 .ranges = tuner_tuv1236d_ntsc_ranges,
999 .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001000 },
1001};
1002
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001003/* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */
1004/* This is known to work with Tenna TVF58t5-MFF and TVF5835 MFF
1005 * but it is expected to work also with other Tenna/Ymec
1006 * models based on TI SN 761677 chip on both PAL and NTSC
1007 */
1008
1009static struct tuner_range tuner_tnf_5335_d_if_pal_ranges[] = {
1010 { 16 * 168.25 /*MHz*/, 0x8e, 0x01, },
Mauro Carvalho Chehab7947a222006-03-09 16:09:20 -03001011 { 16 * 471.25 /*MHz*/, 0x8e, 0x02, },
1012 { 16 * 999.99 , 0x8e, 0x08, },
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001013};
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001014
1015static struct tuner_range tuner_tnf_5335mf_ntsc_ranges[] = {
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001016 { 16 * 169.25 /*MHz*/, 0x8e, 0x01, },
1017 { 16 * 469.25 /*MHz*/, 0x8e, 0x02, },
1018 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001019};
1020
1021static struct tuner_params tuner_tnf_5335mf_params[] = {
1022 {
1023 .type = TUNER_PARAM_TYPE_NTSC,
1024 .ranges = tuner_tnf_5335mf_ntsc_ranges,
1025 .count = ARRAY_SIZE(tuner_tnf_5335mf_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001026 },
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001027 {
1028 .type = TUNER_PARAM_TYPE_PAL,
1029 .ranges = tuner_tnf_5335_d_if_pal_ranges,
1030 .count = ARRAY_SIZE(tuner_tnf_5335_d_if_pal_ranges),
1031 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001032};
1033
Hans Verkuilb3d37042006-01-13 14:10:25 -02001034/* 70-79 */
1035/* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */
1036
Hans Verkuil43c560f2006-08-08 09:10:15 -03001037/* '+ 4' turns on the Low Noise Amplifier */
Hans Verkuilb3d37042006-01-13 14:10:25 -02001038static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = {
Hans Verkuil43c560f2006-08-08 09:10:15 -03001039 { 16 * 130.00 /*MHz*/, 0xce, 0x01 + 4, },
1040 { 16 * 364.50 /*MHz*/, 0xce, 0x02 + 4, },
1041 { 16 * 999.99 , 0xce, 0x08 + 4, },
Hans Verkuilb3d37042006-01-13 14:10:25 -02001042};
1043
1044static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = {
1045 {
1046 .type = TUNER_PARAM_TYPE_NTSC,
1047 .ranges = tuner_samsung_tcpn_2121p30a_ntsc_ranges,
1048 .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_ntsc_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -03001049 .has_tda9887 = 1,
Hans Verkuilb3d37042006-01-13 14:10:25 -02001050 },
1051};
1052
Michael Krufky91ae3292006-03-01 00:04:42 -03001053/* ------------ TUNER_THOMSON_FE6600 - DViCO Hybrid PAL ------------ */
Chris Pascoe780dfef2006-02-28 08:34:59 -03001054
Michael Krufky91ae3292006-03-01 00:04:42 -03001055static struct tuner_range tuner_thomson_fe6600_ranges[] = {
Chris Pascoe780dfef2006-02-28 08:34:59 -03001056 { 16 * 160.00 /*MHz*/, 0xfe, 0x11, },
1057 { 16 * 442.00 /*MHz*/, 0xf6, 0x12, },
1058 { 16 * 999.99 , 0xf6, 0x18, },
1059};
1060
Michael Krufky91ae3292006-03-01 00:04:42 -03001061static struct tuner_params tuner_thomson_fe6600_params[] = {
Chris Pascoe780dfef2006-02-28 08:34:59 -03001062 {
1063 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufky91ae3292006-03-01 00:04:42 -03001064 .ranges = tuner_thomson_fe6600_ranges,
1065 .count = ARRAY_SIZE(tuner_thomson_fe6600_ranges),
Chris Pascoe780dfef2006-02-28 08:34:59 -03001066 },
1067};
1068
Hans Verkuilc3449332006-04-19 18:50:35 -03001069/* ------------ TUNER_SAMSUNG_TCPG_6121P30A - Samsung PAL ------------ */
1070
Hans Verkuil43c560f2006-08-08 09:10:15 -03001071/* '+ 4' turns on the Low Noise Amplifier */
Hans Verkuilc3449332006-04-19 18:50:35 -03001072static struct tuner_range tuner_samsung_tcpg_6121p30a_pal_ranges[] = {
Hans Verkuil43c560f2006-08-08 09:10:15 -03001073 { 16 * 146.25 /*MHz*/, 0xce, 0x01 + 4, },
1074 { 16 * 428.50 /*MHz*/, 0xce, 0x02 + 4, },
1075 { 16 * 999.99 , 0xce, 0x08 + 4, },
Hans Verkuilc3449332006-04-19 18:50:35 -03001076};
1077
1078static struct tuner_params tuner_samsung_tcpg_6121p30a_params[] = {
1079 {
1080 .type = TUNER_PARAM_TYPE_PAL,
1081 .ranges = tuner_samsung_tcpg_6121p30a_pal_ranges,
1082 .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -03001083 .has_tda9887 = 1,
1084 .port1_active = 1,
1085 .port2_active = 1,
1086 .port2_invert_for_secam_lc = 1,
Hans Verkuilc3449332006-04-19 18:50:35 -03001087 },
1088};
1089
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001090/* --------------------------------------------------------------------- */
1091
1092struct tunertype tuners[] = {
1093 /* 0-9 */
1094 [TUNER_TEMIC_PAL] = { /* TEMIC PAL */
1095 .name = "Temic PAL (4002 FH5)",
1096 .params = tuner_temic_pal_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001097 .count = ARRAY_SIZE(tuner_temic_pal_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001098 },
1099 [TUNER_PHILIPS_PAL_I] = { /* Philips PAL_I */
1100 .name = "Philips PAL_I (FI1246 and compatibles)",
1101 .params = tuner_philips_pal_i_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001102 .count = ARRAY_SIZE(tuner_philips_pal_i_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001103 },
1104 [TUNER_PHILIPS_NTSC] = { /* Philips NTSC */
1105 .name = "Philips NTSC (FI1236,FM1236 and compatibles)",
1106 .params = tuner_philips_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001107 .count = ARRAY_SIZE(tuner_philips_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001108 },
1109 [TUNER_PHILIPS_SECAM] = { /* Philips SECAM */
1110 .name = "Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)",
1111 .params = tuner_philips_secam_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001112 .count = ARRAY_SIZE(tuner_philips_secam_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001113 },
1114 [TUNER_ABSENT] = { /* Tuner Absent */
1115 .name = "NoTuner",
1116 },
1117 [TUNER_PHILIPS_PAL] = { /* Philips PAL */
1118 .name = "Philips PAL_BG (FI1216 and compatibles)",
1119 .params = tuner_philips_pal_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001120 .count = ARRAY_SIZE(tuner_philips_pal_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001121 },
1122 [TUNER_TEMIC_NTSC] = { /* TEMIC NTSC */
1123 .name = "Temic NTSC (4032 FY5)",
1124 .params = tuner_temic_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001125 .count = ARRAY_SIZE(tuner_temic_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001126 },
1127 [TUNER_TEMIC_PAL_I] = { /* TEMIC PAL_I */
1128 .name = "Temic PAL_I (4062 FY5)",
1129 .params = tuner_temic_pal_i_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001130 .count = ARRAY_SIZE(tuner_temic_pal_i_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001131 },
1132 [TUNER_TEMIC_4036FY5_NTSC] = { /* TEMIC NTSC */
1133 .name = "Temic NTSC (4036 FY5)",
1134 .params = tuner_temic_4036fy5_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001135 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001136 },
1137 [TUNER_ALPS_TSBH1_NTSC] = { /* TEMIC NTSC */
1138 .name = "Alps HSBH1",
1139 .params = tuner_alps_tsbh1_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001140 .count = ARRAY_SIZE(tuner_alps_tsbh1_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001141 },
1142
1143 /* 10-19 */
1144 [TUNER_ALPS_TSBE1_PAL] = { /* TEMIC PAL */
1145 .name = "Alps TSBE1",
1146 .params = tuner_alps_tsb_1_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001147 .count = ARRAY_SIZE(tuner_alps_tsb_1_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001148 },
1149 [TUNER_ALPS_TSBB5_PAL_I] = { /* Alps PAL_I */
1150 .name = "Alps TSBB5",
1151 .params = tuner_alps_tsbb5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001152 .count = ARRAY_SIZE(tuner_alps_tsbb5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001153 },
1154 [TUNER_ALPS_TSBE5_PAL] = { /* Alps PAL */
1155 .name = "Alps TSBE5",
1156 .params = tuner_alps_tsbe5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001157 .count = ARRAY_SIZE(tuner_alps_tsbe5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001158 },
1159 [TUNER_ALPS_TSBC5_PAL] = { /* Alps PAL */
1160 .name = "Alps TSBC5",
1161 .params = tuner_alps_tsbc5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001162 .count = ARRAY_SIZE(tuner_alps_tsbc5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001163 },
1164 [TUNER_TEMIC_4006FH5_PAL] = { /* TEMIC PAL */
1165 .name = "Temic PAL_BG (4006FH5)",
1166 .params = tuner_temic_4006fh5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001167 .count = ARRAY_SIZE(tuner_temic_4006fh5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001168 },
1169 [TUNER_ALPS_TSHC6_NTSC] = { /* Alps NTSC */
1170 .name = "Alps TSCH6",
1171 .params = tuner_alps_tshc6_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001172 .count = ARRAY_SIZE(tuner_alps_tshc6_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001173 },
1174 [TUNER_TEMIC_PAL_DK] = { /* TEMIC PAL */
1175 .name = "Temic PAL_DK (4016 FY5)",
1176 .params = tuner_temic_pal_dk_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001177 .count = ARRAY_SIZE(tuner_temic_pal_dk_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001178 },
1179 [TUNER_PHILIPS_NTSC_M] = { /* Philips NTSC */
1180 .name = "Philips NTSC_M (MK2)",
1181 .params = tuner_philips_ntsc_m_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001182 .count = ARRAY_SIZE(tuner_philips_ntsc_m_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001183 },
1184 [TUNER_TEMIC_4066FY5_PAL_I] = { /* TEMIC PAL_I */
1185 .name = "Temic PAL_I (4066 FY5)",
1186 .params = tuner_temic_4066fy5_pal_i_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001187 .count = ARRAY_SIZE(tuner_temic_4066fy5_pal_i_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001188 },
1189 [TUNER_TEMIC_4006FN5_MULTI_PAL] = { /* TEMIC PAL */
1190 .name = "Temic PAL* auto (4006 FN5)",
1191 .params = tuner_temic_4006fn5_multi_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001192 .count = ARRAY_SIZE(tuner_temic_4006fn5_multi_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001193 },
1194
1195 /* 20-29 */
1196 [TUNER_TEMIC_4009FR5_PAL] = { /* TEMIC PAL */
1197 .name = "Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)",
1198 .params = tuner_temic_4009f_5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001199 .count = ARRAY_SIZE(tuner_temic_4009f_5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001200 },
1201 [TUNER_TEMIC_4039FR5_NTSC] = { /* TEMIC NTSC */
1202 .name = "Temic NTSC (4039 FR5)",
1203 .params = tuner_temic_4039fr5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001204 .count = ARRAY_SIZE(tuner_temic_4039fr5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001205 },
1206 [TUNER_TEMIC_4046FM5] = { /* TEMIC PAL */
1207 .name = "Temic PAL/SECAM multi (4046 FM5)",
1208 .params = tuner_temic_4046fm5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001209 .count = ARRAY_SIZE(tuner_temic_4046fm5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001210 },
1211 [TUNER_PHILIPS_PAL_DK] = { /* Philips PAL */
1212 .name = "Philips PAL_DK (FI1256 and compatibles)",
1213 .params = tuner_philips_pal_dk_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001214 .count = ARRAY_SIZE(tuner_philips_pal_dk_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001215 },
1216 [TUNER_PHILIPS_FQ1216ME] = { /* Philips PAL */
1217 .name = "Philips PAL/SECAM multi (FQ1216ME)",
1218 .params = tuner_philips_fq1216me_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001219 .count = ARRAY_SIZE(tuner_philips_fq1216me_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001220 },
1221 [TUNER_LG_PAL_I_FM] = { /* LGINNOTEK PAL_I */
1222 .name = "LG PAL_I+FM (TAPC-I001D)",
1223 .params = tuner_lg_pal_i_fm_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001224 .count = ARRAY_SIZE(tuner_lg_pal_i_fm_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001225 },
1226 [TUNER_LG_PAL_I] = { /* LGINNOTEK PAL_I */
1227 .name = "LG PAL_I (TAPC-I701D)",
1228 .params = tuner_lg_pal_i_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001229 .count = ARRAY_SIZE(tuner_lg_pal_i_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001230 },
1231 [TUNER_LG_NTSC_FM] = { /* LGINNOTEK NTSC */
1232 .name = "LG NTSC+FM (TPI8NSR01F)",
1233 .params = tuner_lg_ntsc_fm_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001234 .count = ARRAY_SIZE(tuner_lg_ntsc_fm_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001235 },
1236 [TUNER_LG_PAL_FM] = { /* LGINNOTEK PAL */
1237 .name = "LG PAL_BG+FM (TPI8PSB01D)",
1238 .params = tuner_lg_pal_fm_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001239 .count = ARRAY_SIZE(tuner_lg_pal_fm_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001240 },
1241 [TUNER_LG_PAL] = { /* LGINNOTEK PAL */
1242 .name = "LG PAL_BG (TPI8PSB11D)",
1243 .params = tuner_lg_pal_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001244 .count = ARRAY_SIZE(tuner_lg_pal_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001245 },
1246
1247 /* 30-39 */
1248 [TUNER_TEMIC_4009FN5_MULTI_PAL_FM] = { /* TEMIC PAL */
1249 .name = "Temic PAL* auto + FM (4009 FN5)",
1250 .params = tuner_temic_4009_fn5_multi_pal_fm_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001251 .count = ARRAY_SIZE(tuner_temic_4009_fn5_multi_pal_fm_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001252 },
1253 [TUNER_SHARP_2U5JF5540_NTSC] = { /* SHARP NTSC */
1254 .name = "SHARP NTSC_JP (2U5JF5540)",
1255 .params = tuner_sharp_2u5jf5540_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001256 .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001257 },
1258 [TUNER_Samsung_PAL_TCPM9091PD27] = { /* Samsung PAL */
1259 .name = "Samsung PAL TCPM9091PD27",
1260 .params = tuner_samsung_pal_tcpm9091pd27_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001261 .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001262 },
1263 [TUNER_MT2032] = { /* Microtune PAL|NTSC */
1264 .name = "MT20xx universal",
1265 /* see mt20xx.c for details */ },
1266 [TUNER_TEMIC_4106FH5] = { /* TEMIC PAL */
1267 .name = "Temic PAL_BG (4106 FH5)",
1268 .params = tuner_temic_4106fh5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001269 .count = ARRAY_SIZE(tuner_temic_4106fh5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001270 },
1271 [TUNER_TEMIC_4012FY5] = { /* TEMIC PAL */
1272 .name = "Temic PAL_DK/SECAM_L (4012 FY5)",
1273 .params = tuner_temic_4012fy5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001274 .count = ARRAY_SIZE(tuner_temic_4012fy5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001275 },
1276 [TUNER_TEMIC_4136FY5] = { /* TEMIC NTSC */
1277 .name = "Temic NTSC (4136 FY5)",
1278 .params = tuner_temic_4136_fy5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001279 .count = ARRAY_SIZE(tuner_temic_4136_fy5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001280 },
1281 [TUNER_LG_PAL_NEW_TAPC] = { /* LGINNOTEK PAL */
1282 .name = "LG PAL (newer TAPC series)",
1283 .params = tuner_lg_pal_new_tapc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001284 .count = ARRAY_SIZE(tuner_lg_pal_new_tapc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001285 },
1286 [TUNER_PHILIPS_FM1216ME_MK3] = { /* Philips PAL */
1287 .name = "Philips PAL/SECAM multi (FM1216ME MK3)",
1288 .params = tuner_fm1216me_mk3_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001289 .count = ARRAY_SIZE(tuner_fm1216me_mk3_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001290 },
1291 [TUNER_LG_NTSC_NEW_TAPC] = { /* LGINNOTEK NTSC */
1292 .name = "LG NTSC (newer TAPC series)",
1293 .params = tuner_lg_ntsc_new_tapc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001294 .count = ARRAY_SIZE(tuner_lg_ntsc_new_tapc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001295 },
1296
1297 /* 40-49 */
1298 [TUNER_HITACHI_NTSC] = { /* HITACHI NTSC */
1299 .name = "HITACHI V7-J180AT",
1300 .params = tuner_hitachi_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001301 .count = ARRAY_SIZE(tuner_hitachi_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001302 },
1303 [TUNER_PHILIPS_PAL_MK] = { /* Philips PAL */
1304 .name = "Philips PAL_MK (FI1216 MK)",
1305 .params = tuner_philips_pal_mk_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001306 .count = ARRAY_SIZE(tuner_philips_pal_mk_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001307 },
1308 [TUNER_PHILIPS_ATSC] = { /* Philips ATSC */
1309 .name = "Philips 1236D ATSC/NTSC dual in",
1310 .params = tuner_philips_atsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001311 .count = ARRAY_SIZE(tuner_philips_atsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001312 },
1313 [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */
1314 .name = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)",
1315 .params = tuner_fm1236_mk3_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001316 .count = ARRAY_SIZE(tuner_fm1236_mk3_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001317 },
1318 [TUNER_PHILIPS_4IN1] = { /* Philips NTSC */
1319 .name = "Philips 4 in 1 (ATI TV Wonder Pro/Conexant)",
1320 .params = tuner_philips_4in1_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001321 .count = ARRAY_SIZE(tuner_philips_4in1_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001322 },
1323 [TUNER_MICROTUNE_4049FM5] = { /* Microtune PAL */
1324 .name = "Microtune 4049 FM5",
1325 .params = tuner_microtune_4049_fm5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001326 .count = ARRAY_SIZE(tuner_microtune_4049_fm5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001327 },
1328 [TUNER_PANASONIC_VP27] = { /* Panasonic NTSC */
1329 .name = "Panasonic VP27s/ENGE4324D",
1330 .params = tuner_panasonic_vp27_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001331 .count = ARRAY_SIZE(tuner_panasonic_vp27_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001332 },
1333 [TUNER_LG_NTSC_TAPE] = { /* LGINNOTEK NTSC */
1334 .name = "LG NTSC (TAPE series)",
1335 .params = tuner_lg_ntsc_tape_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001336 .count = ARRAY_SIZE(tuner_lg_ntsc_tape_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001337 },
1338 [TUNER_TNF_8831BGFF] = { /* Philips PAL */
1339 .name = "Tenna TNF 8831 BGFF)",
1340 .params = tuner_tnf_8831bgff_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001341 .count = ARRAY_SIZE(tuner_tnf_8831bgff_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001342 },
1343 [TUNER_MICROTUNE_4042FI5] = { /* Microtune NTSC */
1344 .name = "Microtune 4042 FI5 ATSC/NTSC dual in",
1345 .params = tuner_microtune_4042fi5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001346 .count = ARRAY_SIZE(tuner_microtune_4042fi5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001347 },
1348
1349 /* 50-59 */
1350 [TUNER_TCL_2002N] = { /* TCL NTSC */
1351 .name = "TCL 2002N",
1352 .params = tuner_tcl_2002n_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001353 .count = ARRAY_SIZE(tuner_tcl_2002n_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001354 },
1355 [TUNER_PHILIPS_FM1256_IH3] = { /* Philips PAL */
1356 .name = "Philips PAL/SECAM_D (FM 1256 I-H3)",
1357 .params = tuner_philips_fm1256_ih3_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001358 .count = ARRAY_SIZE(tuner_philips_fm1256_ih3_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001359 },
1360 [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */
1361 .name = "Thomson DTT 7610 (ATSC/NTSC)",
1362 .params = tuner_thomson_dtt7610_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001363 .count = ARRAY_SIZE(tuner_thomson_dtt7610_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001364 },
1365 [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */
1366 .name = "Philips FQ1286",
1367 .params = tuner_philips_fq1286_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001368 .count = ARRAY_SIZE(tuner_philips_fq1286_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001369 },
1370 [TUNER_PHILIPS_TDA8290] = { /* Philips PAL|NTSC */
1371 .name = "tda8290+75",
1372 /* see tda8290.c for details */ },
1373 [TUNER_TCL_2002MB] = { /* TCL PAL */
1374 .name = "TCL 2002MB",
1375 .params = tuner_tcl_2002mb_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001376 .count = ARRAY_SIZE(tuner_tcl_2002mb_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001377 },
1378 [TUNER_PHILIPS_FQ1216AME_MK4] = { /* Philips PAL */
1379 .name = "Philips PAL/SECAM multi (FQ1216AME MK4)",
1380 .params = tuner_philips_fq1216ame_mk4_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001381 .count = ARRAY_SIZE(tuner_philips_fq1216ame_mk4_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001382 },
1383 [TUNER_PHILIPS_FQ1236A_MK4] = { /* Philips NTSC */
1384 .name = "Philips FQ1236A MK4",
1385 .params = tuner_philips_fq1236a_mk4_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001386 .count = ARRAY_SIZE(tuner_philips_fq1236a_mk4_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001387 },
1388 [TUNER_YMEC_TVF_8531MF] = { /* Philips NTSC */
1389 .name = "Ymec TVision TVF-8531MF/8831MF/8731MF",
1390 .params = tuner_ymec_tvf_8531mf_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001391 .count = ARRAY_SIZE(tuner_ymec_tvf_8531mf_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001392 },
1393 [TUNER_YMEC_TVF_5533MF] = { /* Philips NTSC */
1394 .name = "Ymec TVision TVF-5533MF",
1395 .params = tuner_ymec_tvf_5533mf_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001396 .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001397 },
1398
1399 /* 60-69 */
1400 [TUNER_THOMSON_DTT761X] = { /* THOMSON ATSC */
1401 /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
1402 .name = "Thomson DTT 761X (ATSC/NTSC)",
1403 .params = tuner_thomson_dtt761x_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001404 .count = ARRAY_SIZE(tuner_thomson_dtt761x_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001405 },
1406 [TUNER_TENA_9533_DI] = { /* Philips PAL */
1407 .name = "Tena TNF9533-D/IF/TNF9533-B/DF",
1408 .params = tuner_tena_9533_di_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001409 .count = ARRAY_SIZE(tuner_tena_9533_di_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001410 },
1411 [TUNER_TEA5767] = { /* Philips RADIO */
1412 .name = "Philips TEA5767HN FM Radio",
1413 /* see tea5767.c for details */
1414 },
1415 [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */
1416 .name = "Philips FMD1216ME MK3 Hybrid Tuner",
Michael Krufkycc925bb2006-01-23 17:11:11 -02001417 .params = tuner_philips_fmd1216me_mk3_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001418 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001419 },
Michael Krufky9c26c8b2006-04-27 01:29:17 -03001420 [TUNER_LG_TDVS_H06XF] = { /* LGINNOTEK ATSC */
Michael Krufkyd9e12f22006-04-22 16:15:11 -03001421 .name = "LG TDVS-H06xF", /* H061F, H062F & H064F */
Michael Krufky9c26c8b2006-04-27 01:29:17 -03001422 .params = tuner_lg_tdvs_h06xf_params,
1423 .count = ARRAY_SIZE(tuner_lg_tdvs_h06xf_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001424 },
1425 [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */
1426 .name = "Ymec TVF66T5-B/DFF",
1427 .params = tuner_ymec_tvf66t5_b_dff_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001428 .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001429 },
Michael Krufkyf3629be2006-03-11 17:02:01 -03001430 [TUNER_LG_TALN] = { /* LGINNOTEK NTSC / PAL / SECAM */
1431 .name = "LG TALN series",
1432 .params = tuner_lg_taln_params,
1433 .count = ARRAY_SIZE(tuner_lg_taln_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001434 },
1435 [TUNER_PHILIPS_TD1316] = { /* Philips PAL */
1436 .name = "Philips TD1316 Hybrid Tuner",
1437 .params = tuner_philips_td1316_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001438 .count = ARRAY_SIZE(tuner_philips_td1316_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001439 },
1440 [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */
1441 .name = "Philips TUV1236D ATSC/NTSC dual in",
Michael Krufkycc925bb2006-01-23 17:11:11 -02001442 .params = tuner_tuv1236d_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001443 .count = ARRAY_SIZE(tuner_tuv1236d_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001444 },
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001445 [TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */
1446 .name = "Tena TNF 5335 and similar models",
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001447 .params = tuner_tnf_5335mf_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001448 .count = ARRAY_SIZE(tuner_tnf_5335mf_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001449 },
Hans Verkuilb3d37042006-01-13 14:10:25 -02001450
1451 /* 70-79 */
1452 [TUNER_SAMSUNG_TCPN_2121P30A] = { /* Samsung NTSC */
1453 .name = "Samsung TCPN 2121P30A",
1454 .params = tuner_samsung_tcpn_2121p30a_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001455 .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_params),
Hans Verkuilb3d37042006-01-13 14:10:25 -02001456 },
Markus Rechberger0004fd52006-02-27 00:07:27 -03001457 [TUNER_XCEIVE_XC3028] = { /* Xceive 3028 */
1458 .name = "Xceive xc3028",
Mauro Carvalho Chehabcfcd7182006-02-27 00:07:37 -03001459 /* see xc3028.c for details */
Markus Rechberger0004fd52006-02-27 00:07:27 -03001460 },
Michael Krufky91ae3292006-03-01 00:04:42 -03001461 [TUNER_THOMSON_FE6600] = { /* Thomson PAL / DVB-T */
1462 .name = "Thomson FE6600",
1463 .params = tuner_thomson_fe6600_params,
Michael Krufkyb1b168e2006-03-11 16:12:35 -03001464 .count = ARRAY_SIZE(tuner_thomson_fe6600_params),
Chris Pascoe780dfef2006-02-28 08:34:59 -03001465 },
Hans Verkuilc3449332006-04-19 18:50:35 -03001466 [TUNER_SAMSUNG_TCPG_6121P30A] = { /* Samsung PAL */
1467 .name = "Samsung TCPG 6121P30A",
1468 .params = tuner_samsung_tcpg_6121p30a_params,
1469 .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_params),
1470 },
Mauro Carvalho Chehab15396232006-06-23 16:13:56 -03001471 [TUNER_TDA9887] = { /* Philips TDA 9887 IF PLL Demodulator.
1472 This chip is part of some modern tuners */
1473 .name = "Philips TDA988[5,6,7] IF PLL Demodulator",
1474 /* see tda9887.c for details */
1475 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001476};
1477
1478unsigned const int tuner_count = ARRAY_SIZE(tuners);