[media] it913x: remove demod init reg tables

These are demod inits and are already done by af9033 demod driver.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Antti Palosaari 2013-03-07 00:09:36 -03:00 committed by Mauro Carvalho Chehab
parent 463c399c2a
commit 9d7b848e43
2 changed files with 0 additions and 219 deletions

View File

@ -146,14 +146,6 @@ static int it913x_init(struct dvb_frontend *fe)
u8 nv[] = {48, 32, 24, 16, 12, 8, 6, 4, 2};
u8 b[2];
/* v1 or v2 tuner script */
if (state->chip_ver > 1)
ret = it913x_script_loader(state, it9135_v2);
else
ret = it913x_script_loader(state, it9135_v1);
if (ret < 0)
return ret;
/* LNA Scripts */
switch (state->tuner_type) {
case AF9033_TUNER_IT9135_51:

View File

@ -37,118 +37,6 @@ struct it913xset { u32 pro;
};
/* Version 1 types */
static struct it913xset it9135_v1[] = {
{PRO_DMOD, 0x0051, {0x01}, 0x01},
{PRO_DMOD, 0x0070, {0x0a}, 0x01},
{PRO_DMOD, 0x007e, {0x04}, 0x01},
{PRO_DMOD, 0x0081, {0x0a}, 0x01},
{PRO_DMOD, 0x008a, {0x01}, 0x01},
{PRO_DMOD, 0x008e, {0x01}, 0x01},
{PRO_DMOD, 0x0092, {0x06}, 0x01},
{PRO_DMOD, 0x0099, {0x01}, 0x01},
{PRO_DMOD, 0x009f, {0xe1}, 0x01},
{PRO_DMOD, 0x00a0, {0xcf}, 0x01},
{PRO_DMOD, 0x00a3, {0x01}, 0x01},
{PRO_DMOD, 0x00a5, {0x01}, 0x01},
{PRO_DMOD, 0x00a6, {0x01}, 0x01},
{PRO_DMOD, 0x00a9, {0x00}, 0x01},
{PRO_DMOD, 0x00aa, {0x01}, 0x01},
{PRO_DMOD, 0x00b0, {0x01}, 0x01},
{PRO_DMOD, 0x00c2, {0x05}, 0x01},
{PRO_DMOD, 0x00c6, {0x19}, 0x01},
{PRO_DMOD, 0xf000, {0x0f}, 0x01},
{PRO_DMOD, 0xf016, {0x10}, 0x01},
{PRO_DMOD, 0xf017, {0x04}, 0x01},
{PRO_DMOD, 0xf018, {0x05}, 0x01},
{PRO_DMOD, 0xf019, {0x04}, 0x01},
{PRO_DMOD, 0xf01a, {0x05}, 0x01},
{PRO_DMOD, 0xf021, {0x03}, 0x01},
{PRO_DMOD, 0xf022, {0x0a}, 0x01},
{PRO_DMOD, 0xf023, {0x0a}, 0x01},
{PRO_DMOD, 0xf02b, {0x00}, 0x01},
{PRO_DMOD, 0xf02c, {0x01}, 0x01},
{PRO_DMOD, 0xf064, {0x03}, 0x01},
{PRO_DMOD, 0xf065, {0xf9}, 0x01},
{PRO_DMOD, 0xf066, {0x03}, 0x01},
{PRO_DMOD, 0xf067, {0x01}, 0x01},
{PRO_DMOD, 0xf06f, {0xe0}, 0x01},
{PRO_DMOD, 0xf070, {0x03}, 0x01},
{PRO_DMOD, 0xf072, {0x0f}, 0x01},
{PRO_DMOD, 0xf073, {0x03}, 0x01},
{PRO_DMOD, 0xf078, {0x00}, 0x01},
{PRO_DMOD, 0xf087, {0x00}, 0x01},
{PRO_DMOD, 0xf09b, {0x3f}, 0x01},
{PRO_DMOD, 0xf09c, {0x00}, 0x01},
{PRO_DMOD, 0xf09d, {0x20}, 0x01},
{PRO_DMOD, 0xf09e, {0x00}, 0x01},
{PRO_DMOD, 0xf09f, {0x0c}, 0x01},
{PRO_DMOD, 0xf0a0, {0x00}, 0x01},
{PRO_DMOD, 0xf130, {0x04}, 0x01},
{PRO_DMOD, 0xf132, {0x04}, 0x01},
{PRO_DMOD, 0xf144, {0x1a}, 0x01},
{PRO_DMOD, 0xf146, {0x00}, 0x01},
{PRO_DMOD, 0xf14a, {0x01}, 0x01},
{PRO_DMOD, 0xf14c, {0x00}, 0x01},
{PRO_DMOD, 0xf14d, {0x00}, 0x01},
{PRO_DMOD, 0xf14f, {0x04}, 0x01},
{PRO_DMOD, 0xf158, {0x7f}, 0x01},
{PRO_DMOD, 0xf15a, {0x00}, 0x01},
{PRO_DMOD, 0xf15b, {0x08}, 0x01},
{PRO_DMOD, 0xf15d, {0x03}, 0x01},
{PRO_DMOD, 0xf15e, {0x05}, 0x01},
{PRO_DMOD, 0xf163, {0x05}, 0x01},
{PRO_DMOD, 0xf166, {0x01}, 0x01},
{PRO_DMOD, 0xf167, {0x40}, 0x01},
{PRO_DMOD, 0xf168, {0x0f}, 0x01},
{PRO_DMOD, 0xf17a, {0x00}, 0x01},
{PRO_DMOD, 0xf17b, {0x00}, 0x01},
{PRO_DMOD, 0xf183, {0x01}, 0x01},
{PRO_DMOD, 0xf19d, {0x40}, 0x01},
{PRO_DMOD, 0xf1bc, {0x36}, 0x01},
{PRO_DMOD, 0xf1bd, {0x00}, 0x01},
{PRO_DMOD, 0xf1cb, {0xa0}, 0x01},
{PRO_DMOD, 0xf1cc, {0x01}, 0x01},
{PRO_DMOD, 0xf204, {0x10}, 0x01},
{PRO_DMOD, 0xf214, {0x00}, 0x01},
{PRO_DMOD, 0xf40e, {0x0a}, 0x01},
{PRO_DMOD, 0xf40f, {0x40}, 0x01},
{PRO_DMOD, 0xf410, {0x08}, 0x01},
{PRO_DMOD, 0xf55f, {0x0a}, 0x01},
{PRO_DMOD, 0xf561, {0x15}, 0x01},
{PRO_DMOD, 0xf562, {0x20}, 0x01},
{PRO_DMOD, 0xf5df, {0xfb}, 0x01},
{PRO_DMOD, 0xf5e0, {0x00}, 0x01},
{PRO_DMOD, 0xf5e3, {0x09}, 0x01},
{PRO_DMOD, 0xf5e4, {0x01}, 0x01},
{PRO_DMOD, 0xf5e5, {0x01}, 0x01},
{PRO_DMOD, 0xf5f8, {0x01}, 0x01},
{PRO_DMOD, 0xf5fd, {0x01}, 0x01},
{PRO_DMOD, 0xf600, {0x05}, 0x01},
{PRO_DMOD, 0xf601, {0x08}, 0x01},
{PRO_DMOD, 0xf602, {0x0b}, 0x01},
{PRO_DMOD, 0xf603, {0x0e}, 0x01},
{PRO_DMOD, 0xf604, {0x11}, 0x01},
{PRO_DMOD, 0xf605, {0x14}, 0x01},
{PRO_DMOD, 0xf606, {0x17}, 0x01},
{PRO_DMOD, 0xf607, {0x1f}, 0x01},
{PRO_DMOD, 0xf60e, {0x00}, 0x01},
{PRO_DMOD, 0xf60f, {0x04}, 0x01},
{PRO_DMOD, 0xf610, {0x32}, 0x01},
{PRO_DMOD, 0xf611, {0x10}, 0x01},
{PRO_DMOD, 0xf707, {0xfc}, 0x01},
{PRO_DMOD, 0xf708, {0x00}, 0x01},
{PRO_DMOD, 0xf709, {0x37}, 0x01},
{PRO_DMOD, 0xf70a, {0x00}, 0x01},
{PRO_DMOD, 0xf78b, {0x01}, 0x01},
{PRO_DMOD, 0xf80f, {0x40}, 0x01},
{PRO_DMOD, 0xf810, {0x54}, 0x01},
{PRO_DMOD, 0xf811, {0x5a}, 0x01},
{PRO_DMOD, 0xf905, {0x01}, 0x01},
{PRO_DMOD, 0xfb06, {0x03}, 0x01},
{PRO_DMOD, 0xfd8b, {0x00}, 0x01},
{0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
};
static struct it913xset it9135_38[] = {
{PRO_DMOD, 0x0043, {0x00}, 0x01},
{PRO_DMOD, 0x0046, {0x38}, 0x01},
@ -414,105 +302,6 @@ static struct it913xset it9135_52[] = {
};
/* Version 2 types */
static struct it913xset it9135_v2[] = {
{PRO_DMOD, 0x0051, {0x01}, 0x01},
{PRO_DMOD, 0x0070, {0x0a}, 0x01},
{PRO_DMOD, 0x007e, {0x04}, 0x01},
{PRO_DMOD, 0x0081, {0x0a}, 0x01},
{PRO_DMOD, 0x008a, {0x01}, 0x01},
{PRO_DMOD, 0x008e, {0x01}, 0x01},
{PRO_DMOD, 0x0092, {0x06}, 0x01},
{PRO_DMOD, 0x0099, {0x01}, 0x01},
{PRO_DMOD, 0x009f, {0xe1}, 0x01},
{PRO_DMOD, 0x00a0, {0xcf}, 0x01},
{PRO_DMOD, 0x00a3, {0x01}, 0x01},
{PRO_DMOD, 0x00a5, {0x01}, 0x01},
{PRO_DMOD, 0x00a6, {0x01}, 0x01},
{PRO_DMOD, 0x00a9, {0x00}, 0x01},
{PRO_DMOD, 0x00aa, {0x01}, 0x01},
{PRO_DMOD, 0x00b0, {0x01}, 0x01},
{PRO_DMOD, 0x00c2, {0x05}, 0x01},
{PRO_DMOD, 0x00c6, {0x19}, 0x01},
{PRO_DMOD, 0xf000, {0x0f}, 0x01},
{PRO_DMOD, 0xf02b, {0x00}, 0x01},
{PRO_DMOD, 0xf064, {0x03}, 0x01},
{PRO_DMOD, 0xf065, {0xf9}, 0x01},
{PRO_DMOD, 0xf066, {0x03}, 0x01},
{PRO_DMOD, 0xf067, {0x01}, 0x01},
{PRO_DMOD, 0xf06f, {0xe0}, 0x01},
{PRO_DMOD, 0xf070, {0x03}, 0x01},
{PRO_DMOD, 0xf072, {0x0f}, 0x01},
{PRO_DMOD, 0xf073, {0x03}, 0x01},
{PRO_DMOD, 0xf078, {0x00}, 0x01},
{PRO_DMOD, 0xf087, {0x00}, 0x01},
{PRO_DMOD, 0xf09b, {0x3f}, 0x01},
{PRO_DMOD, 0xf09c, {0x00}, 0x01},
{PRO_DMOD, 0xf09d, {0x20}, 0x01},
{PRO_DMOD, 0xf09e, {0x00}, 0x01},
{PRO_DMOD, 0xf09f, {0x0c}, 0x01},
{PRO_DMOD, 0xf0a0, {0x00}, 0x01},
{PRO_DMOD, 0xf130, {0x04}, 0x01},
{PRO_DMOD, 0xf132, {0x04}, 0x01},
{PRO_DMOD, 0xf144, {0x1a}, 0x01},
{PRO_DMOD, 0xf146, {0x00}, 0x01},
{PRO_DMOD, 0xf14a, {0x01}, 0x01},
{PRO_DMOD, 0xf14c, {0x00}, 0x01},
{PRO_DMOD, 0xf14d, {0x00}, 0x01},
{PRO_DMOD, 0xf14f, {0x04}, 0x01},
{PRO_DMOD, 0xf158, {0x7f}, 0x01},
{PRO_DMOD, 0xf15a, {0x00}, 0x01},
{PRO_DMOD, 0xf15b, {0x08}, 0x01},
{PRO_DMOD, 0xf15d, {0x03}, 0x01},
{PRO_DMOD, 0xf15e, {0x05}, 0x01},
{PRO_DMOD, 0xf163, {0x05}, 0x01},
{PRO_DMOD, 0xf166, {0x01}, 0x01},
{PRO_DMOD, 0xf167, {0x40}, 0x01},
{PRO_DMOD, 0xf168, {0x0f}, 0x01},
{PRO_DMOD, 0xf17a, {0x00}, 0x01},
{PRO_DMOD, 0xf17b, {0x00}, 0x01},
{PRO_DMOD, 0xf183, {0x01}, 0x01},
{PRO_DMOD, 0xf19d, {0x40}, 0x01},
{PRO_DMOD, 0xf1bc, {0x36}, 0x01},
{PRO_DMOD, 0xf1bd, {0x00}, 0x01},
{PRO_DMOD, 0xf1cb, {0xa0}, 0x01},
{PRO_DMOD, 0xf1cc, {0x01}, 0x01},
{PRO_DMOD, 0xf204, {0x10}, 0x01},
{PRO_DMOD, 0xf214, {0x00}, 0x01},
{PRO_DMOD, 0xf40e, {0x0a}, 0x01},
{PRO_DMOD, 0xf40f, {0x40}, 0x01},
{PRO_DMOD, 0xf410, {0x08}, 0x01},
{PRO_DMOD, 0xf55f, {0x0a}, 0x01},
{PRO_DMOD, 0xf561, {0x15}, 0x01},
{PRO_DMOD, 0xf562, {0x20}, 0x01},
{PRO_DMOD, 0xf5e3, {0x09}, 0x01},
{PRO_DMOD, 0xf5e4, {0x01}, 0x01},
{PRO_DMOD, 0xf5e5, {0x01}, 0x01},
{PRO_DMOD, 0xf600, {0x05}, 0x01},
{PRO_DMOD, 0xf601, {0x08}, 0x01},
{PRO_DMOD, 0xf602, {0x0b}, 0x01},
{PRO_DMOD, 0xf603, {0x0e}, 0x01},
{PRO_DMOD, 0xf604, {0x11}, 0x01},
{PRO_DMOD, 0xf605, {0x14}, 0x01},
{PRO_DMOD, 0xf606, {0x17}, 0x01},
{PRO_DMOD, 0xf607, {0x1f}, 0x01},
{PRO_DMOD, 0xf60e, {0x00}, 0x01},
{PRO_DMOD, 0xf60f, {0x04}, 0x01},
{PRO_DMOD, 0xf610, {0x32}, 0x01},
{PRO_DMOD, 0xf611, {0x10}, 0x01},
{PRO_DMOD, 0xf707, {0xfc}, 0x01},
{PRO_DMOD, 0xf708, {0x00}, 0x01},
{PRO_DMOD, 0xf709, {0x37}, 0x01},
{PRO_DMOD, 0xf70a, {0x00}, 0x01},
{PRO_DMOD, 0xf78b, {0x01}, 0x01},
{PRO_DMOD, 0xf80f, {0x40}, 0x01},
{PRO_DMOD, 0xf810, {0x54}, 0x01},
{PRO_DMOD, 0xf811, {0x5a}, 0x01},
{PRO_DMOD, 0xf905, {0x01}, 0x01},
{PRO_DMOD, 0xfb06, {0x03}, 0x01},
{PRO_DMOD, 0xfd8b, {0x00}, 0x01},
{0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
};
static struct it913xset it9135_60[] = {
{PRO_DMOD, 0x0043, {0x00}, 0x01},
{PRO_DMOD, 0x0046, {0x60}, 0x01},