blob: a9ce5b2ce08287bf113b0348cd773dc1482fd2bd [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
Michael Krufky6f4a5722008-04-22 14:45:53 -030038/* 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
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020059/* 0-9 */
60/* ------------ TUNER_TEMIC_PAL - TEMIC PAL ------------ */
61
62static struct tuner_range tuner_temic_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -020063 { 16 * 140.25 /*MHz*/, 0x8e, 0x02, },
64 { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
65 { 16 * 999.99 , 0x8e, 0x01, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020066};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020073 },
74};
75
76/* ------------ TUNER_PHILIPS_PAL_I - Philips PAL_I ------------ */
77
78static struct tuner_range tuner_philips_pal_i_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -020079 { 16 * 140.25 /*MHz*/, 0x8e, 0xa0, },
80 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
81 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020082};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020089 },
90};
91
92/* ------------ TUNER_PHILIPS_NTSC - Philips NTSC ------------ */
93
94static struct tuner_range tuner_philips_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -020095 { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
96 { 16 * 451.25 /*MHz*/, 0x8e, 0x90, },
97 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -020098};
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),
Hans Verkuil27487d42006-01-15 15:04:52 -0200105 .cb_first_if_lower_freq = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200106 },
107};
108
109/* ------------ TUNER_PHILIPS_SECAM - Philips SECAM ------------ */
110
111static struct tuner_range tuner_philips_secam_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200112 { 16 * 168.25 /*MHz*/, 0x8e, 0xa7, },
113 { 16 * 447.25 /*MHz*/, 0x8e, 0x97, },
114 { 16 * 999.99 , 0x8e, 0x37, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200115};
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),
Hans Verkuil27487d42006-01-15 15:04:52 -0200122 .cb_first_if_lower_freq = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200123 },
124};
125
126/* ------------ TUNER_PHILIPS_PAL - Philips PAL ------------ */
127
128static struct tuner_range tuner_philips_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200129 { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, },
130 { 16 * 447.25 /*MHz*/, 0x8e, 0x90, },
131 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200132};
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),
Hans Verkuil27487d42006-01-15 15:04:52 -0200139 .cb_first_if_lower_freq = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200140 },
141};
142
143/* ------------ TUNER_TEMIC_NTSC - TEMIC NTSC ------------ */
144
145static struct tuner_range tuner_temic_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200146 { 16 * 157.25 /*MHz*/, 0x8e, 0x02, },
147 { 16 * 463.25 /*MHz*/, 0x8e, 0x04, },
148 { 16 * 999.99 , 0x8e, 0x01, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200149};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200156 },
157};
158
159/* ------------ TUNER_TEMIC_PAL_I - TEMIC PAL_I ------------ */
160
161static struct tuner_range tuner_temic_pal_i_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200162 { 16 * 170.00 /*MHz*/, 0x8e, 0x02, },
163 { 16 * 450.00 /*MHz*/, 0x8e, 0x04, },
164 { 16 * 999.99 , 0x8e, 0x01, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200165};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200172 },
173};
174
175/* ------------ TUNER_TEMIC_4036FY5_NTSC - TEMIC NTSC ------------ */
176
177static struct tuner_range tuner_temic_4036fy5_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200178 { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, },
179 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
180 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200181};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200188 },
189};
190
191/* ------------ TUNER_ALPS_TSBH1_NTSC - TEMIC NTSC ------------ */
192
193static struct tuner_range tuner_alps_tsb_1_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200194 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
195 { 16 * 385.25 /*MHz*/, 0x8e, 0x02, },
196 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200197};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200204 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200215 },
216};
217
218/* ------------ TUNER_ALPS_TSBB5_PAL_I - Alps PAL_I ------------ */
219
220static struct tuner_range tuner_alps_tsb_5_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200221 { 16 * 133.25 /*MHz*/, 0x8e, 0x01, },
222 { 16 * 351.25 /*MHz*/, 0x8e, 0x02, },
223 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200224};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200231 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200241 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200251 },
252};
253
254/* ------------ TUNER_TEMIC_4006FH5_PAL - TEMIC PAL ------------ */
255
Michael Krufkycc925bb2006-01-23 17:11:11 -0200256static struct tuner_range tuner_lg_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200257 { 16 * 170.00 /*MHz*/, 0x8e, 0xa0, },
258 { 16 * 450.00 /*MHz*/, 0x8e, 0x90, },
259 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200260};
261
262static struct tuner_params tuner_temic_4006fh5_params[] = {
263 {
264 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200265 .ranges = tuner_lg_pal_ranges,
266 .count = ARRAY_SIZE(tuner_lg_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200267 },
268};
269
270/* ------------ TUNER_ALPS_TSHC6_NTSC - Alps NTSC ------------ */
271
272static struct tuner_range tuner_alps_tshc6_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200273 { 16 * 137.25 /*MHz*/, 0x8e, 0x14, },
274 { 16 * 385.25 /*MHz*/, 0x8e, 0x12, },
275 { 16 * 999.99 , 0x8e, 0x11, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200276};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200283 },
284};
285
286/* ------------ TUNER_TEMIC_PAL_DK - TEMIC PAL ------------ */
287
288static struct tuner_range tuner_temic_pal_dk_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200289 { 16 * 168.25 /*MHz*/, 0x8e, 0xa0, },
290 { 16 * 456.25 /*MHz*/, 0x8e, 0x90, },
291 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200292};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200299 },
300};
301
302/* ------------ TUNER_PHILIPS_NTSC_M - Philips NTSC ------------ */
303
304static struct tuner_range tuner_philips_ntsc_m_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200305 { 16 * 160.00 /*MHz*/, 0x8e, 0xa0, },
306 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
307 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200308};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200315 },
316};
317
318/* ------------ TUNER_TEMIC_4066FY5_PAL_I - TEMIC PAL_I ------------ */
319
320static struct tuner_range tuner_temic_40x6f_5_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200321 { 16 * 169.00 /*MHz*/, 0x8e, 0xa0, },
322 { 16 * 454.00 /*MHz*/, 0x8e, 0x90, },
323 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200324};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200331 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200341 },
342};
343
344/* 20-29 */
345/* ------------ TUNER_TEMIC_4009FR5_PAL - TEMIC PAL ------------ */
346
347static struct tuner_range tuner_temic_4009f_5_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200348 { 16 * 141.00 /*MHz*/, 0x8e, 0xa0, },
349 { 16 * 464.00 /*MHz*/, 0x8e, 0x90, },
350 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200351};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200358 },
359};
360
361/* ------------ TUNER_TEMIC_4039FR5_NTSC - TEMIC NTSC ------------ */
362
Michael Krufkycc925bb2006-01-23 17:11:11 -0200363static struct tuner_range tuner_temic_4x3x_f_5_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200364 { 16 * 158.00 /*MHz*/, 0x8e, 0xa0, },
365 { 16 * 453.00 /*MHz*/, 0x8e, 0x90, },
366 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200367};
368
369static struct tuner_params tuner_temic_4039fr5_params[] = {
370 {
371 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200372 .ranges = tuner_temic_4x3x_f_5_ntsc_ranges,
373 .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200374 },
375};
376
377/* ------------ TUNER_TEMIC_4046FM5 - TEMIC PAL ------------ */
378
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200379static struct tuner_params tuner_temic_4046fm5_params[] = {
380 {
381 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200382 .ranges = tuner_temic_40x6f_5_pal_ranges,
383 .count = ARRAY_SIZE(tuner_temic_40x6f_5_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200384 },
385};
386
387/* ------------ TUNER_PHILIPS_PAL_DK - Philips PAL ------------ */
388
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200389static 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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200394 },
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),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300404 .has_tda9887 = 1,
405 .port1_active = 1,
406 .port2_active = 1,
407 .port2_invert_for_secam_lc = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200408 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200418 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200428 },
429};
430
431/* ------------ TUNER_LG_NTSC_FM - LGINNOTEK NTSC ------------ */
432
433static struct tuner_range tuner_lg_ntsc_fm_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200434 { 16 * 210.00 /*MHz*/, 0x8e, 0xa0, },
435 { 16 * 497.00 /*MHz*/, 0x8e, 0x90, },
436 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200437};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200444 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200454 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200464 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200475 },
476};
477
478/* ------------ TUNER_SHARP_2U5JF5540_NTSC - SHARP NTSC ------------ */
479
480static struct tuner_range tuner_sharp_2u5jf5540_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200481 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
482 { 16 * 317.25 /*MHz*/, 0x8e, 0x02, },
483 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200484};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200491 },
492};
493
494/* ------------ TUNER_Samsung_PAL_TCPM9091PD27 - Samsung PAL ------------ */
495
496static struct tuner_range tuner_samsung_pal_tcpm9091pd27_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200497 { 16 * 169 /*MHz*/, 0x8e, 0xa0, },
498 { 16 * 464 /*MHz*/, 0x8e, 0x90, },
499 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200500};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200507 },
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200517 },
518};
519
520/* ------------ TUNER_TEMIC_4012FY5 - TEMIC PAL ------------ */
521
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200522static struct tuner_params tuner_temic_4012fy5_params[] = {
523 {
524 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200525 .ranges = tuner_temic_pal_ranges,
526 .count = ARRAY_SIZE(tuner_temic_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200527 },
528};
529
530/* ------------ TUNER_TEMIC_4136FY5 - TEMIC NTSC ------------ */
531
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200532static struct tuner_params tuner_temic_4136_fy5_params[] = {
533 {
534 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200535 .ranges = tuner_temic_4x3x_f_5_ntsc_ranges,
536 .count = ARRAY_SIZE(tuner_temic_4x3x_f_5_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200537 },
538};
539
540/* ------------ TUNER_LG_PAL_NEW_TAPC - LGINNOTEK PAL ------------ */
541
542static struct tuner_range tuner_lg_new_tapc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200543 { 16 * 170.00 /*MHz*/, 0x8e, 0x01, },
544 { 16 * 450.00 /*MHz*/, 0x8e, 0x02, },
545 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200546};
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),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200553 },
554};
555
556/* ------------ TUNER_PHILIPS_FM1216ME_MK3 - Philips PAL ------------ */
557
558static struct tuner_range tuner_fm1216me_mk3_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200559 { 16 * 158.00 /*MHz*/, 0x8e, 0x01, },
560 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
561 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200562};
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),
Hans Verkuil27487d42006-01-15 15:04:52 -0200569 .cb_first_if_lower_freq = 1,
Hans Verkuilba8fc392006-06-25 15:34:39 -0300570 .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,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200578 },
579};
580
Dmitri Belimov8475cbc2009-05-11 08:16:06 -0300581/* ------------ TUNER_PHILIPS_FM1216MK5 - Philips PAL ------------ */
582
583static struct tuner_range tuner_fm1216mk5_pal_ranges[] = {
584 { 16 * 158.00 /*MHz*/, 0xce, 0x01, },
585 { 16 * 441.00 /*MHz*/, 0xce, 0x02, },
586 { 16 * 864.00 , 0xce, 0x04, },
587};
588
589static struct tuner_params tuner_fm1216mk5_params[] = {
590 {
591 .type = TUNER_PARAM_TYPE_PAL,
592 .ranges = tuner_fm1216mk5_pal_ranges,
593 .count = ARRAY_SIZE(tuner_fm1216mk5_pal_ranges),
594 .cb_first_if_lower_freq = 1,
595 .has_tda9887 = 1,
596 .port1_active = 1,
597 .port2_active = 1,
598 .port2_invert_for_secam_lc = 1,
599 .port1_fm_high_sensitivity = 1,
600 .default_top_mid = -2,
601 .default_top_secam_mid = -2,
602 .default_top_secam_high = -2,
603 },
604};
605
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200606/* ------------ TUNER_LG_NTSC_NEW_TAPC - LGINNOTEK NTSC ------------ */
607
608static struct tuner_params tuner_lg_ntsc_new_tapc_params[] = {
609 {
610 .type = TUNER_PARAM_TYPE_NTSC,
611 .ranges = tuner_lg_new_tapc_ranges,
612 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200613 },
614};
615
616/* 40-49 */
617/* ------------ TUNER_HITACHI_NTSC - HITACHI NTSC ------------ */
618
619static struct tuner_params tuner_hitachi_ntsc_params[] = {
620 {
621 .type = TUNER_PARAM_TYPE_NTSC,
622 .ranges = tuner_lg_new_tapc_ranges,
623 .count = ARRAY_SIZE(tuner_lg_new_tapc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200624 },
625};
626
627/* ------------ TUNER_PHILIPS_PAL_MK - Philips PAL ------------ */
628
629static struct tuner_range tuner_philips_pal_mk_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200630 { 16 * 140.25 /*MHz*/, 0x8e, 0x01, },
631 { 16 * 463.25 /*MHz*/, 0x8e, 0xc2, },
632 { 16 * 999.99 , 0x8e, 0xcf, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200633};
634
635static struct tuner_params tuner_philips_pal_mk_params[] = {
636 {
637 .type = TUNER_PARAM_TYPE_PAL,
638 .ranges = tuner_philips_pal_mk_pal_ranges,
639 .count = ARRAY_SIZE(tuner_philips_pal_mk_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200640 },
641};
642
Michael Krufkyab8b8702008-04-22 14:46:05 -0300643/* ---- TUNER_PHILIPS_FCV1236D - Philips FCV1236D (ATSC/NTSC) ---- */
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200644
Michael Krufkyf4173d02008-04-22 14:45:55 -0300645static struct tuner_range tuner_philips_fcv1236d_ntsc_ranges[] = {
646 { 16 * 157.25 /*MHz*/, 0x8e, 0xa2, },
647 { 16 * 451.25 /*MHz*/, 0x8e, 0x92, },
648 { 16 * 999.99 , 0x8e, 0x32, },
649};
650
651static struct tuner_range tuner_philips_fcv1236d_atsc_ranges[] = {
652 { 16 * 159.00 /*MHz*/, 0x8e, 0xa0, },
653 { 16 * 453.00 /*MHz*/, 0x8e, 0x90, },
Michael Krufky3fc46d32006-01-23 17:11:11 -0200654 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200655};
656
Michael Krufkyb8273632007-06-27 14:38:45 -0300657static struct tuner_params tuner_philips_fcv1236d_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200658 {
659 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkyf4173d02008-04-22 14:45:55 -0300660 .ranges = tuner_philips_fcv1236d_ntsc_ranges,
661 .count = ARRAY_SIZE(tuner_philips_fcv1236d_ntsc_ranges),
662 },
663 {
664 .type = TUNER_PARAM_TYPE_DIGITAL,
665 .ranges = tuner_philips_fcv1236d_atsc_ranges,
666 .count = ARRAY_SIZE(tuner_philips_fcv1236d_atsc_ranges),
667 .iffreq = 16 * 44.00,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200668 },
669};
670
671/* ------------ TUNER_PHILIPS_FM1236_MK3 - Philips NTSC ------------ */
672
673static struct tuner_range tuner_fm1236_mk3_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200674 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
675 { 16 * 442.00 /*MHz*/, 0x8e, 0x02, },
676 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200677};
678
679static struct tuner_params tuner_fm1236_mk3_params[] = {
680 {
681 .type = TUNER_PARAM_TYPE_NTSC,
682 .ranges = tuner_fm1236_mk3_ntsc_ranges,
683 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Hans Verkuil27487d42006-01-15 15:04:52 -0200684 .cb_first_if_lower_freq = 1,
Hans Verkuilba8fc392006-06-25 15:34:39 -0300685 .has_tda9887 = 1,
686 .port1_active = 1,
687 .port2_active = 1,
688 .port1_fm_high_sensitivity = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200689 },
690};
691
692/* ------------ TUNER_PHILIPS_4IN1 - Philips NTSC ------------ */
693
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200694static struct tuner_params tuner_philips_4in1_params[] = {
695 {
696 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200697 .ranges = tuner_fm1236_mk3_ntsc_ranges,
698 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200699 },
700};
701
702/* ------------ TUNER_MICROTUNE_4049FM5 - Microtune PAL ------------ */
703
704static struct tuner_params tuner_microtune_4049_fm5_params[] = {
705 {
706 .type = TUNER_PARAM_TYPE_PAL,
707 .ranges = tuner_temic_4009f_5_pal_ranges,
708 .count = ARRAY_SIZE(tuner_temic_4009f_5_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300709 .has_tda9887 = 1,
710 .port1_invert_for_secam_lc = 1,
Trent Piephod7304de2006-08-24 22:43:45 -0300711 .default_pll_gating_18 = 1,
Thierry MERLEd8159a32006-12-04 08:31:42 -0300712 .fm_gain_normal=1,
Trent Piepho5e082f12007-08-03 18:32:38 -0300713 .radio_if = 1, /* 33.3 MHz */
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200714 },
715};
716
717/* ------------ TUNER_PANASONIC_VP27 - Panasonic NTSC ------------ */
718
719static struct tuner_range tuner_panasonic_vp27_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200720 { 16 * 160.00 /*MHz*/, 0xce, 0x01, },
721 { 16 * 454.00 /*MHz*/, 0xce, 0x02, },
722 { 16 * 999.99 , 0xce, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200723};
724
725static struct tuner_params tuner_panasonic_vp27_params[] = {
726 {
727 .type = TUNER_PARAM_TYPE_NTSC,
728 .ranges = tuner_panasonic_vp27_ntsc_ranges,
729 .count = ARRAY_SIZE(tuner_panasonic_vp27_ntsc_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300730 .has_tda9887 = 1,
731 .intercarrier_mode = 1,
Hans Verkuilb4c85242007-07-20 06:53:23 -0300732 .default_top_low = -3,
733 .default_top_mid = -3,
734 .default_top_high = -3,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200735 },
736};
737
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200738/* ------------ TUNER_TNF_8831BGFF - Philips PAL ------------ */
739
740static struct tuner_range tuner_tnf_8831bgff_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200741 { 16 * 161.25 /*MHz*/, 0x8e, 0xa0, },
742 { 16 * 463.25 /*MHz*/, 0x8e, 0x90, },
743 { 16 * 999.99 , 0x8e, 0x30, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200744};
745
746static struct tuner_params tuner_tnf_8831bgff_params[] = {
747 {
748 .type = TUNER_PARAM_TYPE_PAL,
749 .ranges = tuner_tnf_8831bgff_pal_ranges,
750 .count = ARRAY_SIZE(tuner_tnf_8831bgff_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200751 },
752};
753
754/* ------------ TUNER_MICROTUNE_4042FI5 - Microtune NTSC ------------ */
755
756static struct tuner_range tuner_microtune_4042fi5_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200757 { 16 * 162.00 /*MHz*/, 0x8e, 0xa2, },
758 { 16 * 457.00 /*MHz*/, 0x8e, 0x94, },
759 { 16 * 999.99 , 0x8e, 0x31, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200760};
761
Michael Krufkya33b42c2008-04-22 14:45:56 -0300762static struct tuner_range tuner_microtune_4042fi5_atsc_ranges[] = {
763 { 16 * 162.00 /*MHz*/, 0x8e, 0xa1, },
764 { 16 * 457.00 /*MHz*/, 0x8e, 0x91, },
765 { 16 * 999.99 , 0x8e, 0x31, },
766};
767
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200768static struct tuner_params tuner_microtune_4042fi5_params[] = {
769 {
770 .type = TUNER_PARAM_TYPE_NTSC,
771 .ranges = tuner_microtune_4042fi5_ntsc_ranges,
772 .count = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200773 },
Michael Krufkya33b42c2008-04-22 14:45:56 -0300774 {
775 .type = TUNER_PARAM_TYPE_DIGITAL,
776 .ranges = tuner_microtune_4042fi5_atsc_ranges,
777 .count = ARRAY_SIZE(tuner_microtune_4042fi5_atsc_ranges),
778 .iffreq = 16 * 44.00 /*MHz*/,
779 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200780};
781
782/* 50-59 */
783/* ------------ TUNER_TCL_2002N - TCL NTSC ------------ */
784
785static struct tuner_range tuner_tcl_2002n_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200786 { 16 * 172.00 /*MHz*/, 0x8e, 0x01, },
787 { 16 * 448.00 /*MHz*/, 0x8e, 0x02, },
788 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200789};
790
791static struct tuner_params tuner_tcl_2002n_params[] = {
792 {
793 .type = TUNER_PARAM_TYPE_NTSC,
794 .ranges = tuner_tcl_2002n_ntsc_ranges,
795 .count = ARRAY_SIZE(tuner_tcl_2002n_ntsc_ranges),
Hans Verkuil27487d42006-01-15 15:04:52 -0200796 .cb_first_if_lower_freq = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200797 },
798};
799
800/* ------------ TUNER_PHILIPS_FM1256_IH3 - Philips PAL ------------ */
801
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200802static struct tuner_params tuner_philips_fm1256_ih3_params[] = {
803 {
804 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200805 .ranges = tuner_fm1236_mk3_ntsc_ranges,
806 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Trent Piepho5e082f12007-08-03 18:32:38 -0300807 .radio_if = 1, /* 33.3 MHz */
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200808 },
809};
810
811/* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */
812
Michael Krufky0db5fd42008-04-22 14:45:55 -0300813/* single range used for both ntsc and atsc */
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200814static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200815 { 16 * 157.25 /*MHz*/, 0x8e, 0x39, },
816 { 16 * 454.00 /*MHz*/, 0x8e, 0x3a, },
817 { 16 * 999.99 , 0x8e, 0x3c, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200818};
819
820static struct tuner_params tuner_thomson_dtt7610_params[] = {
821 {
822 .type = TUNER_PARAM_TYPE_NTSC,
823 .ranges = tuner_thomson_dtt7610_ntsc_ranges,
824 .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200825 },
Michael Krufky0db5fd42008-04-22 14:45:55 -0300826 {
827 .type = TUNER_PARAM_TYPE_DIGITAL,
828 .ranges = tuner_thomson_dtt7610_ntsc_ranges,
829 .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
830 .iffreq = 16 * 44.00 /*MHz*/,
831 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200832};
833
834/* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */
835
836static struct tuner_range tuner_philips_fq1286_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200837 { 16 * 160.00 /*MHz*/, 0x8e, 0x41, },
838 { 16 * 454.00 /*MHz*/, 0x8e, 0x42, },
839 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200840};
841
842static struct tuner_params tuner_philips_fq1286_params[] = {
843 {
844 .type = TUNER_PARAM_TYPE_NTSC,
845 .ranges = tuner_philips_fq1286_ntsc_ranges,
846 .count = ARRAY_SIZE(tuner_philips_fq1286_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200847 },
848};
849
850/* ------------ TUNER_TCL_2002MB - TCL PAL ------------ */
851
852static struct tuner_range tuner_tcl_2002mb_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200853 { 16 * 170.00 /*MHz*/, 0xce, 0x01, },
854 { 16 * 450.00 /*MHz*/, 0xce, 0x02, },
855 { 16 * 999.99 , 0xce, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200856};
857
858static struct tuner_params tuner_tcl_2002mb_params[] = {
859 {
860 .type = TUNER_PARAM_TYPE_PAL,
861 .ranges = tuner_tcl_2002mb_pal_ranges,
862 .count = ARRAY_SIZE(tuner_tcl_2002mb_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200863 },
864};
865
866/* ------------ TUNER_PHILIPS_FQ1216AME_MK4 - Philips PAL ------------ */
867
Michael Krufky3fc46d32006-01-23 17:11:11 -0200868static struct tuner_range tuner_philips_fq12_6a___mk4_pal_ranges[] = {
869 { 16 * 160.00 /*MHz*/, 0xce, 0x01, },
870 { 16 * 442.00 /*MHz*/, 0xce, 0x02, },
871 { 16 * 999.99 , 0xce, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200872};
873
874static struct tuner_params tuner_philips_fq1216ame_mk4_params[] = {
875 {
876 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufky3fc46d32006-01-23 17:11:11 -0200877 .ranges = tuner_philips_fq12_6a___mk4_pal_ranges,
878 .count = ARRAY_SIZE(tuner_philips_fq12_6a___mk4_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300879 .has_tda9887 = 1,
880 .port1_active = 1,
881 .port2_invert_for_secam_lc = 1,
882 .default_top_mid = -2,
883 .default_top_secam_low = -2,
884 .default_top_secam_mid = -2,
885 .default_top_secam_high = -2,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200886 },
887};
888
889/* ------------ TUNER_PHILIPS_FQ1236A_MK4 - Philips NTSC ------------ */
890
891static struct tuner_params tuner_philips_fq1236a_mk4_params[] = {
892 {
893 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200894 .ranges = tuner_fm1236_mk3_ntsc_ranges,
895 .count = ARRAY_SIZE(tuner_fm1236_mk3_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200896 },
897};
898
899/* ------------ TUNER_YMEC_TVF_8531MF - Philips NTSC ------------ */
900
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200901static struct tuner_params tuner_ymec_tvf_8531mf_params[] = {
902 {
903 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200904 .ranges = tuner_philips_ntsc_m_ranges,
905 .count = ARRAY_SIZE(tuner_philips_ntsc_m_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200906 },
907};
908
909/* ------------ TUNER_YMEC_TVF_5533MF - Philips NTSC ------------ */
910
911static struct tuner_range tuner_ymec_tvf_5533mf_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200912 { 16 * 160.00 /*MHz*/, 0x8e, 0x01, },
913 { 16 * 454.00 /*MHz*/, 0x8e, 0x02, },
914 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200915};
916
917static struct tuner_params tuner_ymec_tvf_5533mf_params[] = {
918 {
919 .type = TUNER_PARAM_TYPE_NTSC,
920 .ranges = tuner_ymec_tvf_5533mf_ntsc_ranges,
921 .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200922 },
923};
924
925/* 60-69 */
926/* ------------ TUNER_THOMSON_DTT761X - THOMSON ATSC ------------ */
927/* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
928
929static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200930 { 16 * 145.25 /*MHz*/, 0x8e, 0x39, },
931 { 16 * 415.25 /*MHz*/, 0x8e, 0x3a, },
932 { 16 * 999.99 , 0x8e, 0x3c, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200933};
934
Michael Krufky22ef8fc2008-04-22 14:45:52 -0300935static struct tuner_range tuner_thomson_dtt761x_atsc_ranges[] = {
936 { 16 * 147.00 /*MHz*/, 0x8e, 0x39, },
937 { 16 * 417.00 /*MHz*/, 0x8e, 0x3a, },
938 { 16 * 999.99 , 0x8e, 0x3c, },
939};
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200940
941static struct tuner_params tuner_thomson_dtt761x_params[] = {
942 {
943 .type = TUNER_PARAM_TYPE_NTSC,
944 .ranges = tuner_thomson_dtt761x_ntsc_ranges,
945 .count = ARRAY_SIZE(tuner_thomson_dtt761x_ntsc_ranges),
Trent Piepho5e082f12007-08-03 18:32:38 -0300946 .has_tda9887 = 1,
947 .fm_gain_normal = 1,
948 .radio_if = 2, /* 41.3 MHz */
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200949 },
Michael Krufky22ef8fc2008-04-22 14:45:52 -0300950 {
951 .type = TUNER_PARAM_TYPE_DIGITAL,
952 .ranges = tuner_thomson_dtt761x_atsc_ranges,
953 .count = ARRAY_SIZE(tuner_thomson_dtt761x_atsc_ranges),
954 .iffreq = 16 * 44.00, /*MHz*/
955 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200956};
957
958/* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */
959
Michael Krufkycc925bb2006-01-23 17:11:11 -0200960static struct tuner_range tuner_tena_9533_di_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200961 { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
962 { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
963 { 16 * 999.99 , 0x8e, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200964};
965
966static struct tuner_params tuner_tena_9533_di_params[] = {
967 {
968 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufkycc925bb2006-01-23 17:11:11 -0200969 .ranges = tuner_tena_9533_di_pal_ranges,
970 .count = ARRAY_SIZE(tuner_tena_9533_di_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200971 },
972};
973
Darron Broad953cafc2008-10-15 14:14:30 -0300974/* ------------ TUNER_PHILIPS_FMD1216ME(X)_MK3 - Philips PAL ------------ */
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200975
976static struct tuner_range tuner_philips_fmd1216me_mk3_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -0200977 { 16 * 160.00 /*MHz*/, 0x86, 0x51, },
978 { 16 * 442.00 /*MHz*/, 0x86, 0x52, },
979 { 16 * 999.99 , 0x86, 0x54, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200980};
981
Michael Krufky23a88102008-04-22 14:45:53 -0300982static struct tuner_range tuner_philips_fmd1216me_mk3_dvb_ranges[] = {
983 { 16 * 143.87 /*MHz*/, 0xbc, 0x41 },
984 { 16 * 158.87 /*MHz*/, 0xf4, 0x41 },
985 { 16 * 329.87 /*MHz*/, 0xbc, 0x42 },
986 { 16 * 441.87 /*MHz*/, 0xf4, 0x42 },
987 { 16 * 625.87 /*MHz*/, 0xbc, 0x44 },
988 { 16 * 803.87 /*MHz*/, 0xf4, 0x44 },
989 { 16 * 999.99 , 0xfc, 0x44 },
990};
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200991
Michael Krufkycc925bb2006-01-23 17:11:11 -0200992static struct tuner_params tuner_philips_fmd1216me_mk3_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -0200993 {
994 .type = TUNER_PARAM_TYPE_PAL,
995 .ranges = tuner_philips_fmd1216me_mk3_pal_ranges,
996 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -0300997 .has_tda9887 = 1,
998 .port1_active = 1,
999 .port2_active = 1,
1000 .port2_fm_high_sensitivity = 1,
1001 .port2_invert_for_secam_lc = 1,
1002 .port1_set_for_fm_mono = 1,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001003 },
Michael Krufky23a88102008-04-22 14:45:53 -03001004 {
1005 .type = TUNER_PARAM_TYPE_DIGITAL,
1006 .ranges = tuner_philips_fmd1216me_mk3_dvb_ranges,
1007 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_dvb_ranges),
1008 .iffreq = 16 * 36.125, /*MHz*/
1009 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001010};
1011
Darron Broad953cafc2008-10-15 14:14:30 -03001012static struct tuner_params tuner_philips_fmd1216mex_mk3_params[] = {
1013 {
1014 .type = TUNER_PARAM_TYPE_PAL,
1015 .ranges = tuner_philips_fmd1216me_mk3_pal_ranges,
1016 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_pal_ranges),
1017 .has_tda9887 = 1,
1018 .port1_active = 1,
1019 .port2_active = 1,
1020 .port2_fm_high_sensitivity = 1,
1021 .port2_invert_for_secam_lc = 1,
1022 .port1_set_for_fm_mono = 1,
1023 .radio_if = 1,
1024 .fm_gain_normal = 1,
1025 },
1026 {
1027 .type = TUNER_PARAM_TYPE_DIGITAL,
1028 .ranges = tuner_philips_fmd1216me_mk3_dvb_ranges,
1029 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_dvb_ranges),
1030 .iffreq = 16 * 36.125, /*MHz*/
1031 },
1032};
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001033
Michael Krufky9c26c8b2006-04-27 01:29:17 -03001034/* ------ TUNER_LG_TDVS_H06XF - LG INNOTEK / INFINEON ATSC ----- */
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001035
1036static struct tuner_range tuner_tua6034_ntsc_ranges[] = {
Rusty Scottdd31d5ac2006-04-22 16:15:07 -03001037 { 16 * 165.00 /*MHz*/, 0x8e, 0x01 },
1038 { 16 * 450.00 /*MHz*/, 0x8e, 0x02 },
Michael Krufky3fc46d32006-01-23 17:11:11 -02001039 { 16 * 999.99 , 0x8e, 0x04 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001040};
1041
Michael Krufkybed6d182008-04-22 14:45:52 -03001042static struct tuner_range tuner_tua6034_atsc_ranges[] = {
1043 { 16 * 165.00 /*MHz*/, 0xce, 0x01 },
1044 { 16 * 450.00 /*MHz*/, 0xce, 0x02 },
1045 { 16 * 999.99 , 0xce, 0x04 },
1046};
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001047
Michael Krufky9c26c8b2006-04-27 01:29:17 -03001048static struct tuner_params tuner_lg_tdvs_h06xf_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001049 {
1050 .type = TUNER_PARAM_TYPE_NTSC,
1051 .ranges = tuner_tua6034_ntsc_ranges,
1052 .count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001053 },
Michael Krufkybed6d182008-04-22 14:45:52 -03001054 {
1055 .type = TUNER_PARAM_TYPE_DIGITAL,
1056 .ranges = tuner_tua6034_atsc_ranges,
1057 .count = ARRAY_SIZE(tuner_tua6034_atsc_ranges),
1058 .iffreq = 16 * 44.00,
1059 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001060};
1061
1062/* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */
1063
Hermann Pittonc2d19232006-08-21 14:14:33 -03001064static struct tuner_range tuner_ymec_tvf66t5_b_dff_pal_ranges[] = {
1065 { 16 * 160.25 /*MHz*/, 0x8e, 0x01, },
1066 { 16 * 464.25 /*MHz*/, 0x8e, 0x02, },
1067 { 16 * 999.99 , 0x8e, 0x08, },
1068};
1069
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001070static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {
1071 {
1072 .type = TUNER_PARAM_TYPE_PAL,
Hermann Pittonc2d19232006-08-21 14:14:33 -03001073 .ranges = tuner_ymec_tvf66t5_b_dff_pal_ranges,
1074 .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001075 },
1076};
1077
1078/* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */
1079
Michael Krufkyf3629be2006-03-11 17:02:01 -03001080static struct tuner_range tuner_lg_taln_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -02001081 { 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
1082 { 16 * 373.25 /*MHz*/, 0x8e, 0x02, },
1083 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001084};
1085
Michael Krufkyf3629be2006-03-11 17:02:01 -03001086static struct tuner_range tuner_lg_taln_pal_secam_ranges[] = {
1087 { 16 * 150.00 /*MHz*/, 0x8e, 0x01, },
1088 { 16 * 425.00 /*MHz*/, 0x8e, 0x02, },
1089 { 16 * 999.99 , 0x8e, 0x08, },
1090};
1091
1092static struct tuner_params tuner_lg_taln_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001093 {
1094 .type = TUNER_PARAM_TYPE_NTSC,
Michael Krufkyf3629be2006-03-11 17:02:01 -03001095 .ranges = tuner_lg_taln_ntsc_ranges,
1096 .count = ARRAY_SIZE(tuner_lg_taln_ntsc_ranges),
1097 },{
1098 .type = TUNER_PARAM_TYPE_PAL,
1099 .ranges = tuner_lg_taln_pal_secam_ranges,
1100 .count = ARRAY_SIZE(tuner_lg_taln_pal_secam_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001101 },
1102};
1103
1104/* ------------ TUNER_PHILIPS_TD1316 - Philips PAL ------------ */
1105
1106static struct tuner_range tuner_philips_td1316_pal_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -02001107 { 16 * 160.00 /*MHz*/, 0xc8, 0xa1, },
1108 { 16 * 442.00 /*MHz*/, 0xc8, 0xa2, },
1109 { 16 * 999.99 , 0xc8, 0xa4, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001110};
1111
Michael Krufky0e5d3832008-04-22 14:45:56 -03001112static struct tuner_range tuner_philips_td1316_dvb_ranges[] = {
1113 { 16 * 93.834 /*MHz*/, 0xca, 0x60, },
1114 { 16 * 123.834 /*MHz*/, 0xca, 0xa0, },
1115 { 16 * 163.834 /*MHz*/, 0xca, 0xc0, },
1116 { 16 * 253.834 /*MHz*/, 0xca, 0x60, },
1117 { 16 * 383.834 /*MHz*/, 0xca, 0xa0, },
1118 { 16 * 443.834 /*MHz*/, 0xca, 0xc0, },
1119 { 16 * 583.834 /*MHz*/, 0xca, 0x60, },
1120 { 16 * 793.834 /*MHz*/, 0xca, 0xa0, },
1121 { 16 * 999.999 , 0xca, 0xe0, },
1122};
1123
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001124static struct tuner_params tuner_philips_td1316_params[] = {
1125 {
1126 .type = TUNER_PARAM_TYPE_PAL,
1127 .ranges = tuner_philips_td1316_pal_ranges,
1128 .count = ARRAY_SIZE(tuner_philips_td1316_pal_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001129 },
Michael Krufky0e5d3832008-04-22 14:45:56 -03001130 {
1131 .type = TUNER_PARAM_TYPE_DIGITAL,
1132 .ranges = tuner_philips_td1316_dvb_ranges,
1133 .count = ARRAY_SIZE(tuner_philips_td1316_dvb_ranges),
1134 .iffreq = 16 * 36.166667 /*MHz*/,
1135 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001136};
1137
1138/* ------------ TUNER_PHILIPS_TUV1236D - Philips ATSC ------------ */
1139
1140static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
Michael Krufky3fc46d32006-01-23 17:11:11 -02001141 { 16 * 157.25 /*MHz*/, 0xce, 0x01, },
1142 { 16 * 454.00 /*MHz*/, 0xce, 0x02, },
1143 { 16 * 999.99 , 0xce, 0x04, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001144};
1145
Michael Krufkydbe31272008-04-22 14:45:54 -03001146static struct tuner_range tuner_tuv1236d_atsc_ranges[] = {
1147 { 16 * 157.25 /*MHz*/, 0xc6, 0x41, },
1148 { 16 * 454.00 /*MHz*/, 0xc6, 0x42, },
1149 { 16 * 999.99 , 0xc6, 0x44, },
1150};
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001151
Michael Krufkycc925bb2006-01-23 17:11:11 -02001152static struct tuner_params tuner_tuv1236d_params[] = {
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001153 {
1154 .type = TUNER_PARAM_TYPE_NTSC,
1155 .ranges = tuner_tuv1236d_ntsc_ranges,
1156 .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001157 },
Michael Krufkydbe31272008-04-22 14:45:54 -03001158 {
1159 .type = TUNER_PARAM_TYPE_DIGITAL,
1160 .ranges = tuner_tuv1236d_atsc_ranges,
1161 .count = ARRAY_SIZE(tuner_tuv1236d_atsc_ranges),
1162 .iffreq = 16 * 44.00,
1163 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001164};
1165
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001166/* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */
1167/* This is known to work with Tenna TVF58t5-MFF and TVF5835 MFF
1168 * but it is expected to work also with other Tenna/Ymec
1169 * models based on TI SN 761677 chip on both PAL and NTSC
1170 */
1171
1172static struct tuner_range tuner_tnf_5335_d_if_pal_ranges[] = {
1173 { 16 * 168.25 /*MHz*/, 0x8e, 0x01, },
Mauro Carvalho Chehab7947a222006-03-09 16:09:20 -03001174 { 16 * 471.25 /*MHz*/, 0x8e, 0x02, },
1175 { 16 * 999.99 , 0x8e, 0x08, },
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001176};
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001177
1178static struct tuner_range tuner_tnf_5335mf_ntsc_ranges[] = {
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001179 { 16 * 169.25 /*MHz*/, 0x8e, 0x01, },
1180 { 16 * 469.25 /*MHz*/, 0x8e, 0x02, },
1181 { 16 * 999.99 , 0x8e, 0x08, },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001182};
1183
1184static struct tuner_params tuner_tnf_5335mf_params[] = {
1185 {
1186 .type = TUNER_PARAM_TYPE_NTSC,
1187 .ranges = tuner_tnf_5335mf_ntsc_ranges,
1188 .count = ARRAY_SIZE(tuner_tnf_5335mf_ntsc_ranges),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001189 },
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001190 {
1191 .type = TUNER_PARAM_TYPE_PAL,
1192 .ranges = tuner_tnf_5335_d_if_pal_ranges,
1193 .count = ARRAY_SIZE(tuner_tnf_5335_d_if_pal_ranges),
1194 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001195};
1196
Hans Verkuilb3d37042006-01-13 14:10:25 -02001197/* 70-79 */
1198/* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */
1199
Hans Verkuil43c560f2006-08-08 09:10:15 -03001200/* '+ 4' turns on the Low Noise Amplifier */
Hans Verkuilb3d37042006-01-13 14:10:25 -02001201static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = {
Hans Verkuil43c560f2006-08-08 09:10:15 -03001202 { 16 * 130.00 /*MHz*/, 0xce, 0x01 + 4, },
1203 { 16 * 364.50 /*MHz*/, 0xce, 0x02 + 4, },
1204 { 16 * 999.99 , 0xce, 0x08 + 4, },
Hans Verkuilb3d37042006-01-13 14:10:25 -02001205};
1206
1207static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = {
1208 {
1209 .type = TUNER_PARAM_TYPE_NTSC,
1210 .ranges = tuner_samsung_tcpn_2121p30a_ntsc_ranges,
1211 .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_ntsc_ranges),
Hans Verkuilb3d37042006-01-13 14:10:25 -02001212 },
1213};
1214
Michael Krufky91ae3292006-03-01 00:04:42 -03001215/* ------------ TUNER_THOMSON_FE6600 - DViCO Hybrid PAL ------------ */
Chris Pascoe780dfef2006-02-28 08:34:59 -03001216
Michael Krufky26cd8972008-04-22 14:45:56 -03001217static struct tuner_range tuner_thomson_fe6600_pal_ranges[] = {
Chris Pascoe780dfef2006-02-28 08:34:59 -03001218 { 16 * 160.00 /*MHz*/, 0xfe, 0x11, },
1219 { 16 * 442.00 /*MHz*/, 0xf6, 0x12, },
1220 { 16 * 999.99 , 0xf6, 0x18, },
1221};
1222
Michael Krufky26cd8972008-04-22 14:45:56 -03001223static struct tuner_range tuner_thomson_fe6600_dvb_ranges[] = {
1224 { 16 * 250.00 /*MHz*/, 0xb4, 0x12, },
1225 { 16 * 455.00 /*MHz*/, 0xfe, 0x11, },
1226 { 16 * 775.50 /*MHz*/, 0xbc, 0x18, },
1227 { 16 * 999.99 , 0xf4, 0x18, },
1228};
1229
Michael Krufky91ae3292006-03-01 00:04:42 -03001230static struct tuner_params tuner_thomson_fe6600_params[] = {
Chris Pascoe780dfef2006-02-28 08:34:59 -03001231 {
1232 .type = TUNER_PARAM_TYPE_PAL,
Michael Krufky26cd8972008-04-22 14:45:56 -03001233 .ranges = tuner_thomson_fe6600_pal_ranges,
1234 .count = ARRAY_SIZE(tuner_thomson_fe6600_pal_ranges),
1235 },
1236 {
1237 .type = TUNER_PARAM_TYPE_DIGITAL,
1238 .ranges = tuner_thomson_fe6600_dvb_ranges,
1239 .count = ARRAY_SIZE(tuner_thomson_fe6600_dvb_ranges),
1240 .iffreq = 16 * 36.125 /*MHz*/,
Chris Pascoe780dfef2006-02-28 08:34:59 -03001241 },
1242};
1243
Hans Verkuilc3449332006-04-19 18:50:35 -03001244/* ------------ TUNER_SAMSUNG_TCPG_6121P30A - Samsung PAL ------------ */
1245
Hans Verkuil43c560f2006-08-08 09:10:15 -03001246/* '+ 4' turns on the Low Noise Amplifier */
Hans Verkuilc3449332006-04-19 18:50:35 -03001247static struct tuner_range tuner_samsung_tcpg_6121p30a_pal_ranges[] = {
Hans Verkuil43c560f2006-08-08 09:10:15 -03001248 { 16 * 146.25 /*MHz*/, 0xce, 0x01 + 4, },
1249 { 16 * 428.50 /*MHz*/, 0xce, 0x02 + 4, },
1250 { 16 * 999.99 , 0xce, 0x08 + 4, },
Hans Verkuilc3449332006-04-19 18:50:35 -03001251};
1252
1253static struct tuner_params tuner_samsung_tcpg_6121p30a_params[] = {
1254 {
1255 .type = TUNER_PARAM_TYPE_PAL,
1256 .ranges = tuner_samsung_tcpg_6121p30a_pal_ranges,
1257 .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_pal_ranges),
Hans Verkuilba8fc392006-06-25 15:34:39 -03001258 .has_tda9887 = 1,
1259 .port1_active = 1,
1260 .port2_active = 1,
1261 .port2_invert_for_secam_lc = 1,
Hans Verkuilc3449332006-04-19 18:50:35 -03001262 },
1263};
1264
Mauro Carvalho Chehab8f2b7b72008-08-05 10:11:25 -03001265/* ------------ TUNER_TCL_MF02GIP-5N-E - TCL MF02GIP-5N ------------ */
1266
1267static struct tuner_range tuner_tcl_mf02gip_5n_ntsc_ranges[] = {
1268 { 16 * 172.00 /*MHz*/, 0x8e, 0x01, },
1269 { 16 * 448.00 /*MHz*/, 0x8e, 0x02, },
1270 { 16 * 999.99 , 0x8e, 0x04, },
1271};
1272
1273static struct tuner_params tuner_tcl_mf02gip_5n_params[] = {
1274 {
1275 .type = TUNER_PARAM_TYPE_NTSC,
1276 .ranges = tuner_tcl_mf02gip_5n_ntsc_ranges,
1277 .count = ARRAY_SIZE(tuner_tcl_mf02gip_5n_ntsc_ranges),
1278 .cb_first_if_lower_freq = 1,
1279 },
1280};
1281
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001282/* --------------------------------------------------------------------- */
1283
1284struct tunertype tuners[] = {
1285 /* 0-9 */
1286 [TUNER_TEMIC_PAL] = { /* TEMIC PAL */
1287 .name = "Temic PAL (4002 FH5)",
1288 .params = tuner_temic_pal_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001289 .count = ARRAY_SIZE(tuner_temic_pal_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001290 },
1291 [TUNER_PHILIPS_PAL_I] = { /* Philips PAL_I */
1292 .name = "Philips PAL_I (FI1246 and compatibles)",
1293 .params = tuner_philips_pal_i_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001294 .count = ARRAY_SIZE(tuner_philips_pal_i_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001295 },
1296 [TUNER_PHILIPS_NTSC] = { /* Philips NTSC */
1297 .name = "Philips NTSC (FI1236,FM1236 and compatibles)",
1298 .params = tuner_philips_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001299 .count = ARRAY_SIZE(tuner_philips_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001300 },
1301 [TUNER_PHILIPS_SECAM] = { /* Philips SECAM */
1302 .name = "Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)",
1303 .params = tuner_philips_secam_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001304 .count = ARRAY_SIZE(tuner_philips_secam_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001305 },
1306 [TUNER_ABSENT] = { /* Tuner Absent */
1307 .name = "NoTuner",
1308 },
1309 [TUNER_PHILIPS_PAL] = { /* Philips PAL */
1310 .name = "Philips PAL_BG (FI1216 and compatibles)",
1311 .params = tuner_philips_pal_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001312 .count = ARRAY_SIZE(tuner_philips_pal_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001313 },
1314 [TUNER_TEMIC_NTSC] = { /* TEMIC NTSC */
1315 .name = "Temic NTSC (4032 FY5)",
1316 .params = tuner_temic_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001317 .count = ARRAY_SIZE(tuner_temic_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001318 },
1319 [TUNER_TEMIC_PAL_I] = { /* TEMIC PAL_I */
1320 .name = "Temic PAL_I (4062 FY5)",
1321 .params = tuner_temic_pal_i_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001322 .count = ARRAY_SIZE(tuner_temic_pal_i_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001323 },
1324 [TUNER_TEMIC_4036FY5_NTSC] = { /* TEMIC NTSC */
1325 .name = "Temic NTSC (4036 FY5)",
1326 .params = tuner_temic_4036fy5_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001327 .count = ARRAY_SIZE(tuner_temic_4036fy5_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001328 },
1329 [TUNER_ALPS_TSBH1_NTSC] = { /* TEMIC NTSC */
1330 .name = "Alps HSBH1",
1331 .params = tuner_alps_tsbh1_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001332 .count = ARRAY_SIZE(tuner_alps_tsbh1_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001333 },
1334
1335 /* 10-19 */
1336 [TUNER_ALPS_TSBE1_PAL] = { /* TEMIC PAL */
1337 .name = "Alps TSBE1",
1338 .params = tuner_alps_tsb_1_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001339 .count = ARRAY_SIZE(tuner_alps_tsb_1_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001340 },
1341 [TUNER_ALPS_TSBB5_PAL_I] = { /* Alps PAL_I */
1342 .name = "Alps TSBB5",
1343 .params = tuner_alps_tsbb5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001344 .count = ARRAY_SIZE(tuner_alps_tsbb5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001345 },
1346 [TUNER_ALPS_TSBE5_PAL] = { /* Alps PAL */
1347 .name = "Alps TSBE5",
1348 .params = tuner_alps_tsbe5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001349 .count = ARRAY_SIZE(tuner_alps_tsbe5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001350 },
1351 [TUNER_ALPS_TSBC5_PAL] = { /* Alps PAL */
1352 .name = "Alps TSBC5",
1353 .params = tuner_alps_tsbc5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001354 .count = ARRAY_SIZE(tuner_alps_tsbc5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001355 },
1356 [TUNER_TEMIC_4006FH5_PAL] = { /* TEMIC PAL */
1357 .name = "Temic PAL_BG (4006FH5)",
1358 .params = tuner_temic_4006fh5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001359 .count = ARRAY_SIZE(tuner_temic_4006fh5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001360 },
1361 [TUNER_ALPS_TSHC6_NTSC] = { /* Alps NTSC */
1362 .name = "Alps TSCH6",
1363 .params = tuner_alps_tshc6_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001364 .count = ARRAY_SIZE(tuner_alps_tshc6_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001365 },
1366 [TUNER_TEMIC_PAL_DK] = { /* TEMIC PAL */
1367 .name = "Temic PAL_DK (4016 FY5)",
1368 .params = tuner_temic_pal_dk_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001369 .count = ARRAY_SIZE(tuner_temic_pal_dk_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001370 },
1371 [TUNER_PHILIPS_NTSC_M] = { /* Philips NTSC */
1372 .name = "Philips NTSC_M (MK2)",
1373 .params = tuner_philips_ntsc_m_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001374 .count = ARRAY_SIZE(tuner_philips_ntsc_m_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001375 },
1376 [TUNER_TEMIC_4066FY5_PAL_I] = { /* TEMIC PAL_I */
1377 .name = "Temic PAL_I (4066 FY5)",
1378 .params = tuner_temic_4066fy5_pal_i_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001379 .count = ARRAY_SIZE(tuner_temic_4066fy5_pal_i_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001380 },
1381 [TUNER_TEMIC_4006FN5_MULTI_PAL] = { /* TEMIC PAL */
1382 .name = "Temic PAL* auto (4006 FN5)",
1383 .params = tuner_temic_4006fn5_multi_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001384 .count = ARRAY_SIZE(tuner_temic_4006fn5_multi_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001385 },
1386
1387 /* 20-29 */
1388 [TUNER_TEMIC_4009FR5_PAL] = { /* TEMIC PAL */
1389 .name = "Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)",
1390 .params = tuner_temic_4009f_5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001391 .count = ARRAY_SIZE(tuner_temic_4009f_5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001392 },
1393 [TUNER_TEMIC_4039FR5_NTSC] = { /* TEMIC NTSC */
1394 .name = "Temic NTSC (4039 FR5)",
1395 .params = tuner_temic_4039fr5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001396 .count = ARRAY_SIZE(tuner_temic_4039fr5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001397 },
1398 [TUNER_TEMIC_4046FM5] = { /* TEMIC PAL */
1399 .name = "Temic PAL/SECAM multi (4046 FM5)",
1400 .params = tuner_temic_4046fm5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001401 .count = ARRAY_SIZE(tuner_temic_4046fm5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001402 },
1403 [TUNER_PHILIPS_PAL_DK] = { /* Philips PAL */
1404 .name = "Philips PAL_DK (FI1256 and compatibles)",
1405 .params = tuner_philips_pal_dk_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001406 .count = ARRAY_SIZE(tuner_philips_pal_dk_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001407 },
1408 [TUNER_PHILIPS_FQ1216ME] = { /* Philips PAL */
1409 .name = "Philips PAL/SECAM multi (FQ1216ME)",
1410 .params = tuner_philips_fq1216me_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001411 .count = ARRAY_SIZE(tuner_philips_fq1216me_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001412 },
1413 [TUNER_LG_PAL_I_FM] = { /* LGINNOTEK PAL_I */
1414 .name = "LG PAL_I+FM (TAPC-I001D)",
1415 .params = tuner_lg_pal_i_fm_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001416 .count = ARRAY_SIZE(tuner_lg_pal_i_fm_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001417 },
1418 [TUNER_LG_PAL_I] = { /* LGINNOTEK PAL_I */
1419 .name = "LG PAL_I (TAPC-I701D)",
1420 .params = tuner_lg_pal_i_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001421 .count = ARRAY_SIZE(tuner_lg_pal_i_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001422 },
1423 [TUNER_LG_NTSC_FM] = { /* LGINNOTEK NTSC */
1424 .name = "LG NTSC+FM (TPI8NSR01F)",
1425 .params = tuner_lg_ntsc_fm_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001426 .count = ARRAY_SIZE(tuner_lg_ntsc_fm_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001427 },
1428 [TUNER_LG_PAL_FM] = { /* LGINNOTEK PAL */
1429 .name = "LG PAL_BG+FM (TPI8PSB01D)",
1430 .params = tuner_lg_pal_fm_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001431 .count = ARRAY_SIZE(tuner_lg_pal_fm_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001432 },
1433 [TUNER_LG_PAL] = { /* LGINNOTEK PAL */
1434 .name = "LG PAL_BG (TPI8PSB11D)",
1435 .params = tuner_lg_pal_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001436 .count = ARRAY_SIZE(tuner_lg_pal_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001437 },
1438
1439 /* 30-39 */
1440 [TUNER_TEMIC_4009FN5_MULTI_PAL_FM] = { /* TEMIC PAL */
1441 .name = "Temic PAL* auto + FM (4009 FN5)",
1442 .params = tuner_temic_4009_fn5_multi_pal_fm_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001443 .count = ARRAY_SIZE(tuner_temic_4009_fn5_multi_pal_fm_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001444 },
1445 [TUNER_SHARP_2U5JF5540_NTSC] = { /* SHARP NTSC */
1446 .name = "SHARP NTSC_JP (2U5JF5540)",
1447 .params = tuner_sharp_2u5jf5540_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001448 .count = ARRAY_SIZE(tuner_sharp_2u5jf5540_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001449 },
1450 [TUNER_Samsung_PAL_TCPM9091PD27] = { /* Samsung PAL */
1451 .name = "Samsung PAL TCPM9091PD27",
1452 .params = tuner_samsung_pal_tcpm9091pd27_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001453 .count = ARRAY_SIZE(tuner_samsung_pal_tcpm9091pd27_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001454 },
1455 [TUNER_MT2032] = { /* Microtune PAL|NTSC */
1456 .name = "MT20xx universal",
1457 /* see mt20xx.c for details */ },
1458 [TUNER_TEMIC_4106FH5] = { /* TEMIC PAL */
1459 .name = "Temic PAL_BG (4106 FH5)",
1460 .params = tuner_temic_4106fh5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001461 .count = ARRAY_SIZE(tuner_temic_4106fh5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001462 },
1463 [TUNER_TEMIC_4012FY5] = { /* TEMIC PAL */
1464 .name = "Temic PAL_DK/SECAM_L (4012 FY5)",
1465 .params = tuner_temic_4012fy5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001466 .count = ARRAY_SIZE(tuner_temic_4012fy5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001467 },
1468 [TUNER_TEMIC_4136FY5] = { /* TEMIC NTSC */
1469 .name = "Temic NTSC (4136 FY5)",
1470 .params = tuner_temic_4136_fy5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001471 .count = ARRAY_SIZE(tuner_temic_4136_fy5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001472 },
1473 [TUNER_LG_PAL_NEW_TAPC] = { /* LGINNOTEK PAL */
1474 .name = "LG PAL (newer TAPC series)",
1475 .params = tuner_lg_pal_new_tapc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001476 .count = ARRAY_SIZE(tuner_lg_pal_new_tapc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001477 },
1478 [TUNER_PHILIPS_FM1216ME_MK3] = { /* Philips PAL */
1479 .name = "Philips PAL/SECAM multi (FM1216ME MK3)",
1480 .params = tuner_fm1216me_mk3_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001481 .count = ARRAY_SIZE(tuner_fm1216me_mk3_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001482 },
1483 [TUNER_LG_NTSC_NEW_TAPC] = { /* LGINNOTEK NTSC */
1484 .name = "LG NTSC (newer TAPC series)",
1485 .params = tuner_lg_ntsc_new_tapc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001486 .count = ARRAY_SIZE(tuner_lg_ntsc_new_tapc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001487 },
1488
1489 /* 40-49 */
1490 [TUNER_HITACHI_NTSC] = { /* HITACHI NTSC */
1491 .name = "HITACHI V7-J180AT",
1492 .params = tuner_hitachi_ntsc_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001493 .count = ARRAY_SIZE(tuner_hitachi_ntsc_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001494 },
1495 [TUNER_PHILIPS_PAL_MK] = { /* Philips PAL */
1496 .name = "Philips PAL_MK (FI1216 MK)",
1497 .params = tuner_philips_pal_mk_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001498 .count = ARRAY_SIZE(tuner_philips_pal_mk_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001499 },
Michael Krufkyab8b8702008-04-22 14:46:05 -03001500 [TUNER_PHILIPS_FCV1236D] = { /* Philips ATSC */
Michael Krufkyb8273632007-06-27 14:38:45 -03001501 .name = "Philips FCV1236D ATSC/NTSC dual in",
1502 .params = tuner_philips_fcv1236d_params,
1503 .count = ARRAY_SIZE(tuner_philips_fcv1236d_params),
Michael Krufkyf4173d02008-04-22 14:45:55 -03001504 .min = 16 * 53.00,
1505 .max = 16 * 803.00,
1506 .stepsize = 62500,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001507 },
1508 [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */
1509 .name = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)",
1510 .params = tuner_fm1236_mk3_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001511 .count = ARRAY_SIZE(tuner_fm1236_mk3_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001512 },
1513 [TUNER_PHILIPS_4IN1] = { /* Philips NTSC */
1514 .name = "Philips 4 in 1 (ATI TV Wonder Pro/Conexant)",
1515 .params = tuner_philips_4in1_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001516 .count = ARRAY_SIZE(tuner_philips_4in1_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001517 },
1518 [TUNER_MICROTUNE_4049FM5] = { /* Microtune PAL */
1519 .name = "Microtune 4049 FM5",
1520 .params = tuner_microtune_4049_fm5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001521 .count = ARRAY_SIZE(tuner_microtune_4049_fm5_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001522 },
1523 [TUNER_PANASONIC_VP27] = { /* Panasonic NTSC */
1524 .name = "Panasonic VP27s/ENGE4324D",
1525 .params = tuner_panasonic_vp27_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001526 .count = ARRAY_SIZE(tuner_panasonic_vp27_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001527 },
1528 [TUNER_LG_NTSC_TAPE] = { /* LGINNOTEK NTSC */
1529 .name = "LG NTSC (TAPE series)",
Hans Verkuil122b5db2006-12-03 06:45:07 -03001530 .params = tuner_fm1236_mk3_params,
1531 .count = ARRAY_SIZE(tuner_fm1236_mk3_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001532 },
1533 [TUNER_TNF_8831BGFF] = { /* Philips PAL */
1534 .name = "Tenna TNF 8831 BGFF)",
1535 .params = tuner_tnf_8831bgff_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001536 .count = ARRAY_SIZE(tuner_tnf_8831bgff_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001537 },
1538 [TUNER_MICROTUNE_4042FI5] = { /* Microtune NTSC */
1539 .name = "Microtune 4042 FI5 ATSC/NTSC dual in",
1540 .params = tuner_microtune_4042fi5_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001541 .count = ARRAY_SIZE(tuner_microtune_4042fi5_params),
Michael Krufkya33b42c2008-04-22 14:45:56 -03001542 .min = 16 * 57.00,
1543 .max = 16 * 858.00,
1544 .stepsize = 62500,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001545 },
1546
1547 /* 50-59 */
1548 [TUNER_TCL_2002N] = { /* TCL NTSC */
1549 .name = "TCL 2002N",
1550 .params = tuner_tcl_2002n_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001551 .count = ARRAY_SIZE(tuner_tcl_2002n_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001552 },
1553 [TUNER_PHILIPS_FM1256_IH3] = { /* Philips PAL */
1554 .name = "Philips PAL/SECAM_D (FM 1256 I-H3)",
1555 .params = tuner_philips_fm1256_ih3_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001556 .count = ARRAY_SIZE(tuner_philips_fm1256_ih3_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001557 },
1558 [TUNER_THOMSON_DTT7610] = { /* THOMSON ATSC */
1559 .name = "Thomson DTT 7610 (ATSC/NTSC)",
1560 .params = tuner_thomson_dtt7610_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001561 .count = ARRAY_SIZE(tuner_thomson_dtt7610_params),
Michael Krufky0db5fd42008-04-22 14:45:55 -03001562 .min = 16 * 44.00,
1563 .max = 16 * 958.00,
1564 .stepsize = 62500,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001565 },
1566 [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */
1567 .name = "Philips FQ1286",
1568 .params = tuner_philips_fq1286_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001569 .count = ARRAY_SIZE(tuner_philips_fq1286_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001570 },
1571 [TUNER_PHILIPS_TDA8290] = { /* Philips PAL|NTSC */
Michael Krufky0b5f4a12007-10-27 13:09:16 -03001572 .name = "Philips/NXP TDA 8290/8295 + 8275/8275A/18271",
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001573 /* see tda8290.c for details */ },
1574 [TUNER_TCL_2002MB] = { /* TCL PAL */
1575 .name = "TCL 2002MB",
1576 .params = tuner_tcl_2002mb_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001577 .count = ARRAY_SIZE(tuner_tcl_2002mb_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001578 },
1579 [TUNER_PHILIPS_FQ1216AME_MK4] = { /* Philips PAL */
1580 .name = "Philips PAL/SECAM multi (FQ1216AME MK4)",
1581 .params = tuner_philips_fq1216ame_mk4_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001582 .count = ARRAY_SIZE(tuner_philips_fq1216ame_mk4_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001583 },
1584 [TUNER_PHILIPS_FQ1236A_MK4] = { /* Philips NTSC */
1585 .name = "Philips FQ1236A MK4",
1586 .params = tuner_philips_fq1236a_mk4_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001587 .count = ARRAY_SIZE(tuner_philips_fq1236a_mk4_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001588 },
1589 [TUNER_YMEC_TVF_8531MF] = { /* Philips NTSC */
1590 .name = "Ymec TVision TVF-8531MF/8831MF/8731MF",
1591 .params = tuner_ymec_tvf_8531mf_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001592 .count = ARRAY_SIZE(tuner_ymec_tvf_8531mf_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001593 },
1594 [TUNER_YMEC_TVF_5533MF] = { /* Philips NTSC */
1595 .name = "Ymec TVision TVF-5533MF",
1596 .params = tuner_ymec_tvf_5533mf_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001597 .count = ARRAY_SIZE(tuner_ymec_tvf_5533mf_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001598 },
1599
1600 /* 60-69 */
1601 [TUNER_THOMSON_DTT761X] = { /* THOMSON ATSC */
1602 /* DTT 7611 7611A 7612 7613 7613A 7614 7615 7615A */
1603 .name = "Thomson DTT 761X (ATSC/NTSC)",
1604 .params = tuner_thomson_dtt761x_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001605 .count = ARRAY_SIZE(tuner_thomson_dtt761x_params),
Michael Krufky22ef8fc2008-04-22 14:45:52 -03001606 .min = 16 * 57.00,
1607 .max = 16 * 863.00,
1608 .stepsize = 62500,
Michael Krufky6f4a5722008-04-22 14:45:53 -03001609 .initdata = tua603x_agc103,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001610 },
1611 [TUNER_TENA_9533_DI] = { /* Philips PAL */
1612 .name = "Tena TNF9533-D/IF/TNF9533-B/DF",
1613 .params = tuner_tena_9533_di_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001614 .count = ARRAY_SIZE(tuner_tena_9533_di_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001615 },
1616 [TUNER_TEA5767] = { /* Philips RADIO */
1617 .name = "Philips TEA5767HN FM Radio",
1618 /* see tea5767.c for details */
1619 },
1620 [TUNER_PHILIPS_FMD1216ME_MK3] = { /* Philips PAL */
1621 .name = "Philips FMD1216ME MK3 Hybrid Tuner",
Michael Krufkycc925bb2006-01-23 17:11:11 -02001622 .params = tuner_philips_fmd1216me_mk3_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001623 .count = ARRAY_SIZE(tuner_philips_fmd1216me_mk3_params),
Michael Krufky23a88102008-04-22 14:45:53 -03001624 .min = 16 * 50.87,
1625 .max = 16 * 858.00,
1626 .stepsize = 166667,
Michael Krufky6f4a5722008-04-22 14:45:53 -03001627 .initdata = tua603x_agc112,
1628 .sleepdata = (u8[]){ 4, 0x9c, 0x60, 0x85, 0x54 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001629 },
Michael Krufky9c26c8b2006-04-27 01:29:17 -03001630 [TUNER_LG_TDVS_H06XF] = { /* LGINNOTEK ATSC */
Michael Krufkyd9e12f22006-04-22 16:15:11 -03001631 .name = "LG TDVS-H06xF", /* H061F, H062F & H064F */
Michael Krufky9c26c8b2006-04-27 01:29:17 -03001632 .params = tuner_lg_tdvs_h06xf_params,
1633 .count = ARRAY_SIZE(tuner_lg_tdvs_h06xf_params),
Michael Krufkybed6d182008-04-22 14:45:52 -03001634 .min = 16 * 54.00,
1635 .max = 16 * 863.00,
1636 .stepsize = 62500,
Michael Krufky6f4a5722008-04-22 14:45:53 -03001637 .initdata = tua603x_agc103,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001638 },
1639 [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */
1640 .name = "Ymec TVF66T5-B/DFF",
1641 .params = tuner_ymec_tvf66t5_b_dff_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001642 .count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001643 },
Michael Krufkyf3629be2006-03-11 17:02:01 -03001644 [TUNER_LG_TALN] = { /* LGINNOTEK NTSC / PAL / SECAM */
1645 .name = "LG TALN series",
1646 .params = tuner_lg_taln_params,
1647 .count = ARRAY_SIZE(tuner_lg_taln_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001648 },
1649 [TUNER_PHILIPS_TD1316] = { /* Philips PAL */
1650 .name = "Philips TD1316 Hybrid Tuner",
1651 .params = tuner_philips_td1316_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001652 .count = ARRAY_SIZE(tuner_philips_td1316_params),
Michael Krufky0e5d3832008-04-22 14:45:56 -03001653 .min = 16 * 87.00,
1654 .max = 16 * 895.00,
1655 .stepsize = 166667,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001656 },
1657 [TUNER_PHILIPS_TUV1236D] = { /* Philips ATSC */
1658 .name = "Philips TUV1236D ATSC/NTSC dual in",
Michael Krufkycc925bb2006-01-23 17:11:11 -02001659 .params = tuner_tuv1236d_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001660 .count = ARRAY_SIZE(tuner_tuv1236d_params),
Michael Krufkydbe31272008-04-22 14:45:54 -03001661 .min = 16 * 54.00,
1662 .max = 16 * 864.00,
1663 .stepsize = 62500,
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001664 },
Mauro Carvalho Chehabefcf55c2006-03-09 11:17:43 -03001665 [TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */
1666 .name = "Tena TNF 5335 and similar models",
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001667 .params = tuner_tnf_5335mf_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001668 .count = ARRAY_SIZE(tuner_tnf_5335mf_params),
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001669 },
Hans Verkuilb3d37042006-01-13 14:10:25 -02001670
1671 /* 70-79 */
1672 [TUNER_SAMSUNG_TCPN_2121P30A] = { /* Samsung NTSC */
1673 .name = "Samsung TCPN 2121P30A",
1674 .params = tuner_samsung_tcpn_2121p30a_params,
Michael Krufkybbab6fd2006-02-06 09:15:11 -02001675 .count = ARRAY_SIZE(tuner_samsung_tcpn_2121p30a_params),
Hans Verkuilb3d37042006-01-13 14:10:25 -02001676 },
Mauro Carvalho Chehab12466572007-10-24 11:08:20 -03001677 [TUNER_XC2028] = { /* Xceive 2028 */
1678 .name = "Xceive xc2028/xc3028 tuner",
1679 /* see tuner-xc2028.c for details */
Markus Rechberger0004fd52006-02-27 00:07:27 -03001680 },
Michael Krufky91ae3292006-03-01 00:04:42 -03001681 [TUNER_THOMSON_FE6600] = { /* Thomson PAL / DVB-T */
1682 .name = "Thomson FE6600",
1683 .params = tuner_thomson_fe6600_params,
Michael Krufkyb1b168e2006-03-11 16:12:35 -03001684 .count = ARRAY_SIZE(tuner_thomson_fe6600_params),
Michael Krufky26cd8972008-04-22 14:45:56 -03001685 .min = 16 * 44.25,
1686 .max = 16 * 858.00,
1687 .stepsize = 166667,
Chris Pascoe780dfef2006-02-28 08:34:59 -03001688 },
Hans Verkuilc3449332006-04-19 18:50:35 -03001689 [TUNER_SAMSUNG_TCPG_6121P30A] = { /* Samsung PAL */
1690 .name = "Samsung TCPG 6121P30A",
1691 .params = tuner_samsung_tcpg_6121p30a_params,
1692 .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_params),
1693 },
Mauro Carvalho Chehab15396232006-06-23 16:13:56 -03001694 [TUNER_TDA9887] = { /* Philips TDA 9887 IF PLL Demodulator.
1695 This chip is part of some modern tuners */
1696 .name = "Philips TDA988[5,6,7] IF PLL Demodulator",
1697 /* see tda9887.c for details */
1698 },
Mauro Carvalho Chehab8573a9e2007-04-08 01:09:11 -03001699 [TUNER_TEA5761] = { /* Philips RADIO */
1700 .name = "Philips TEA5761 FM Radio",
1701 /* see tea5767.c for details */
1702 },
Steven Toth27c685a2008-01-05 16:50:14 -03001703 [TUNER_XC5000] = { /* Xceive 5000 */
1704 .name = "Xceive 5000 tuner",
1705 /* see xc5000.c for details */
1706 },
Mauro Carvalho Chehab8f2b7b72008-08-05 10:11:25 -03001707 [TUNER_TCL_MF02GIP_5N] = { /* TCL tuner MF02GIP-5N-E */
1708 .name = "TCL tuner MF02GIP-5N-E",
1709 .params = tuner_tcl_mf02gip_5n_params,
1710 .count = ARRAY_SIZE(tuner_tcl_mf02gip_5n_params),
1711 },
Darron Broad953cafc2008-10-15 14:14:30 -03001712 [TUNER_PHILIPS_FMD1216MEX_MK3] = { /* Philips PAL */
1713 .name = "Philips FMD1216MEX MK3 Hybrid Tuner",
1714 .params = tuner_philips_fmd1216mex_mk3_params,
1715 .count = ARRAY_SIZE(tuner_philips_fmd1216mex_mk3_params),
1716 .min = 16 * 50.87,
1717 .max = 16 * 858.00,
1718 .stepsize = 166667,
1719 .initdata = tua603x_agc112,
1720 .sleepdata = (u8[]){ 4, 0x9c, 0x60, 0x85, 0x54 },
1721 },
Dmitri Belimov8475cbc2009-05-11 08:16:06 -03001722 [TUNER_PHILIPS_FM1216MK5] = { /* Philips PAL */
1723 .name = "Philips PAL/SECAM multi (FM1216 MK5)",
1724 .params = tuner_fm1216mk5_params,
1725 .count = ARRAY_SIZE(tuner_fm1216mk5_params),
1726 },
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001727};
Michael Krufky82b30832008-04-22 14:41:49 -03001728EXPORT_SYMBOL(tuners);
Michael Krufky7b0ac9c2006-01-13 14:10:25 -02001729
1730unsigned const int tuner_count = ARRAY_SIZE(tuners);
Michael Krufky82b30832008-04-22 14:41:49 -03001731EXPORT_SYMBOL(tuner_count);
1732
1733MODULE_DESCRIPTION("Simple tuner device type database");
1734MODULE_AUTHOR("Ralph Metzler, Gerd Knorr, Gunther Mayer");
1735MODULE_LICENSE("GPL");