diff options
author | Antti Palosaari <crope@iki.fi> | 2013-03-07 19:38:00 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 18:04:01 -0400 |
commit | a49f53a0802959f81a9576a9c0f5164214598422 (patch) | |
tree | bb9c3dcb13622a8706ade8725c36553881e027cc | |
parent | 22d729f30e6ffa2c28a704377a5e6689f33b3095 (diff) |
[media] af9033: add IT9135 tuner config "60" init table
Dumped out from the Windows driver version 12.07.06.1
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb-frontends/af9033.c | 3 | ||||
-rw-r--r-- | drivers/media/dvb-frontends/af9033_priv.h | 215 |
2 files changed, 218 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9033.c b/drivers/media/dvb-frontends/af9033.c index 920c8758c696..9359dbd0ceb8 100644 --- a/drivers/media/dvb-frontends/af9033.c +++ b/drivers/media/dvb-frontends/af9033.c | |||
@@ -359,6 +359,9 @@ static int af9033_init(struct dvb_frontend *fe) | |||
359 | init = tuner_init_it9135_52; | 359 | init = tuner_init_it9135_52; |
360 | break; | 360 | break; |
361 | case AF9033_TUNER_IT9135_60: | 361 | case AF9033_TUNER_IT9135_60: |
362 | len = ARRAY_SIZE(tuner_init_it9135_60); | ||
363 | init = tuner_init_it9135_60; | ||
364 | break; | ||
362 | case AF9033_TUNER_IT9135_61: | 365 | case AF9033_TUNER_IT9135_61: |
363 | case AF9033_TUNER_IT9135_62: | 366 | case AF9033_TUNER_IT9135_62: |
364 | len = 0; | 367 | len = 0; |
diff --git a/drivers/media/dvb-frontends/af9033_priv.h b/drivers/media/dvb-frontends/af9033_priv.h index 01844d5b1563..3b4ff8b334c8 100644 --- a/drivers/media/dvb-frontends/af9033_priv.h +++ b/drivers/media/dvb-frontends/af9033_priv.h | |||
@@ -1407,5 +1407,220 @@ static const struct reg_val ofsm_init_it9135_v2[] = { | |||
1407 | { 0x80fd8b, 0x00 }, | 1407 | { 0x80fd8b, 0x00 }, |
1408 | }; | 1408 | }; |
1409 | 1409 | ||
1410 | /* ITE Tech IT9135 Omega v2 tuner init | ||
1411 | AF9033_TUNER_IT9135_60 = 0x60 */ | ||
1412 | static const struct reg_val tuner_init_it9135_60[] = { | ||
1413 | { 0x800043, 0x00 }, | ||
1414 | { 0x800046, 0x60 }, | ||
1415 | { 0x800051, 0x01 }, | ||
1416 | { 0x80005f, 0x00 }, | ||
1417 | { 0x800060, 0x00 }, | ||
1418 | { 0x800068, 0x0a }, | ||
1419 | { 0x80006a, 0x03 }, | ||
1420 | { 0x800070, 0x0a }, | ||
1421 | { 0x800071, 0x05 }, | ||
1422 | { 0x800072, 0x02 }, | ||
1423 | { 0x800075, 0x8c }, | ||
1424 | { 0x800076, 0x8c }, | ||
1425 | { 0x800077, 0x8c }, | ||
1426 | { 0x800078, 0x8c }, | ||
1427 | { 0x800079, 0x01 }, | ||
1428 | { 0x80007e, 0x04 }, | ||
1429 | { 0x800081, 0x0a }, | ||
1430 | { 0x800082, 0x18 }, | ||
1431 | { 0x800084, 0x0a }, | ||
1432 | { 0x800085, 0x33 }, | ||
1433 | { 0x800086, 0xbe }, | ||
1434 | { 0x800087, 0xa0 }, | ||
1435 | { 0x800088, 0xc6 }, | ||
1436 | { 0x800089, 0xb6 }, | ||
1437 | { 0x80008a, 0x01 }, | ||
1438 | { 0x80008e, 0x01 }, | ||
1439 | { 0x800092, 0x06 }, | ||
1440 | { 0x800093, 0x00 }, | ||
1441 | { 0x800094, 0x00 }, | ||
1442 | { 0x800095, 0x00 }, | ||
1443 | { 0x800096, 0x00 }, | ||
1444 | { 0x800099, 0x01 }, | ||
1445 | { 0x80009b, 0x3c }, | ||
1446 | { 0x80009c, 0x28 }, | ||
1447 | { 0x80009f, 0xe1 }, | ||
1448 | { 0x8000a0, 0xcf }, | ||
1449 | { 0x8000a3, 0x01 }, | ||
1450 | { 0x8000a4, 0x5a }, | ||
1451 | { 0x8000a5, 0x01 }, | ||
1452 | { 0x8000a6, 0x01 }, | ||
1453 | { 0x8000a9, 0x00 }, | ||
1454 | { 0x8000aa, 0x01 }, | ||
1455 | { 0x8000b0, 0x01 }, | ||
1456 | { 0x8000b3, 0x02 }, | ||
1457 | { 0x8000b4, 0x3a }, | ||
1458 | { 0x8000b6, 0x14 }, | ||
1459 | { 0x8000c0, 0x11 }, | ||
1460 | { 0x8000c1, 0x00 }, | ||
1461 | { 0x8000c2, 0x05 }, | ||
1462 | { 0x8000c3, 0x01 }, | ||
1463 | { 0x8000c4, 0x00 }, | ||
1464 | { 0x8000c6, 0x19 }, | ||
1465 | { 0x8000c7, 0x00 }, | ||
1466 | { 0x8000cb, 0x32 }, | ||
1467 | { 0x8000cc, 0x2c }, | ||
1468 | { 0x8000cd, 0x4f }, | ||
1469 | { 0x8000ce, 0x30 }, | ||
1470 | { 0x8000f3, 0x05 }, | ||
1471 | { 0x8000f4, 0xa0 }, | ||
1472 | { 0x8000f5, 0x8c }, | ||
1473 | { 0x8000f8, 0x03 }, | ||
1474 | { 0x8000f9, 0x06 }, | ||
1475 | { 0x8000fa, 0x06 }, | ||
1476 | { 0x8000fc, 0x03 }, | ||
1477 | { 0x8000fd, 0x03 }, | ||
1478 | { 0x8000fe, 0x02 }, | ||
1479 | { 0x8000ff, 0x0a }, | ||
1480 | { 0x800100, 0x50 }, | ||
1481 | { 0x800101, 0x7b }, | ||
1482 | { 0x800102, 0x8c }, | ||
1483 | { 0x800103, 0x00 }, | ||
1484 | { 0x800104, 0x02 }, | ||
1485 | { 0x800105, 0xbe }, | ||
1486 | { 0x800106, 0x00 }, | ||
1487 | { 0x800109, 0x02 }, | ||
1488 | { 0x800115, 0x0a }, | ||
1489 | { 0x800116, 0x03 }, | ||
1490 | { 0x80011a, 0xbe }, | ||
1491 | { 0x800124, 0xae }, | ||
1492 | { 0x800127, 0x00 }, | ||
1493 | { 0x80012a, 0x56 }, | ||
1494 | { 0x80012b, 0x50 }, | ||
1495 | { 0x80012c, 0x47 }, | ||
1496 | { 0x80012d, 0x42 }, | ||
1497 | { 0x800137, 0x00 }, | ||
1498 | { 0x80013b, 0x08 }, | ||
1499 | { 0x80013f, 0x5b }, | ||
1500 | { 0x800141, 0x59 }, | ||
1501 | { 0x800142, 0xf9 }, | ||
1502 | { 0x800143, 0x19 }, | ||
1503 | { 0x800144, 0x00 }, | ||
1504 | { 0x800145, 0x8c }, | ||
1505 | { 0x800146, 0x8c }, | ||
1506 | { 0x800147, 0x8c }, | ||
1507 | { 0x800148, 0x6e }, | ||
1508 | { 0x800149, 0x8c }, | ||
1509 | { 0x80014a, 0x50 }, | ||
1510 | { 0x80014b, 0x8c }, | ||
1511 | { 0x80014d, 0xac }, | ||
1512 | { 0x80014e, 0xc6 }, | ||
1513 | { 0x80014f, 0x03 }, | ||
1514 | { 0x800151, 0x1e }, | ||
1515 | { 0x800153, 0xbc }, | ||
1516 | { 0x800178, 0x09 }, | ||
1517 | { 0x800181, 0x94 }, | ||
1518 | { 0x800182, 0x6e }, | ||
1519 | { 0x800185, 0x24 }, | ||
1520 | { 0x800189, 0xbe }, | ||
1521 | { 0x80018c, 0x03 }, | ||
1522 | { 0x80018d, 0x5f }, | ||
1523 | { 0x80018f, 0xa0 }, | ||
1524 | { 0x800190, 0x5a }, | ||
1525 | { 0x80ed02, 0xff }, | ||
1526 | { 0x80ee42, 0xff }, | ||
1527 | { 0x80ee82, 0xff }, | ||
1528 | { 0x80f000, 0x0f }, | ||
1529 | { 0x80f01f, 0x8c }, | ||
1530 | { 0x80f020, 0x00 }, | ||
1531 | { 0x80f029, 0x8c }, | ||
1532 | { 0x80f02a, 0x00 }, | ||
1533 | { 0x80f02b, 0x00 }, | ||
1534 | { 0x80f064, 0x03 }, | ||
1535 | { 0x80f065, 0xf9 }, | ||
1536 | { 0x80f066, 0x03 }, | ||
1537 | { 0x80f067, 0x01 }, | ||
1538 | { 0x80f06f, 0xe0 }, | ||
1539 | { 0x80f070, 0x03 }, | ||
1540 | { 0x80f072, 0x0f }, | ||
1541 | { 0x80f073, 0x03 }, | ||
1542 | { 0x80f077, 0x01 }, | ||
1543 | { 0x80f078, 0x00 }, | ||
1544 | { 0x80f087, 0x00 }, | ||
1545 | { 0x80f09b, 0x3f }, | ||
1546 | { 0x80f09c, 0x00 }, | ||
1547 | { 0x80f09d, 0x20 }, | ||
1548 | { 0x80f09e, 0x00 }, | ||
1549 | { 0x80f09f, 0x0c }, | ||
1550 | { 0x80f0a0, 0x00 }, | ||
1551 | { 0x80f130, 0x04 }, | ||
1552 | { 0x80f132, 0x04 }, | ||
1553 | { 0x80f144, 0x1a }, | ||
1554 | { 0x80f146, 0x00 }, | ||
1555 | { 0x80f14a, 0x01 }, | ||
1556 | { 0x80f14c, 0x00 }, | ||
1557 | { 0x80f14d, 0x00 }, | ||
1558 | { 0x80f14f, 0x04 }, | ||
1559 | { 0x80f158, 0x7f }, | ||
1560 | { 0x80f15a, 0x00 }, | ||
1561 | { 0x80f15b, 0x08 }, | ||
1562 | { 0x80f15d, 0x03 }, | ||
1563 | { 0x80f15e, 0x05 }, | ||
1564 | { 0x80f163, 0x05 }, | ||
1565 | { 0x80f166, 0x01 }, | ||
1566 | { 0x80f167, 0x40 }, | ||
1567 | { 0x80f168, 0x0f }, | ||
1568 | { 0x80f17a, 0x00 }, | ||
1569 | { 0x80f17b, 0x00 }, | ||
1570 | { 0x80f183, 0x01 }, | ||
1571 | { 0x80f19d, 0x40 }, | ||
1572 | { 0x80f1bc, 0x36 }, | ||
1573 | { 0x80f1bd, 0x00 }, | ||
1574 | { 0x80f1cb, 0xa0 }, | ||
1575 | { 0x80f1cc, 0x01 }, | ||
1576 | { 0x80f204, 0x10 }, | ||
1577 | { 0x80f214, 0x00 }, | ||
1578 | { 0x80f24c, 0x88 }, | ||
1579 | { 0x80f24d, 0x95 }, | ||
1580 | { 0x80f24e, 0x9a }, | ||
1581 | { 0x80f24f, 0x90 }, | ||
1582 | { 0x80f25a, 0x07 }, | ||
1583 | { 0x80f25b, 0xe8 }, | ||
1584 | { 0x80f25c, 0x03 }, | ||
1585 | { 0x80f25d, 0xb0 }, | ||
1586 | { 0x80f25e, 0x04 }, | ||
1587 | { 0x80f270, 0x01 }, | ||
1588 | { 0x80f271, 0x02 }, | ||
1589 | { 0x80f272, 0x01 }, | ||
1590 | { 0x80f273, 0x02 }, | ||
1591 | { 0x80f40e, 0x0a }, | ||
1592 | { 0x80f40f, 0x40 }, | ||
1593 | { 0x80f410, 0x08 }, | ||
1594 | { 0x80f55f, 0x0a }, | ||
1595 | { 0x80f561, 0x15 }, | ||
1596 | { 0x80f562, 0x20 }, | ||
1597 | { 0x80f5e3, 0x09 }, | ||
1598 | { 0x80f5e4, 0x01 }, | ||
1599 | { 0x80f5e5, 0x01 }, | ||
1600 | { 0x80f600, 0x05 }, | ||
1601 | { 0x80f601, 0x08 }, | ||
1602 | { 0x80f602, 0x0b }, | ||
1603 | { 0x80f603, 0x0e }, | ||
1604 | { 0x80f604, 0x11 }, | ||
1605 | { 0x80f605, 0x14 }, | ||
1606 | { 0x80f606, 0x17 }, | ||
1607 | { 0x80f607, 0x1f }, | ||
1608 | { 0x80f60e, 0x00 }, | ||
1609 | { 0x80f60f, 0x04 }, | ||
1610 | { 0x80f610, 0x32 }, | ||
1611 | { 0x80f611, 0x10 }, | ||
1612 | { 0x80f707, 0xfc }, | ||
1613 | { 0x80f708, 0x00 }, | ||
1614 | { 0x80f709, 0x37 }, | ||
1615 | { 0x80f70a, 0x00 }, | ||
1616 | { 0x80f78b, 0x01 }, | ||
1617 | { 0x80f80f, 0x40 }, | ||
1618 | { 0x80f810, 0x54 }, | ||
1619 | { 0x80f811, 0x5a }, | ||
1620 | { 0x80f905, 0x01 }, | ||
1621 | { 0x80fb06, 0x03 }, | ||
1622 | { 0x80fd8b, 0x00 }, | ||
1623 | }; | ||
1624 | |||
1410 | #endif /* AF9033_PRIV_H */ | 1625 | #endif /* AF9033_PRIV_H */ |
1411 | 1626 | ||