aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/it913x-fe-priv.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2011-10-31 11:02:08 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-07 10:24:38 -0500
commitb7d425d39179e125604cbf451a06d3204d2e1398 (patch)
tree694e59a80de14465372cfe3da31ce0f14b1a7a15 /drivers/media/dvb/frontends/it913x-fe-priv.h
parentead32d5357e4aae732ccd7427073ab4bf30d3068 (diff)
[media] it913x Support it9135 Verions 2 chip
Support for version 2 type chips and other LNA versions of version 1 Scripts may be compressed slightly at a later stage. TODO Firmware loader However, things are a little confusing, it is not clear that dvb-usb-it9137-01.fw does not work with version 2 chips as in recent files both firmwares are the same. Should be applied to: 8133 Support for single ITE 9135 device. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/it913x-fe-priv.h')
-rw-r--r--drivers/media/dvb/frontends/it913x-fe-priv.h718
1 files changed, 705 insertions, 13 deletions
diff --git a/drivers/media/dvb/frontends/it913x-fe-priv.h b/drivers/media/dvb/frontends/it913x-fe-priv.h
index 1c6fb4b66255..abf1395f6240 100644
--- a/drivers/media/dvb/frontends/it913x-fe-priv.h
+++ b/drivers/media/dvb/frontends/it913x-fe-priv.h
@@ -205,6 +205,10 @@ fe_modulation_t fe_con[] = {
205 205
206/* Standard demodulator functions */ 206/* Standard demodulator functions */
207static struct it913xset set_solo_fe[] = { 207static struct it913xset set_solo_fe[] = {
208 {PRO_LINK, GPIOH5_EN, {0x01}, 0x01},
209 {PRO_LINK, GPIOH5_ON, {0x01}, 0x01},
210 {PRO_LINK, GPIOH5_O, {0x00}, 0x01},
211 {PRO_LINK, GPIOH5_O, {0x01}, 0x01},
208 {PRO_LINK, DVBT_INTEN, {0x04}, 0x01}, 212 {PRO_LINK, DVBT_INTEN, {0x04}, 0x01},
209 {PRO_LINK, DVBT_ENABLE, {0x05}, 0x01}, 213 {PRO_LINK, DVBT_ENABLE, {0x05}, 0x01},
210 {PRO_DMOD, MP2IF_MPEG_PAR_MODE, {0x00}, 0x01}, 214 {PRO_DMOD, MP2IF_MPEG_PAR_MODE, {0x00}, 0x01},
@@ -233,8 +237,121 @@ static struct it913xset init_1[] = {
233 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */ 237 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
234}; 238};
235 239
236/* ---------IT9137 0x38 tuner init---------- */ 240
237static struct it913xset it9137_set[] = { 241/* Version 1 types */
242static struct it913xset it9135_v1[] = {
243 {PRO_DMOD, 0x0051, {0x01}, 0x01},
244 {PRO_DMOD, 0x0070, {0x0a}, 0x01},
245 {PRO_DMOD, 0x007e, {0x04}, 0x01},
246 {PRO_DMOD, 0x0081, {0x0a}, 0x01},
247 {PRO_DMOD, 0x008a, {0x01}, 0x01},
248 {PRO_DMOD, 0x008e, {0x01}, 0x01},
249 {PRO_DMOD, 0x0092, {0x06}, 0x01},
250 {PRO_DMOD, 0x0099, {0x01}, 0x01},
251 {PRO_DMOD, 0x009f, {0xe1}, 0x01},
252 {PRO_DMOD, 0x00a0, {0xcf}, 0x01},
253 {PRO_DMOD, 0x00a3, {0x01}, 0x01},
254 {PRO_DMOD, 0x00a5, {0x01}, 0x01},
255 {PRO_DMOD, 0x00a6, {0x01}, 0x01},
256 {PRO_DMOD, 0x00a9, {0x00}, 0x01},
257 {PRO_DMOD, 0x00aa, {0x01}, 0x01},
258 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
259 {PRO_DMOD, 0x00c2, {0x05}, 0x01},
260 {PRO_DMOD, 0x00c6, {0x19}, 0x01},
261 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
262 {PRO_DMOD, 0xf016, {0x10}, 0x01},
263 {PRO_DMOD, 0xf017, {0x04}, 0x01},
264 {PRO_DMOD, 0xf018, {0x05}, 0x01},
265 {PRO_DMOD, 0xf019, {0x04}, 0x01},
266 {PRO_DMOD, 0xf01a, {0x05}, 0x01},
267 {PRO_DMOD, 0xf021, {0x03}, 0x01},
268 {PRO_DMOD, 0xf022, {0x0a}, 0x01},
269 {PRO_DMOD, 0xf023, {0x0a}, 0x01},
270 {PRO_DMOD, 0xf02b, {0x00}, 0x01},
271 {PRO_DMOD, 0xf02c, {0x01}, 0x01},
272 {PRO_DMOD, 0xf064, {0x03}, 0x01},
273 {PRO_DMOD, 0xf065, {0xf9}, 0x01},
274 {PRO_DMOD, 0xf066, {0x03}, 0x01},
275 {PRO_DMOD, 0xf067, {0x01}, 0x01},
276 {PRO_DMOD, 0xf06f, {0xe0}, 0x01},
277 {PRO_DMOD, 0xf070, {0x03}, 0x01},
278 {PRO_DMOD, 0xf072, {0x0f}, 0x01},
279 {PRO_DMOD, 0xf073, {0x03}, 0x01},
280 {PRO_DMOD, 0xf078, {0x00}, 0x01},
281 {PRO_DMOD, 0xf087, {0x00}, 0x01},
282 {PRO_DMOD, 0xf09b, {0x3f}, 0x01},
283 {PRO_DMOD, 0xf09c, {0x00}, 0x01},
284 {PRO_DMOD, 0xf09d, {0x20}, 0x01},
285 {PRO_DMOD, 0xf09e, {0x00}, 0x01},
286 {PRO_DMOD, 0xf09f, {0x0c}, 0x01},
287 {PRO_DMOD, 0xf0a0, {0x00}, 0x01},
288 {PRO_DMOD, 0xf130, {0x04}, 0x01},
289 {PRO_DMOD, 0xf132, {0x04}, 0x01},
290 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
291 {PRO_DMOD, 0xf146, {0x00}, 0x01},
292 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
293 {PRO_DMOD, 0xf14c, {0x00}, 0x01},
294 {PRO_DMOD, 0xf14d, {0x00}, 0x01},
295 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
296 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
297 {PRO_DMOD, 0xf15a, {0x00}, 0x01},
298 {PRO_DMOD, 0xf15b, {0x08}, 0x01},
299 {PRO_DMOD, 0xf15d, {0x03}, 0x01},
300 {PRO_DMOD, 0xf15e, {0x05}, 0x01},
301 {PRO_DMOD, 0xf163, {0x05}, 0x01},
302 {PRO_DMOD, 0xf166, {0x01}, 0x01},
303 {PRO_DMOD, 0xf167, {0x40}, 0x01},
304 {PRO_DMOD, 0xf168, {0x0f}, 0x01},
305 {PRO_DMOD, 0xf17a, {0x00}, 0x01},
306 {PRO_DMOD, 0xf17b, {0x00}, 0x01},
307 {PRO_DMOD, 0xf183, {0x01}, 0x01},
308 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
309 {PRO_DMOD, 0xf1bc, {0x36}, 0x01},
310 {PRO_DMOD, 0xf1bd, {0x00}, 0x01},
311 {PRO_DMOD, 0xf1cb, {0xa0}, 0x01},
312 {PRO_DMOD, 0xf1cc, {0x01}, 0x01},
313 {PRO_DMOD, 0xf204, {0x10}, 0x01},
314 {PRO_DMOD, 0xf214, {0x00}, 0x01},
315 {PRO_DMOD, 0xf40e, {0x0a}, 0x01},
316 {PRO_DMOD, 0xf40f, {0x40}, 0x01},
317 {PRO_DMOD, 0xf410, {0x08}, 0x01},
318 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
319 {PRO_DMOD, 0xf561, {0x15}, 0x01},
320 {PRO_DMOD, 0xf562, {0x20}, 0x01},
321 {PRO_DMOD, 0xf5df, {0xfb}, 0x01},
322 {PRO_DMOD, 0xf5e0, {0x00}, 0x01},
323 {PRO_DMOD, 0xf5e3, {0x09}, 0x01},
324 {PRO_DMOD, 0xf5e4, {0x01}, 0x01},
325 {PRO_DMOD, 0xf5e5, {0x01}, 0x01},
326 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
327 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
328 {PRO_DMOD, 0xf600, {0x05}, 0x01},
329 {PRO_DMOD, 0xf601, {0x08}, 0x01},
330 {PRO_DMOD, 0xf602, {0x0b}, 0x01},
331 {PRO_DMOD, 0xf603, {0x0e}, 0x01},
332 {PRO_DMOD, 0xf604, {0x11}, 0x01},
333 {PRO_DMOD, 0xf605, {0x14}, 0x01},
334 {PRO_DMOD, 0xf606, {0x17}, 0x01},
335 {PRO_DMOD, 0xf607, {0x1f}, 0x01},
336 {PRO_DMOD, 0xf60e, {0x00}, 0x01},
337 {PRO_DMOD, 0xf60f, {0x04}, 0x01},
338 {PRO_DMOD, 0xf610, {0x32}, 0x01},
339 {PRO_DMOD, 0xf611, {0x10}, 0x01},
340 {PRO_DMOD, 0xf707, {0xfc}, 0x01},
341 {PRO_DMOD, 0xf708, {0x00}, 0x01},
342 {PRO_DMOD, 0xf709, {0x37}, 0x01},
343 {PRO_DMOD, 0xf70a, {0x00}, 0x01},
344 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
345 {PRO_DMOD, 0xf80f, {0x40}, 0x01},
346 {PRO_DMOD, 0xf810, {0x54}, 0x01},
347 {PRO_DMOD, 0xf811, {0x5a}, 0x01},
348 {PRO_DMOD, 0xf905, {0x01}, 0x01},
349 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
350 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
351 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
352};
353
354static struct it913xset it9135_38[] = {
238 {PRO_DMOD, 0x0043, {0x00}, 0x01}, 355 {PRO_DMOD, 0x0043, {0x00}, 0x01},
239 {PRO_DMOD, 0x0046, {0x38}, 0x01}, 356 {PRO_DMOD, 0x0046, {0x38}, 0x01},
240 {PRO_DMOD, 0x0051, {0x01}, 0x01}, 357 {PRO_DMOD, 0x0051, {0x01}, 0x01},
@@ -244,7 +361,7 @@ static struct it913xset it9137_set[] = {
244 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xc8, 0x01}, 0x05}, 361 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xc8, 0x01}, 0x05},
245 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02}, 362 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
246 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x02, 0x0a, 0x03, 0xc8, 0xb8, 363 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x02, 0x0a, 0x03, 0xc8, 0xb8,
247 0xd0, 0xc3, 0x01 }, 0x0a}, 364 0xd0, 0xc3, 0x01}, 0x0a},
248 {PRO_DMOD, 0x008e, {0x01}, 0x01}, 365 {PRO_DMOD, 0x008e, {0x01}, 0x01},
249 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05}, 366 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
250 {PRO_DMOD, 0x0099, {0x01}, 0x01}, 367 {PRO_DMOD, 0x0099, {0x01}, 0x01},
@@ -262,15 +379,25 @@ static struct it913xset it9137_set[] = {
262 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03}, 379 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
263 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03}, 380 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
264 {PRO_DMOD, 0x00fc, { 0x02, 0x02, 0x02, 0x09, 0x50, 0x7b, 0x77, 381 {PRO_DMOD, 0x00fc, { 0x02, 0x02, 0x02, 0x09, 0x50, 0x7b, 0x77,
265 0x00, 0x02, 0xc8, 0x05, 0x7b }, 0x0c}, 382 0x00, 0x02, 0xc8, 0x05, 0x7b}, 0x0c},
266 {PRO_DMOD, 0x0109, {0x02}, 0x01}, 383 {PRO_DMOD, 0x0109, {0x02}, 0x01},
267 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02}, 384 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
268 {PRO_DMOD, 0x011a, {0xc8, 0x7b, 0xbc, 0xa0}, 0x04}, 385 {PRO_DMOD, 0x011a, {0xc8, 0x7b, 0x8a, 0xa0}, 0x04},
269 {PRO_DMOD, 0x0122, {0x02, 0x18, 0xc3}, 0x03}, 386 {PRO_DMOD, 0x0122, {0x02, 0x18, 0xc3}, 0x03},
270 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02}, 387 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
271 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04}, 388 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
272 {PRO_DMOD, 0x0137, {0x01, 0x00, 0x07, 0x00, 0x06}, 0x05}, 389 {PRO_DMOD, 0x0137, {0x01, 0x00, 0x07, 0x00, 0x06}, 0x05},
273 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xc8}, 0x04}, 390 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xc8, 0x59}, 0x05},
391 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
392 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
393 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
394 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
395 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
396 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
397 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
398 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
399 {PRO_DMOD, 0xf085, {0x00, 0x02, 0x00}, 0x03},
400 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
274 {PRO_DMOD, 0xf130, {0x04}, 0x01}, 401 {PRO_DMOD, 0xf130, {0x04}, 0x01},
275 {PRO_DMOD, 0xf132, {0x04}, 0x01}, 402 {PRO_DMOD, 0xf132, {0x04}, 0x01},
276 {PRO_DMOD, 0xf144, {0x1a}, 0x01}, 403 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
@@ -301,7 +428,7 @@ static struct it913xset it9137_set[] = {
301 {PRO_DMOD, 0xf5f8, {0x01}, 0x01}, 428 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
302 {PRO_DMOD, 0xf5fd, {0x01}, 0x01}, 429 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
303 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17, 430 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
304 0x1f }, 0x08}, 431 0x1f}, 0x08},
305 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04}, 432 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
306 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04}, 433 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
307 {PRO_DMOD, 0xf78b, {0x01}, 0x01}, 434 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
@@ -309,13 +436,578 @@ static struct it913xset it9137_set[] = {
309 {PRO_DMOD, 0xf905, {0x01}, 0x01}, 436 {PRO_DMOD, 0xf905, {0x01}, 0x01},
310 {PRO_DMOD, 0xfb06, {0x03}, 0x01}, 437 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
311 {PRO_DMOD, 0xfd8b, {0x00}, 0x01}, 438 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
312 {PRO_LINK, GPIOH5_EN, {0x01}, 0x01}, 439 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
313 {PRO_LINK, GPIOH5_ON, {0x01}, 0x01}, 440};
314 {PRO_LINK, GPIOH5_O, {0x00}, 0x01}, 441
315 {PRO_LINK, GPIOH5_O, {0x01}, 0x01}, 442static struct it913xset it9135_51[] = {
316 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */ 443 {PRO_DMOD, 0x0043, {0x00}, 0x01},
444 {PRO_DMOD, 0x0046, {0x51}, 0x01},
445 {PRO_DMOD, 0x0051, {0x01}, 0x01},
446 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
447 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
448 {PRO_DMOD, 0x0070, {0x0a, 0x06, 0x02}, 0x03},
449 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xc8, 0x01}, 0x05},
450 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
451 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x02, 0x0a, 0x03, 0xc0, 0x96,
452 0xcf, 0xc3, 0x01}, 0x0a},
453 {PRO_DMOD, 0x008e, {0x01}, 0x01},
454 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
455 {PRO_DMOD, 0x0099, {0x01}, 0x01},
456 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
457 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
458 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
459 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
460 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
461 {PRO_DMOD, 0x00b3, {0x02, 0x3c}, 0x02},
462 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
463 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05}, 0x03},
464 {PRO_DMOD, 0x00c4, {0x00}, 0x01},
465 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
466 {PRO_DMOD, 0x00cc, {0x2e, 0x51, 0x33}, 0x03},
467 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
468 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
469 {PRO_DMOD, 0x00fc, { 0x03, 0x02, 0x02, 0x09, 0x50, 0x7a, 0x77,
470 0x01, 0x02, 0xb0, 0x02, 0x7a}, 0x0c},
471 {PRO_DMOD, 0x0109, {0x02}, 0x01},
472 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
473 {PRO_DMOD, 0x011a, {0xc0, 0x7a, 0xac, 0x8c}, 0x04},
474 {PRO_DMOD, 0x0122, {0x02, 0x70, 0xa4}, 0x03},
475 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
476 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
477 {PRO_DMOD, 0x0137, {0x01, 0x00, 0x07, 0x00, 0x06}, 0x05},
478 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xc0, 0x59}, 0x05},
479 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
480 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
481 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
482 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
483 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
484 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
485 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
486 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
487 {PRO_DMOD, 0xf085, {0xc0, 0x01, 0x00}, 0x03},
488 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
489 {PRO_DMOD, 0xf130, {0x04}, 0x01},
490 {PRO_DMOD, 0xf132, {0x04}, 0x01},
491 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
492 {PRO_DMOD, 0xf146, {0x00}, 0x01},
493 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
494 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
495 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
496 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
497 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
498 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
499 {PRO_DMOD, 0xf163, {0x05}, 0x01},
500 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
501 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
502 {PRO_DMOD, 0xf183, {0x01}, 0x01},
503 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
504 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
505 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
506 {PRO_DMOD, 0xf204, {0x10}, 0x01},
507 {PRO_DMOD, 0xf214, {0x00}, 0x01},
508 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
509 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
510 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
511 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
512 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
513 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
514 {PRO_DMOD, 0xf5df, {0xfb, 0x00}, 0x02},
515 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
516 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
517 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
518 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
519 0x1f}, 0x08},
520 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
521 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
522 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
523 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
524 {PRO_DMOD, 0xf905, {0x01}, 0x01},
525 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
526 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
527 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
528};
529
530static struct it913xset it9135_52[] = {
531 {PRO_DMOD, 0x0043, {0x00}, 0x01},
532 {PRO_DMOD, 0x0046, {0x52}, 0x01},
533 {PRO_DMOD, 0x0051, {0x01}, 0x01},
534 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
535 {PRO_DMOD, 0x0068, {0x10}, 0x01},
536 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
537 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xa0, 0x01}, 0x05},
538 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
539 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x03, 0x0a, 0x03, 0xb3, 0x97,
540 0xc0, 0x9e, 0x01}, 0x0a},
541 {PRO_DMOD, 0x008e, {0x01}, 0x01},
542 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
543 {PRO_DMOD, 0x0099, {0x01}, 0x01},
544 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
545 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
546 {PRO_DMOD, 0x00a3, {0x01, 0x5c, 0x01, 0x01}, 0x04},
547 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
548 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
549 {PRO_DMOD, 0x00b3, {0x02, 0x3c}, 0x02},
550 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
551 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05}, 0x03},
552 {PRO_DMOD, 0x00c4, {0x00}, 0x01},
553 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
554 {PRO_DMOD, 0x00cc, {0x2e, 0x51, 0x33}, 0x03},
555 {PRO_DMOD, 0x00f3, {0x05, 0x91, 0x8c}, 0x03},
556 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
557 {PRO_DMOD, 0x00fc, { 0x03, 0x02, 0x02, 0x09, 0x50, 0x74, 0x77,
558 0x02, 0x02, 0xae, 0x02, 0x6e}, 0x0c},
559 {PRO_DMOD, 0x0109, {0x02}, 0x01},
560 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
561 {PRO_DMOD, 0x011a, {0xcd, 0x62, 0xa4, 0x8c}, 0x04},
562 {PRO_DMOD, 0x0122, {0x03, 0x18, 0x9e}, 0x03},
563 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
564 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
565 {PRO_DMOD, 0x0137, {0x00, 0x00, 0x07, 0x00, 0x06}, 0x05},
566 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xb6, 0x59}, 0x05},
567 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
568 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
569 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
570 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
571 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
572 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
573 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
574 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
575 {PRO_DMOD, 0xf085, {0xc0, 0x01, 0x00}, 0x03},
576 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
577 {PRO_DMOD, 0xf130, {0x04}, 0x01},
578 {PRO_DMOD, 0xf132, {0x04}, 0x01},
579 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
580 {PRO_DMOD, 0xf146, {0x00}, 0x01},
581 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
582 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
583 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
584 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
585 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
586 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
587 {PRO_DMOD, 0xf163, {0x05}, 0x01},
588 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
589 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
590 {PRO_DMOD, 0xf183, {0x01}, 0x01},
591 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
592 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
593 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
594 {PRO_DMOD, 0xf204, {0x10}, 0x01},
595 {PRO_DMOD, 0xf214, {0x00}, 0x01},
596 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
597 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
598 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
599 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
600 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
601 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
602 {PRO_DMOD, 0xf5df, {0xfb, 0x00}, 0x02},
603 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
604 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
605 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
606 {PRO_DMOD, 0xf600, {0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
607 0x1f}, 0x08},
608 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
609 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
610 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
611 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
612 {PRO_DMOD, 0xf905, {0x01}, 0x01},
613 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
614 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
615 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
616};
617
618/* Version 2 types */
619static struct it913xset it9135_v2[] = {
620 {PRO_DMOD, 0x0051, {0x01}, 0x01},
621 {PRO_DMOD, 0x0070, {0x0a}, 0x01},
622 {PRO_DMOD, 0x007e, {0x04}, 0x01},
623 {PRO_DMOD, 0x0081, {0x0a}, 0x01},
624 {PRO_DMOD, 0x008a, {0x01}, 0x01},
625 {PRO_DMOD, 0x008e, {0x01}, 0x01},
626 {PRO_DMOD, 0x0092, {0x06}, 0x01},
627 {PRO_DMOD, 0x0099, {0x01}, 0x01},
628 {PRO_DMOD, 0x009f, {0xe1}, 0x01},
629 {PRO_DMOD, 0x00a0, {0xcf}, 0x01},
630 {PRO_DMOD, 0x00a3, {0x01}, 0x01},
631 {PRO_DMOD, 0x00a5, {0x01}, 0x01},
632 {PRO_DMOD, 0x00a6, {0x01}, 0x01},
633 {PRO_DMOD, 0x00a9, {0x00}, 0x01},
634 {PRO_DMOD, 0x00aa, {0x01}, 0x01},
635 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
636 {PRO_DMOD, 0x00c2, {0x05}, 0x01},
637 {PRO_DMOD, 0x00c6, {0x19}, 0x01},
638 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
639 {PRO_DMOD, 0xf02b, {0x00}, 0x01},
640 {PRO_DMOD, 0xf064, {0x03}, 0x01},
641 {PRO_DMOD, 0xf065, {0xf9}, 0x01},
642 {PRO_DMOD, 0xf066, {0x03}, 0x01},
643 {PRO_DMOD, 0xf067, {0x01}, 0x01},
644 {PRO_DMOD, 0xf06f, {0xe0}, 0x01},
645 {PRO_DMOD, 0xf070, {0x03}, 0x01},
646 {PRO_DMOD, 0xf072, {0x0f}, 0x01},
647 {PRO_DMOD, 0xf073, {0x03}, 0x01},
648 {PRO_DMOD, 0xf078, {0x00}, 0x01},
649 {PRO_DMOD, 0xf087, {0x00}, 0x01},
650 {PRO_DMOD, 0xf09b, {0x3f}, 0x01},
651 {PRO_DMOD, 0xf09c, {0x00}, 0x01},
652 {PRO_DMOD, 0xf09d, {0x20}, 0x01},
653 {PRO_DMOD, 0xf09e, {0x00}, 0x01},
654 {PRO_DMOD, 0xf09f, {0x0c}, 0x01},
655 {PRO_DMOD, 0xf0a0, {0x00}, 0x01},
656 {PRO_DMOD, 0xf130, {0x04}, 0x01},
657 {PRO_DMOD, 0xf132, {0x04}, 0x01},
658 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
659 {PRO_DMOD, 0xf146, {0x00}, 0x01},
660 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
661 {PRO_DMOD, 0xf14c, {0x00}, 0x01},
662 {PRO_DMOD, 0xf14d, {0x00}, 0x01},
663 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
664 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
665 {PRO_DMOD, 0xf15a, {0x00}, 0x01},
666 {PRO_DMOD, 0xf15b, {0x08}, 0x01},
667 {PRO_DMOD, 0xf15d, {0x03}, 0x01},
668 {PRO_DMOD, 0xf15e, {0x05}, 0x01},
669 {PRO_DMOD, 0xf163, {0x05}, 0x01},
670 {PRO_DMOD, 0xf166, {0x01}, 0x01},
671 {PRO_DMOD, 0xf167, {0x40}, 0x01},
672 {PRO_DMOD, 0xf168, {0x0f}, 0x01},
673 {PRO_DMOD, 0xf17a, {0x00}, 0x01},
674 {PRO_DMOD, 0xf17b, {0x00}, 0x01},
675 {PRO_DMOD, 0xf183, {0x01}, 0x01},
676 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
677 {PRO_DMOD, 0xf1bc, {0x36}, 0x01},
678 {PRO_DMOD, 0xf1bd, {0x00}, 0x01},
679 {PRO_DMOD, 0xf1cb, {0xa0}, 0x01},
680 {PRO_DMOD, 0xf1cc, {0x01}, 0x01},
681 {PRO_DMOD, 0xf204, {0x10}, 0x01},
682 {PRO_DMOD, 0xf214, {0x00}, 0x01},
683 {PRO_DMOD, 0xf40e, {0x0a}, 0x01},
684 {PRO_DMOD, 0xf40f, {0x40}, 0x01},
685 {PRO_DMOD, 0xf410, {0x08}, 0x01},
686 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
687 {PRO_DMOD, 0xf561, {0x15}, 0x01},
688 {PRO_DMOD, 0xf562, {0x20}, 0x01},
689 {PRO_DMOD, 0xf5e3, {0x09}, 0x01},
690 {PRO_DMOD, 0xf5e4, {0x01}, 0x01},
691 {PRO_DMOD, 0xf5e5, {0x01}, 0x01},
692 {PRO_DMOD, 0xf600, {0x05}, 0x01},
693 {PRO_DMOD, 0xf601, {0x08}, 0x01},
694 {PRO_DMOD, 0xf602, {0x0b}, 0x01},
695 {PRO_DMOD, 0xf603, {0x0e}, 0x01},
696 {PRO_DMOD, 0xf604, {0x11}, 0x01},
697 {PRO_DMOD, 0xf605, {0x14}, 0x01},
698 {PRO_DMOD, 0xf606, {0x17}, 0x01},
699 {PRO_DMOD, 0xf607, {0x1f}, 0x01},
700 {PRO_DMOD, 0xf60e, {0x00}, 0x01},
701 {PRO_DMOD, 0xf60f, {0x04}, 0x01},
702 {PRO_DMOD, 0xf610, {0x32}, 0x01},
703 {PRO_DMOD, 0xf611, {0x10}, 0x01},
704 {PRO_DMOD, 0xf707, {0xfc}, 0x01},
705 {PRO_DMOD, 0xf708, {0x00}, 0x01},
706 {PRO_DMOD, 0xf709, {0x37}, 0x01},
707 {PRO_DMOD, 0xf70a, {0x00}, 0x01},
708 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
709 {PRO_DMOD, 0xf80f, {0x40}, 0x01},
710 {PRO_DMOD, 0xf810, {0x54}, 0x01},
711 {PRO_DMOD, 0xf811, {0x5a}, 0x01},
712 {PRO_DMOD, 0xf905, {0x01}, 0x01},
713 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
714 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
715 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
716};
717
718static struct it913xset it9135_60[] = {
719 {PRO_DMOD, 0x0043, {0x00}, 0x01},
720 {PRO_DMOD, 0x0046, {0x60}, 0x01},
721 {PRO_DMOD, 0x0051, {0x01}, 0x01},
722 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
723 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
724 {PRO_DMOD, 0x006a, {0x03}, 0x01},
725 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
726 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x8c, 0x01}, 0x05},
727 {PRO_DMOD, 0x007e, {0x04}, 0x01},
728 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
729 {PRO_DMOD, 0x0084, {0x0a, 0x33, 0xbe, 0xa0, 0xc6, 0xb6, 0x01}, 0x07},
730 {PRO_DMOD, 0x008e, {0x01}, 0x01},
731 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
732 {PRO_DMOD, 0x0099, {0x01}, 0x01},
733 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
734 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
735 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
736 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
737 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
738 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
739 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
740 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
741 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
742 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
743 {PRO_DMOD, 0x00f3, {0x05, 0xa0, 0x8c}, 0x03},
744 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
745 {PRO_DMOD, 0x00fc, { 0x03, 0x03, 0x02, 0x0a, 0x50, 0x7b, 0x8c,
746 0x00, 0x02, 0xbe, 0x00}, 0x0b},
747 {PRO_DMOD, 0x0109, {0x02}, 0x01},
748 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
749 {PRO_DMOD, 0x011a, {0xbe}, 0x01},
750 {PRO_DMOD, 0x0124, {0xae}, 0x01},
751 {PRO_DMOD, 0x0127, {0x00}, 0x01},
752 {PRO_DMOD, 0x012a, {0x56, 0x50, 0x47, 0x42}, 0x04},
753 {PRO_DMOD, 0x0137, {0x00}, 0x01},
754 {PRO_DMOD, 0x013b, {0x08}, 0x01},
755 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
756 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x19, 0x19, 0x8c, 0x8c, 0x8c,
757 0x6e, 0x8c, 0x50, 0x8c, 0x8c, 0xac, 0xc6,
758 0x33}, 0x0f},
759 {PRO_DMOD, 0x0151, {0x28}, 0x01},
760 {PRO_DMOD, 0x0153, {0xbc}, 0x01},
761 {PRO_DMOD, 0x0178, {0x09}, 0x01},
762 {PRO_DMOD, 0x0181, {0x94, 0x6e}, 0x02},
763 {PRO_DMOD, 0x0185, {0x24}, 0x01},
764 {PRO_DMOD, 0x0187, {0x00, 0x00, 0xbe, 0x02, 0x80}, 0x05},
765 {PRO_DMOD, 0xed02, {0xff}, 0x01},
766 {PRO_DMOD, 0xee42, {0xff}, 0x01},
767 {PRO_DMOD, 0xee82, {0xff}, 0x01},
768 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
769 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
770 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
771 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
772 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
773 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
774 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
775 {PRO_DMOD, 0xf087, {0x00}, 0x01},
776 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
777 {PRO_DMOD, 0xf130, {0x04}, 0x01},
778 {PRO_DMOD, 0xf132, {0x04}, 0x01},
779 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
780 {PRO_DMOD, 0xf146, {0x00}, 0x01},
781 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
782 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
783 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
784 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
785 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
786 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
787 {PRO_DMOD, 0xf163, {0x05}, 0x01},
788 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
789 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
790 {PRO_DMOD, 0xf183, {0x01}, 0x01},
791 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
792 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
793 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
794 {PRO_DMOD, 0xf204, {0x10}, 0x01},
795 {PRO_DMOD, 0xf214, {0x00}, 0x01},
796 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
797 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
798 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
799 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
800 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
801 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
802 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
803 {PRO_DMOD, 0xf600, {0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17
804 , 0x1f}, 0x08},
805 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
806 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
807 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
808 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
809 {PRO_DMOD, 0xf905, {0x01}, 0x01},
810 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
811 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
812 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
813};
814
815static struct it913xset it9135_61[] = {
816 {PRO_DMOD, 0x0043, {0x00}, 0x01},
817 {PRO_DMOD, 0x0046, {0x61}, 0x01},
818 {PRO_DMOD, 0x0051, {0x01}, 0x01},
819 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
820 {PRO_DMOD, 0x0068, {0x06}, 0x01},
821 {PRO_DMOD, 0x006a, {0x03}, 0x01},
822 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
823 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x90, 0x01}, 0x05},
824 {PRO_DMOD, 0x007e, {0x04}, 0x01},
825 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
826 {PRO_DMOD, 0x0084, {0x0a, 0x33, 0xbc, 0x9c, 0xcc, 0xa8, 0x01}, 0x07},
827 {PRO_DMOD, 0x008e, {0x01}, 0x01},
828 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
829 {PRO_DMOD, 0x0099, {0x01}, 0x01},
830 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
831 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
832 {PRO_DMOD, 0x00a3, {0x01, 0x5c, 0x01, 0x01}, 0x04},
833 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
834 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
835 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
836 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
837 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
838 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
839 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
840 {PRO_DMOD, 0x00f3, {0x05, 0xa0, 0x8c}, 0x03},
841 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
842 {PRO_DMOD, 0x00fc, { 0x03, 0x03, 0x02, 0x08, 0x50, 0x7b, 0x8c,
843 0x01, 0x02, 0xc8, 0x00}, 0x0b},
844 {PRO_DMOD, 0x0109, {0x02}, 0x01},
845 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
846 {PRO_DMOD, 0x011a, {0xc6}, 0x01},
847 {PRO_DMOD, 0x0124, {0xa8}, 0x01},
848 {PRO_DMOD, 0x0127, {0x00}, 0x01},
849 {PRO_DMOD, 0x012a, {0x59, 0x50, 0x47, 0x42}, 0x04},
850 {PRO_DMOD, 0x0137, {0x00}, 0x01},
851 {PRO_DMOD, 0x013b, {0x05}, 0x01},
852 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
853 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x59, 0x59, 0x8c, 0x8c, 0x8c,
854 0x7b, 0x8c, 0x50, 0x8c, 0x8c, 0xa8, 0xc6,
855 0x33}, 0x0f},
856 {PRO_DMOD, 0x0151, {0x28}, 0x01},
857 {PRO_DMOD, 0x0153, {0xcc}, 0x01},
858 {PRO_DMOD, 0x0178, {0x09}, 0x01},
859 {PRO_DMOD, 0x0181, {0x9c, 0x76}, 0x02},
860 {PRO_DMOD, 0x0185, {0x28}, 0x01},
861 {PRO_DMOD, 0x0187, {0x01, 0x00, 0xaa, 0x02, 0x80}, 0x05},
862 {PRO_DMOD, 0xed02, {0xff}, 0x01},
863 {PRO_DMOD, 0xee42, {0xff}, 0x01},
864 {PRO_DMOD, 0xee82, {0xff}, 0x01},
865 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
866 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
867 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
868 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
869 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
870 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
871 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
872 {PRO_DMOD, 0xf087, {0x00}, 0x01},
873 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
874 {PRO_DMOD, 0xf130, {0x04}, 0x01},
875 {PRO_DMOD, 0xf132, {0x04}, 0x01},
876 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
877 {PRO_DMOD, 0xf146, {0x00}, 0x01},
878 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
879 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
880 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
881 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
882 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
883 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
884 {PRO_DMOD, 0xf163, {0x05}, 0x01},
885 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
886 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
887 {PRO_DMOD, 0xf183, {0x01}, 0x01},
888 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
889 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
890 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
891 {PRO_DMOD, 0xf204, {0x10}, 0x01},
892 {PRO_DMOD, 0xf214, {0x00}, 0x01},
893 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
894 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
895 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
896 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
897 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
898 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
899 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
900 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
901 0x1f}, 0x08},
902 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
903 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
904 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
905 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
906 {PRO_DMOD, 0xf905, {0x01}, 0x01},
907 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
908 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
909 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
910};
911
912static struct it913xset it9135_62[] = {
913 {PRO_DMOD, 0x0043, {0x00}, 0x01},
914 {PRO_DMOD, 0x0046, {0x62}, 0x01},
915 {PRO_DMOD, 0x0051, {0x01}, 0x01},
916 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
917 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
918 {PRO_DMOD, 0x006a, {0x03}, 0x01},
919 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
920 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x8c, 0x01}, 0x05},
921 {PRO_DMOD, 0x007e, {0x04}, 0x01},
922 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
923 {PRO_DMOD, 0x0084, { 0x0a, 0x33, 0xb8, 0x9c, 0xb2, 0xa6, 0x01},
924 0x07},
925 {PRO_DMOD, 0x008e, {0x01}, 0x01},
926 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
927 {PRO_DMOD, 0x0099, {0x01}, 0x01},
928 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
929 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
930 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
931 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
932 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
933 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
934 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
935 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
936 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
937 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
938 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
939 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
940 {PRO_DMOD, 0x00fc, { 0x02, 0x03, 0x02, 0x09, 0x50, 0x6e, 0x8c,
941 0x02, 0x02, 0xc2, 0x00}, 0x0b},
942 {PRO_DMOD, 0x0109, {0x02}, 0x01},
943 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
944 {PRO_DMOD, 0x011a, {0xb8}, 0x01},
945 {PRO_DMOD, 0x0124, {0xa8}, 0x01},
946 {PRO_DMOD, 0x0127, {0x00}, 0x01},
947 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
948 {PRO_DMOD, 0x0137, {0x00}, 0x01},
949 {PRO_DMOD, 0x013b, {0x05}, 0x01},
950 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
951 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x59, 0x19, 0x8c, 0x8c, 0x8c,
952 0x7b, 0x8c, 0x50, 0x70, 0x8c, 0x96, 0xd0,
953 0x33}, 0x0f},
954 {PRO_DMOD, 0x0151, {0x28}, 0x01},
955 {PRO_DMOD, 0x0153, {0xb2}, 0x01},
956 {PRO_DMOD, 0x0178, {0x09}, 0x01},
957 {PRO_DMOD, 0x0181, {0x9c, 0x6e}, 0x02},
958 {PRO_DMOD, 0x0185, {0x24}, 0x01},
959 {PRO_DMOD, 0x0187, {0x00, 0x00, 0xb8, 0x02, 0x80}, 0x05},
960 {PRO_DMOD, 0xed02, {0xff}, 0x01},
961 {PRO_DMOD, 0xee42, {0xff}, 0x01},
962 {PRO_DMOD, 0xee82, {0xff}, 0x01},
963 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
964 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
965 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
966 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
967 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
968 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
969 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
970 {PRO_DMOD, 0xf087, {0x00}, 0x01},
971 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
972 {PRO_DMOD, 0xf130, {0x04}, 0x01},
973 {PRO_DMOD, 0xf132, {0x04}, 0x01},
974 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
975 {PRO_DMOD, 0xf146, {0x00}, 0x01},
976 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
977 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
978 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
979 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
980 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
981 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
982 {PRO_DMOD, 0xf163, {0x05}, 0x01},
983 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
984 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
985 {PRO_DMOD, 0xf183, {0x01}, 0x01},
986 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
987 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
988 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
989 {PRO_DMOD, 0xf204, {0x10}, 0x01},
990 {PRO_DMOD, 0xf214, {0x00}, 0x01},
991 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
992 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
993 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
994 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
995 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
996 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
997 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
998 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
999 0x1f}, 0x08},
1000 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
1001 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
1002 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
1003 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
1004 {PRO_DMOD, 0xf905, {0x01}, 0x01},
1005 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
1006 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
1007 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
317}; 1008};
318 1009
1010/* Tuner setting scripts (still keeping it9137) */
319static struct it913xset it9137_tuner_off[] = { 1011static struct it913xset it9137_tuner_off[] = {
320 {PRO_DMOD, 0xfba8, {0x01}, 0x01}, /* Tuner Clock Off */ 1012 {PRO_DMOD, 0xfba8, {0x01}, 0x01}, /* Tuner Clock Off */
321 {PRO_DMOD, 0xec40, {0x00}, 0x01}, /* Power Down Tuner */ 1013 {PRO_DMOD, 0xec40, {0x00}, 0x01}, /* Power Down Tuner */