Commit 3b536127 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

media: af9013: convert inittabs suitable for regmap_update_bits

Convert inttabs to format (reg, mask, val) which are suitable
parameters to pass directly for regmap_update_bits.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 49bade9f
...@@ -843,7 +843,7 @@ static int af9013_init(struct dvb_frontend *fe) ...@@ -843,7 +843,7 @@ static int af9013_init(struct dvb_frontend *fe)
int ret, i, len; int ret, i, len;
unsigned int utmp; unsigned int utmp;
u8 buf[3]; u8 buf[3];
const struct af9013_reg_bit *init; const struct af9013_reg_mask_val *tab;
dev_dbg(&client->dev, "\n"); dev_dbg(&client->dev, "\n");
...@@ -898,72 +898,66 @@ static int af9013_init(struct dvb_frontend *fe) ...@@ -898,72 +898,66 @@ static int af9013_init(struct dvb_frontend *fe)
if (ret) if (ret)
goto err; goto err;
/* load OFSM settings */ /* Demod core settings */
dev_dbg(&client->dev, "load ofsm settings\n"); dev_dbg(&client->dev, "load demod core settings\n");
len = ARRAY_SIZE(ofsm_init); len = ARRAY_SIZE(demod_init_tab);
init = ofsm_init; tab = demod_init_tab;
for (i = 0; i < len; i++) { for (i = 0; i < len; i++) {
u16 reg = init[i].addr; ret = regmap_update_bits(state->regmap, tab[i].reg, tab[i].mask,
u8 mask = GENMASK(init[i].pos + init[i].len - 1, init[i].pos); tab[i].val);
u8 val = init[i].val << init[i].pos;
ret = regmap_update_bits(state->regmap, reg, mask, val);
if (ret) if (ret)
goto err; goto err;
} }
/* load tuner specific settings */ /* Demod tuner specific settings */
dev_dbg(&client->dev, "load tuner specific settings\n"); dev_dbg(&client->dev, "load tuner specific settings\n");
switch (state->tuner) { switch (state->tuner) {
case AF9013_TUNER_MXL5003D: case AF9013_TUNER_MXL5003D:
len = ARRAY_SIZE(tuner_init_mxl5003d); len = ARRAY_SIZE(tuner_init_tab_mxl5003d);
init = tuner_init_mxl5003d; tab = tuner_init_tab_mxl5003d;
break; break;
case AF9013_TUNER_MXL5005D: case AF9013_TUNER_MXL5005D:
case AF9013_TUNER_MXL5005R: case AF9013_TUNER_MXL5005R:
case AF9013_TUNER_MXL5007T: case AF9013_TUNER_MXL5007T:
len = ARRAY_SIZE(tuner_init_mxl5005); len = ARRAY_SIZE(tuner_init_tab_mxl5005);
init = tuner_init_mxl5005; tab = tuner_init_tab_mxl5005;
break; break;
case AF9013_TUNER_ENV77H11D5: case AF9013_TUNER_ENV77H11D5:
len = ARRAY_SIZE(tuner_init_env77h11d5); len = ARRAY_SIZE(tuner_init_tab_env77h11d5);
init = tuner_init_env77h11d5; tab = tuner_init_tab_env77h11d5;
break; break;
case AF9013_TUNER_MT2060: case AF9013_TUNER_MT2060:
len = ARRAY_SIZE(tuner_init_mt2060); len = ARRAY_SIZE(tuner_init_tab_mt2060);
init = tuner_init_mt2060; tab = tuner_init_tab_mt2060;
break; break;
case AF9013_TUNER_MC44S803: case AF9013_TUNER_MC44S803:
len = ARRAY_SIZE(tuner_init_mc44s803); len = ARRAY_SIZE(tuner_init_tab_mc44s803);
init = tuner_init_mc44s803; tab = tuner_init_tab_mc44s803;
break; break;
case AF9013_TUNER_QT1010: case AF9013_TUNER_QT1010:
case AF9013_TUNER_QT1010A: case AF9013_TUNER_QT1010A:
len = ARRAY_SIZE(tuner_init_qt1010); len = ARRAY_SIZE(tuner_init_tab_qt1010);
init = tuner_init_qt1010; tab = tuner_init_tab_qt1010;
break; break;
case AF9013_TUNER_MT2060_2: case AF9013_TUNER_MT2060_2:
len = ARRAY_SIZE(tuner_init_mt2060_2); len = ARRAY_SIZE(tuner_init_tab_mt2060_2);
init = tuner_init_mt2060_2; tab = tuner_init_tab_mt2060_2;
break; break;
case AF9013_TUNER_TDA18271: case AF9013_TUNER_TDA18271:
case AF9013_TUNER_TDA18218: case AF9013_TUNER_TDA18218:
len = ARRAY_SIZE(tuner_init_tda18271); len = ARRAY_SIZE(tuner_init_tab_tda18271);
init = tuner_init_tda18271; tab = tuner_init_tab_tda18271;
break; break;
case AF9013_TUNER_UNKNOWN: case AF9013_TUNER_UNKNOWN:
default: default:
len = ARRAY_SIZE(tuner_init_unknown); len = ARRAY_SIZE(tuner_init_tab_unknown);
init = tuner_init_unknown; tab = tuner_init_tab_unknown;
break; break;
} }
for (i = 0; i < len; i++) { for (i = 0; i < len; i++) {
u16 reg = init[i].addr; ret = regmap_update_bits(state->regmap, tab[i].reg, tab[i].mask,
u8 mask = GENMASK(init[i].pos + init[i].len - 1, init[i].pos); tab[i].val);
u8 val = init[i].val << init[i].pos;
ret = regmap_update_bits(state->regmap, reg, mask, val);
if (ret) if (ret)
goto err; goto err;
} }
......
...@@ -30,10 +30,9 @@ ...@@ -30,10 +30,9 @@
#define AF9013_FIRMWARE "dvb-fe-af9013.fw" #define AF9013_FIRMWARE "dvb-fe-af9013.fw"
struct af9013_reg_bit { struct af9013_reg_mask_val {
u16 addr; u16 reg;
u8 pos:4; u8 mask;
u8 len:4;
u8 val; u8 val;
}; };
...@@ -87,754 +86,775 @@ static const struct af9013_coeff coeff_lut[] = { ...@@ -87,754 +86,775 @@ static const struct af9013_coeff coeff_lut[] = {
0x2d, 0x00, 0x8c, 0x6a, 0xca, 0x01, 0x18, 0xde, 0x17 } }, 0x2d, 0x00, 0x8c, 0x6a, 0xca, 0x01, 0x18, 0xde, 0x17 } },
}; };
static const struct af9013_reg_bit ofsm_init[] = { /*
{ 0xd73a, 0, 8, 0xa1 }, * Afatech AF9013 demod init
{ 0xd73b, 0, 8, 0x1f }, */
{ 0xd73c, 4, 4, 0x0a }, static const struct af9013_reg_mask_val demod_init_tab[] = {
{ 0xd732, 3, 1, 0x00 }, {0xd73a, 0xff, 0xa1},
{ 0xd731, 4, 2, 0x03 }, {0xd73b, 0xff, 0x1f},
{ 0xd73d, 7, 1, 0x01 }, {0xd73c, 0xf0, 0xa0},
{ 0xd740, 0, 1, 0x00 }, {0xd732, 0x08, 0x00},
{ 0xd740, 1, 1, 0x00 }, {0xd731, 0x30, 0x30},
{ 0xd740, 2, 1, 0x00 }, {0xd73d, 0x80, 0x80},
{ 0xd740, 3, 1, 0x01 }, {0xd740, 0x01, 0x00},
{ 0xd3c1, 4, 1, 0x01 }, {0xd740, 0x02, 0x00},
{ 0x9124, 0, 8, 0x58 }, {0xd740, 0x04, 0x00},
{ 0x9125, 0, 2, 0x02 }, {0xd740, 0x08, 0x08},
{ 0xd3a2, 0, 8, 0x00 }, {0xd3c1, 0x10, 0x10},
{ 0xd3a3, 0, 8, 0x04 }, {0x9124, 0xff, 0x58},
{ 0xd305, 0, 8, 0x32 }, {0x9125, 0x03, 0x02},
{ 0xd306, 0, 8, 0x10 }, {0xd3a2, 0xff, 0x00},
{ 0xd304, 0, 8, 0x04 }, {0xd3a3, 0xff, 0x04},
{ 0x9112, 0, 1, 0x01 }, {0xd305, 0xff, 0x32},
{ 0x911d, 0, 1, 0x01 }, {0xd306, 0xff, 0x10},
{ 0x911a, 0, 1, 0x01 }, {0xd304, 0xff, 0x04},
{ 0x911b, 0, 1, 0x01 }, {0x9112, 0x01, 0x01},
{ 0x9bce, 0, 4, 0x02 }, {0x911d, 0x01, 0x01},
{ 0x9116, 0, 1, 0x01 }, {0x911a, 0x01, 0x01},
{ 0x9122, 0, 8, 0xd0 }, {0x911b, 0x01, 0x01},
{ 0xd2e0, 0, 8, 0xd0 }, {0x9bce, 0x0f, 0x02},
{ 0xd2e9, 0, 4, 0x0d }, {0x9116, 0x01, 0x01},
{ 0xd38c, 0, 8, 0xfc }, {0x9122, 0xff, 0xd0},
{ 0xd38d, 0, 8, 0x00 }, {0xd2e0, 0xff, 0xd0},
{ 0xd38e, 0, 8, 0x7e }, {0xd2e9, 0x0f, 0x0d},
{ 0xd38f, 0, 8, 0x00 }, {0xd38c, 0xff, 0xfc},
{ 0xd390, 0, 8, 0x2f }, {0xd38d, 0xff, 0x00},
{ 0xd145, 4, 1, 0x01 }, {0xd38e, 0xff, 0x7e},
{ 0xd1a9, 4, 1, 0x01 }, {0xd38f, 0xff, 0x00},
{ 0xd158, 5, 3, 0x01 }, {0xd390, 0xff, 0x2f},
{ 0xd159, 0, 6, 0x06 }, {0xd145, 0x10, 0x10},
{ 0xd167, 0, 8, 0x00 }, {0xd1a9, 0x10, 0x10},
{ 0xd168, 0, 4, 0x07 }, {0xd158, 0xe0, 0x20},
{ 0xd1c3, 5, 3, 0x00 }, {0xd159, 0x3f, 0x06},
{ 0xd1c4, 0, 6, 0x00 }, {0xd167, 0xff, 0x00},
{ 0xd1c5, 0, 7, 0x10 }, {0xd168, 0x0f, 0x07},
{ 0xd1c6, 0, 3, 0x02 }, {0xd1c3, 0xe0, 0x00},
{ 0xd080, 2, 5, 0x03 }, {0xd1c4, 0x3f, 0x00},
{ 0xd081, 4, 4, 0x09 }, {0xd1c5, 0x7f, 0x10},
{ 0xd098, 4, 4, 0x0f }, {0xd1c6, 0x07, 0x02},
{ 0xd098, 0, 4, 0x03 }, {0xd080, 0x7c, 0x0c},
{ 0xdbc0, 4, 1, 0x01 }, {0xd081, 0xf0, 0x90},
{ 0xdbc7, 0, 8, 0x08 }, {0xd098, 0xf0, 0xf0},
{ 0xdbc8, 4, 4, 0x00 }, {0xd098, 0x0f, 0x03},
{ 0xdbc9, 0, 5, 0x01 }, {0xdbc0, 0x10, 0x10},
{ 0xd280, 0, 8, 0xe0 }, {0xdbc7, 0xff, 0x08},
{ 0xd281, 0, 8, 0xff }, {0xdbc8, 0xf0, 0x00},
{ 0xd282, 0, 8, 0xff }, {0xdbc9, 0x1f, 0x01},
{ 0xd283, 0, 8, 0xc3 }, {0xd280, 0xff, 0xe0},
{ 0xd284, 0, 8, 0xff }, {0xd281, 0xff, 0xff},
{ 0xd285, 0, 4, 0x01 }, {0xd282, 0xff, 0xff},
{ 0xd0f0, 0, 7, 0x1a }, {0xd283, 0xff, 0xc3},
{ 0xd0f1, 4, 1, 0x01 }, {0xd284, 0xff, 0xff},
{ 0xd0f2, 0, 8, 0x0c }, {0xd285, 0x0f, 0x01},
{ 0xd101, 5, 3, 0x06 }, {0xd0f0, 0x7f, 0x1a},
{ 0xd103, 0, 4, 0x08 }, {0xd0f1, 0x10, 0x10},
{ 0xd0f8, 0, 7, 0x20 }, {0xd0f2, 0xff, 0x0c},
{ 0xd111, 5, 1, 0x00 }, {0xd101, 0xe0, 0xc0},
{ 0xd111, 6, 1, 0x00 }, {0xd103, 0x0f, 0x08},
{ 0x910b, 0, 8, 0x0a }, {0xd0f8, 0x7f, 0x20},
{ 0x9115, 0, 8, 0x02 }, {0xd111, 0x20, 0x00},
{ 0x910c, 0, 8, 0x02 }, {0xd111, 0x40, 0x00},
{ 0x910d, 0, 8, 0x08 }, {0x910b, 0xff, 0x0a},
{ 0x910e, 0, 8, 0x0a }, {0x9115, 0xff, 0x02},
{ 0x9bf6, 0, 8, 0x06 }, {0x910c, 0xff, 0x02},
{ 0x9bf8, 0, 8, 0x02 }, {0x910d, 0xff, 0x08},
{ 0x9bf7, 0, 8, 0x05 }, {0x910e, 0xff, 0x0a},
{ 0x9bf9, 0, 8, 0x0f }, {0x9bf6, 0xff, 0x06},
{ 0x9bfc, 0, 8, 0x13 }, {0x9bf8, 0xff, 0x02},
{ 0x9bd3, 0, 8, 0xff }, {0x9bf7, 0xff, 0x05},
{ 0x9bbe, 0, 1, 0x01 }, {0x9bf9, 0xff, 0x0f},
{ 0x9bcc, 0, 1, 0x01 }, {0x9bfc, 0xff, 0x13},
{0x9bd3, 0xff, 0xff},
{0x9bbe, 0x01, 0x01},
{0x9bcc, 0x01, 0x01},
}; };
/* Panasonic ENV77H11D5 tuner init /*
AF9013_TUNER_ENV77H11D5 = 129 */ * Panasonic ENV77H11D5 tuner init
static const struct af9013_reg_bit tuner_init_env77h11d5[] = { * AF9013_TUNER_ENV77H11D5 0x81
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x03 }, static const struct af9013_reg_mask_val tuner_init_tab_env77h11d5[] = {
{ 0x9bbe, 0, 8, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd6, 0xff, 0x03},
{ 0xd000, 0, 1, 0x01 }, {0x9bbe, 0xff, 0x01},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0x9bda, 0, 8, 0x00 }, {0xd01f, 0x3f, 0x0a},
{ 0x9be3, 0, 8, 0x00 }, {0xd020, 0x3f, 0x0a},
{ 0xd015, 0, 8, 0x50 }, {0x9bda, 0xff, 0x00},
{ 0xd016, 0, 1, 0x00 }, {0x9be3, 0xff, 0x00},
{ 0xd044, 0, 8, 0x46 }, {0xd015, 0xff, 0x50},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0xd008, 0, 8, 0xdf }, {0xd044, 0xff, 0x46},
{ 0xd009, 0, 2, 0x02 }, {0xd045, 0x01, 0x00},
{ 0xd006, 0, 8, 0x44 }, {0xd008, 0xff, 0xdf},
{ 0xd007, 0, 2, 0x01 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0xeb }, {0xd006, 0xff, 0x44},
{ 0xd00d, 0, 2, 0x02 }, {0xd007, 0x03, 0x01},
{ 0xd00a, 0, 8, 0xf4 }, {0xd00c, 0xff, 0xeb},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x02},
{ 0x9bba, 0, 8, 0xf9 }, {0xd00a, 0xff, 0xf4},
{ 0x9bc3, 0, 8, 0xdf }, {0xd00b, 0x03, 0x01},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bba, 0xff, 0xf9},
{ 0x9bc5, 0, 8, 0xeb }, {0x9bc3, 0xff, 0xdf},
{ 0x9bc6, 0, 8, 0x02 }, {0x9bc4, 0xff, 0x02},
{ 0x9bc9, 0, 8, 0x52 }, {0x9bc5, 0xff, 0xeb},
{ 0xd011, 0, 8, 0x3c }, {0x9bc6, 0xff, 0x02},
{ 0xd012, 0, 2, 0x01 }, {0x9bc9, 0xff, 0x52},
{ 0xd013, 0, 8, 0xf7 }, {0xd011, 0xff, 0x3c},
{ 0xd014, 0, 2, 0x02 }, {0xd012, 0x03, 0x01},
{ 0xd040, 0, 8, 0x0b }, {0xd013, 0xff, 0xf7},
{ 0xd041, 0, 2, 0x02 }, {0xd014, 0x03, 0x02},
{ 0xd042, 0, 8, 0x4d }, {0xd040, 0xff, 0x0b},
{ 0xd043, 0, 2, 0x00 }, {0xd041, 0x03, 0x02},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0x4d},
{ 0x9bcf, 0, 1, 0x01 }, {0xd043, 0x03, 0x00},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0x01, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x50 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0x9bd7, 0, 8, 0x0a }, {0xd053, 0xff, 0x50},
{ 0x9bd8, 0, 8, 0x14 }, {0xd054, 0xff, 0x46},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{0x9bd8, 0xff, 0x14},
{0x9bd9, 0xff, 0x08},
}; };
/* Microtune MT2060 tuner init /*
AF9013_TUNER_MT2060 = 130 */ * Microtune MT2060 tuner init
static const struct af9013_reg_bit tuner_init_mt2060[] = { * AF9013_TUNER_MT2060 0x82
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x07 }, static const struct af9013_reg_mask_val tuner_init_tab_mt2060[] = {
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd000, 0, 1, 0x01 }, {0x9bd6, 0xff, 0x07},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0x9bda, 0, 8, 0x00 }, {0xd01f, 0x3f, 0x0a},
{ 0x9be3, 0, 8, 0x00 }, {0xd020, 0x3f, 0x0a},
{ 0x9bbe, 0, 1, 0x00 }, {0x9bda, 0xff, 0x00},
{ 0x9bcc, 0, 1, 0x00 }, {0x9be3, 0xff, 0x00},
{ 0x9bb9, 0, 8, 0x75 }, {0x9bbe, 0x01, 0x00},
{ 0x9bcd, 0, 8, 0x24 }, {0x9bcc, 0x01, 0x00},
{ 0x9bff, 0, 8, 0x30 }, {0x9bb9, 0xff, 0x75},
{ 0xd015, 0, 8, 0x46 }, {0x9bcd, 0xff, 0x24},
{ 0xd016, 0, 1, 0x00 }, {0x9bff, 0xff, 0x30},
{ 0xd044, 0, 8, 0x46 }, {0xd015, 0xff, 0x46},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0xd008, 0, 8, 0x0f }, {0xd044, 0xff, 0x46},
{ 0xd009, 0, 2, 0x02 }, {0xd045, 0x01, 0x00},
{ 0xd006, 0, 8, 0x32 }, {0xd008, 0xff, 0x0f},
{ 0xd007, 0, 2, 0x01 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0x36 }, {0xd006, 0xff, 0x32},
{ 0xd00d, 0, 2, 0x03 }, {0xd007, 0x03, 0x01},
{ 0xd00a, 0, 8, 0x35 }, {0xd00c, 0xff, 0x36},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x03},
{ 0x9bc7, 0, 8, 0x07 }, {0xd00a, 0xff, 0x35},
{ 0x9bc8, 0, 8, 0x90 }, {0xd00b, 0x03, 0x01},
{ 0x9bc3, 0, 8, 0x0f }, {0x9bc7, 0xff, 0x07},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bc8, 0xff, 0x90},
{ 0x9bc5, 0, 8, 0x36 }, {0x9bc3, 0xff, 0x0f},
{ 0x9bc6, 0, 8, 0x03 }, {0x9bc4, 0xff, 0x02},
{ 0x9bba, 0, 8, 0xc9 }, {0x9bc5, 0xff, 0x36},
{ 0x9bc9, 0, 8, 0x79 }, {0x9bc6, 0xff, 0x03},
{ 0xd011, 0, 8, 0x10 }, {0x9bba, 0xff, 0xc9},
{ 0xd012, 0, 2, 0x01 }, {0x9bc9, 0xff, 0x79},
{ 0xd013, 0, 8, 0x45 }, {0xd011, 0xff, 0x10},
{ 0xd014, 0, 2, 0x03 }, {0xd012, 0x03, 0x01},
{ 0xd040, 0, 8, 0x98 }, {0xd013, 0xff, 0x45},
{ 0xd041, 0, 2, 0x00 }, {0xd014, 0x03, 0x03},
{ 0xd042, 0, 8, 0xcf }, {0xd040, 0xff, 0x98},
{ 0xd043, 0, 2, 0x03 }, {0xd041, 0x03, 0x00},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0xcf},
{ 0x9bcf, 0, 1, 0x01 }, {0xd043, 0x03, 0x03},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0x01, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x50 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0x9bd7, 0, 8, 0x0a }, {0xd053, 0xff, 0x50},
{ 0x9bd8, 0, 8, 0x14 }, {0xd054, 0xff, 0x46},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{ 0x9bd0, 0, 8, 0xcc }, {0x9bd8, 0xff, 0x14},
{ 0x9be4, 0, 8, 0xa0 }, {0x9bd9, 0xff, 0x08},
{ 0x9bbd, 0, 8, 0x8e }, {0x9bd0, 0xff, 0xcc},
{ 0x9be2, 0, 8, 0x4d }, {0x9be4, 0xff, 0xa0},
{ 0x9bee, 0, 1, 0x01 }, {0x9bbd, 0xff, 0x8e},
{0x9be2, 0xff, 0x4d},
{0x9bee, 0x01, 0x01},
}; };
/* Microtune MT2060 tuner init /*
AF9013_TUNER_MT2060_2 = 147 */ * Microtune MT2060 tuner init
static const struct af9013_reg_bit tuner_init_mt2060_2[] = { * AF9013_TUNER_MT2060_2 0x93
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x06 }, static const struct af9013_reg_mask_val tuner_init_tab_mt2060_2[] = {
{ 0x9bbe, 0, 8, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd6, 0xff, 0x06},
{ 0xd000, 0, 1, 0x01 }, {0x9bbe, 0xff, 0x01},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0xd015, 0, 8, 0x46 }, {0xd01f, 0x3f, 0x0a},
{ 0xd016, 0, 1, 0x00 }, {0xd020, 0x3f, 0x0a},
{ 0xd044, 0, 8, 0x46 }, {0xd015, 0xff, 0x46},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0xd008, 0, 8, 0x0f }, {0xd044, 0xff, 0x46},
{ 0xd009, 0, 2, 0x02 }, {0xd045, 0x01, 0x00},
{ 0xd006, 0, 8, 0x32 }, {0xd008, 0xff, 0x0f},
{ 0xd007, 0, 2, 0x01 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0x36 }, {0xd006, 0xff, 0x32},
{ 0xd00d, 0, 2, 0x03 }, {0xd007, 0x03, 0x01},
{ 0xd00a, 0, 8, 0x35 }, {0xd00c, 0xff, 0x36},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x03},
{ 0x9bc7, 0, 8, 0x07 }, {0xd00a, 0xff, 0x35},
{ 0x9bc8, 0, 8, 0x90 }, {0xd00b, 0x03, 0x01},
{ 0x9bc3, 0, 8, 0x0f }, {0x9bc7, 0xff, 0x07},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bc8, 0xff, 0x90},
{ 0x9bc5, 0, 8, 0x36 }, {0x9bc3, 0xff, 0x0f},
{ 0x9bc6, 0, 8, 0x03 }, {0x9bc4, 0xff, 0x02},
{ 0x9bba, 0, 8, 0xc9 }, {0x9bc5, 0xff, 0x36},
{ 0x9bc9, 0, 8, 0x79 }, {0x9bc6, 0xff, 0x03},
{ 0xd011, 0, 8, 0x10 }, {0x9bba, 0xff, 0xc9},
{ 0xd012, 0, 2, 0x01 }, {0x9bc9, 0xff, 0x79},
{ 0xd013, 0, 8, 0x45 }, {0xd011, 0xff, 0x10},
{ 0xd014, 0, 2, 0x03 }, {0xd012, 0x03, 0x01},
{ 0xd040, 0, 8, 0x98 }, {0xd013, 0xff, 0x45},
{ 0xd041, 0, 2, 0x00 }, {0xd014, 0x03, 0x03},
{ 0xd042, 0, 8, 0xcf }, {0xd040, 0xff, 0x98},
{ 0xd043, 0, 2, 0x03 }, {0xd041, 0x03, 0x00},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0xcf},
{ 0x9bcf, 0, 8, 0x01 }, {0xd043, 0x03, 0x03},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0xff, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x96 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0xd045, 7, 1, 0x00 }, {0xd053, 0xff, 0x96},
{ 0x9bd7, 0, 8, 0x0a }, {0xd054, 0xff, 0x46},
{ 0x9bd8, 0, 8, 0x14 }, {0xd045, 0x80, 0x00},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{0x9bd8, 0xff, 0x14},
{0x9bd9, 0xff, 0x08},
}; };
/* MaxLinear MXL5003 tuner init /*
AF9013_TUNER_MXL5003D = 3 */ * MaxLinear MXL5003 tuner init
static const struct af9013_reg_bit tuner_init_mxl5003d[] = { * AF9013_TUNER_MXL5003D 0x03
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x09 }, static const struct af9013_reg_mask_val tuner_init_tab_mxl5003d[] = {
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd000, 0, 1, 0x01 }, {0x9bd6, 0xff, 0x09},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0x9bda, 0, 8, 0x00 }, {0xd01f, 0x3f, 0x0a},
{ 0x9be3, 0, 8, 0x00 }, {0xd020, 0x3f, 0x0a},
{ 0x9bfc, 0, 8, 0x0f }, {0x9bda, 0xff, 0x00},
{ 0x9bf6, 0, 8, 0x01 }, {0x9be3, 0xff, 0x00},
{ 0x9bbe, 0, 1, 0x01 }, {0x9bfc, 0xff, 0x0f},
{ 0xd015, 0, 8, 0x33 }, {0x9bf6, 0xff, 0x01},
{ 0xd016, 0, 1, 0x00 }, {0x9bbe, 0x01, 0x01},
{ 0xd044, 0, 8, 0x40 }, {0xd015, 0xff, 0x33},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0xd008, 0, 8, 0x0f }, {0xd044, 0xff, 0x40},
{ 0xd009, 0, 2, 0x02 }, {0xd045, 0x01, 0x00},
{ 0xd006, 0, 8, 0x6c }, {0xd008, 0xff, 0x0f},
{ 0xd007, 0, 2, 0x00 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0x3d }, {0xd006, 0xff, 0x6c},
{ 0xd00d, 0, 2, 0x00 }, {0xd007, 0x03, 0x00},
{ 0xd00a, 0, 8, 0x45 }, {0xd00c, 0xff, 0x3d},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x00},
{ 0x9bc7, 0, 8, 0x07 }, {0xd00a, 0xff, 0x45},
{ 0x9bc8, 0, 8, 0x52 }, {0xd00b, 0x03, 0x01},
{ 0x9bc3, 0, 8, 0x0f }, {0x9bc7, 0xff, 0x07},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bc8, 0xff, 0x52},
{ 0x9bc5, 0, 8, 0x3d }, {0x9bc3, 0xff, 0x0f},
{ 0x9bc6, 0, 8, 0x00 }, {0x9bc4, 0xff, 0x02},
{ 0x9bba, 0, 8, 0xa2 }, {0x9bc5, 0xff, 0x3d},
{ 0x9bc9, 0, 8, 0xa0 }, {0x9bc6, 0xff, 0x00},
{ 0xd011, 0, 8, 0x56 }, {0x9bba, 0xff, 0xa2},
{ 0xd012, 0, 2, 0x00 }, {0x9bc9, 0xff, 0xa0},
{ 0xd013, 0, 8, 0x50 }, {0xd011, 0xff, 0x56},
{ 0xd014, 0, 2, 0x00 }, {0xd012, 0x03, 0x00},
{ 0xd040, 0, 8, 0x56 }, {0xd013, 0xff, 0x50},
{ 0xd041, 0, 2, 0x00 }, {0xd014, 0x03, 0x00},
{ 0xd042, 0, 8, 0x50 }, {0xd040, 0xff, 0x56},
{ 0xd043, 0, 2, 0x00 }, {0xd041, 0x03, 0x00},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0x50},
{ 0x9bcf, 0, 8, 0x01 }, {0xd043, 0x03, 0x00},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0xff, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x50 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0x9bd7, 0, 8, 0x0a }, {0xd053, 0xff, 0x50},
{ 0x9bd8, 0, 8, 0x14 }, {0xd054, 0xff, 0x46},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{0x9bd8, 0xff, 0x14},
{0x9bd9, 0xff, 0x08},
}; };
/* MaxLinear MXL5005S & MXL5007T tuner init /*
AF9013_TUNER_MXL5005D = 13 * MaxLinear MXL5005S & MXL5007T tuner init
AF9013_TUNER_MXL5005R = 30 * AF9013_TUNER_MXL5005D 0x0d
AF9013_TUNER_MXL5007T = 177 */ * AF9013_TUNER_MXL5005R 0x1e
static const struct af9013_reg_bit tuner_init_mxl5005[] = { * AF9013_TUNER_MXL5007T 0xb1
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x07 }, static const struct af9013_reg_mask_val tuner_init_tab_mxl5005[] = {
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd000, 0, 1, 0x01 }, {0x9bd6, 0xff, 0x07},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0x9bda, 0, 8, 0x01 }, {0xd01f, 0x3f, 0x0a},
{ 0x9be3, 0, 8, 0x01 }, {0xd020, 0x3f, 0x0a},
{ 0x9bbe, 0, 1, 0x01 }, {0x9bda, 0xff, 0x01},
{ 0x9bcc, 0, 1, 0x01 }, {0x9be3, 0xff, 0x01},
{ 0x9bb9, 0, 8, 0x00 }, {0x9bbe, 0x01, 0x01},
{ 0x9bcd, 0, 8, 0x28 }, {0x9bcc, 0x01, 0x01},
{ 0x9bff, 0, 8, 0x24 }, {0x9bb9, 0xff, 0x00},
{ 0xd015, 0, 8, 0x40 }, {0x9bcd, 0xff, 0x28},
{ 0xd016, 0, 1, 0x00 }, {0x9bff, 0xff, 0x24},
{ 0xd044, 0, 8, 0x40 }, {0xd015, 0xff, 0x40},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0xd008, 0, 8, 0x0f }, {0xd044, 0xff, 0x40},
{ 0xd009, 0, 2, 0x02 }, {0xd045, 0x01, 0x00},
{ 0xd006, 0, 8, 0x73 }, {0xd008, 0xff, 0x0f},
{ 0xd007, 0, 2, 0x01 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0xfa }, {0xd006, 0xff, 0x73},
{ 0xd00d, 0, 2, 0x01 }, {0xd007, 0x03, 0x01},
{ 0xd00a, 0, 8, 0xff }, {0xd00c, 0xff, 0xfa},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x01},
{ 0x9bc7, 0, 8, 0x23 }, {0xd00a, 0xff, 0xff},
{ 0x9bc8, 0, 8, 0x55 }, {0xd00b, 0x03, 0x01},
{ 0x9bc3, 0, 8, 0x01 }, {0x9bc7, 0xff, 0x23},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bc8, 0xff, 0x55},
{ 0x9bc5, 0, 8, 0xfa }, {0x9bc3, 0xff, 0x01},
{ 0x9bc6, 0, 8, 0x01 }, {0x9bc4, 0xff, 0x02},
{ 0x9bba, 0, 8, 0xff }, {0x9bc5, 0xff, 0xfa},
{ 0x9bc9, 0, 8, 0xff }, {0x9bc6, 0xff, 0x01},
{ 0x9bd3, 0, 8, 0x95 }, {0x9bba, 0xff, 0xff},
{ 0xd011, 0, 8, 0x70 }, {0x9bc9, 0xff, 0xff},
{ 0xd012, 0, 2, 0x01 }, {0x9bd3, 0xff, 0x95},
{ 0xd013, 0, 8, 0xfb }, {0xd011, 0xff, 0x70},
{ 0xd014, 0, 2, 0x01 }, {0xd012, 0x03, 0x01},
{ 0xd040, 0, 8, 0x70 }, {0xd013, 0xff, 0xfb},
{ 0xd041, 0, 2, 0x01 }, {0xd014, 0x03, 0x01},
{ 0xd042, 0, 8, 0xfb }, {0xd040, 0xff, 0x70},
{ 0xd043, 0, 2, 0x01 }, {0xd041, 0x03, 0x01},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0xfb},
{ 0x9bcf, 0, 1, 0x01 }, {0xd043, 0x03, 0x01},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0x01, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x50 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0x9bd7, 0, 8, 0x0a }, {0xd053, 0xff, 0x50},
{ 0x9bd8, 0, 8, 0x14 }, {0xd054, 0xff, 0x46},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{ 0x9bd0, 0, 8, 0x93 }, {0x9bd8, 0xff, 0x14},
{ 0x9be4, 0, 8, 0xfe }, {0x9bd9, 0xff, 0x08},
{ 0x9bbd, 0, 8, 0x63 }, {0x9bd0, 0xff, 0x93},
{ 0x9be2, 0, 8, 0xfe }, {0x9be4, 0xff, 0xfe},
{ 0x9bee, 0, 1, 0x01 }, {0x9bbd, 0xff, 0x63},
{0x9be2, 0xff, 0xfe},
{0x9bee, 0x01, 0x01},
}; };
/* Quantek QT1010 tuner init /*
AF9013_TUNER_QT1010 = 134 * Quantek QT1010 tuner init
AF9013_TUNER_QT1010A = 162 */ * AF9013_TUNER_QT1010 0x86
static const struct af9013_reg_bit tuner_init_qt1010[] = { * AF9013_TUNER_QT1010A 0xa2
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x09 }, static const struct af9013_reg_mask_val tuner_init_tab_qt1010[] = {
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd000, 0, 1, 0x01 }, {0x9bd6, 0xff, 0x09},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0x9bda, 0, 8, 0x01 }, {0xd01f, 0x3f, 0x0a},
{ 0x9be3, 0, 8, 0x01 }, {0xd020, 0x3f, 0x0a},
{ 0xd015, 0, 8, 0x46 }, {0x9bda, 0xff, 0x01},
{ 0xd016, 0, 1, 0x00 }, {0x9be3, 0xff, 0x01},
{ 0xd044, 0, 8, 0x46 }, {0xd015, 0xff, 0x46},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0x9bbe, 0, 1, 0x01 }, {0xd044, 0xff, 0x46},
{ 0x9bcc, 0, 1, 0x01 }, {0xd045, 0x01, 0x00},
{ 0x9bb9, 0, 8, 0x00 }, {0x9bbe, 0x01, 0x01},
{ 0x9bcd, 0, 8, 0x28 }, {0x9bcc, 0x01, 0x01},
{ 0x9bff, 0, 8, 0x20 }, {0x9bb9, 0xff, 0x00},
{ 0xd008, 0, 8, 0x0f }, {0x9bcd, 0xff, 0x28},
{ 0xd009, 0, 2, 0x02 }, {0x9bff, 0xff, 0x20},
{ 0xd006, 0, 8, 0x99 }, {0xd008, 0xff, 0x0f},
{ 0xd007, 0, 2, 0x01 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0x0f }, {0xd006, 0xff, 0x99},
{ 0xd00d, 0, 2, 0x02 }, {0xd007, 0x03, 0x01},
{ 0xd00a, 0, 8, 0x50 }, {0xd00c, 0xff, 0x0f},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x02},
{ 0x9bc7, 0, 8, 0x00 }, {0xd00a, 0xff, 0x50},
{ 0x9bc8, 0, 8, 0x00 }, {0xd00b, 0x03, 0x01},
{ 0x9bc3, 0, 8, 0x0f }, {0x9bc7, 0xff, 0x00},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bc8, 0xff, 0x00},
{ 0x9bc5, 0, 8, 0x0f }, {0x9bc3, 0xff, 0x0f},
{ 0x9bc6, 0, 8, 0x02 }, {0x9bc4, 0xff, 0x02},
{ 0x9bba, 0, 8, 0xc5 }, {0x9bc5, 0xff, 0x0f},
{ 0x9bc9, 0, 8, 0xff }, {0x9bc6, 0xff, 0x02},
{ 0xd011, 0, 8, 0x58 }, {0x9bba, 0xff, 0xc5},
{ 0xd012, 0, 2, 0x02 }, {0x9bc9, 0xff, 0xff},
{ 0xd013, 0, 8, 0x89 }, {0xd011, 0xff, 0x58},
{ 0xd014, 0, 2, 0x01 }, {0xd012, 0x03, 0x02},
{ 0xd040, 0, 8, 0x58 }, {0xd013, 0xff, 0x89},
{ 0xd041, 0, 2, 0x02 }, {0xd014, 0x03, 0x01},
{ 0xd042, 0, 8, 0x89 }, {0xd040, 0xff, 0x58},
{ 0xd043, 0, 2, 0x01 }, {0xd041, 0x03, 0x02},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0x89},
{ 0x9bcf, 0, 1, 0x01 }, {0xd043, 0x03, 0x01},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0x01, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x50 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0x9bd7, 0, 8, 0x0a }, {0xd053, 0xff, 0x50},
{ 0x9bd8, 0, 8, 0x14 }, {0xd054, 0xff, 0x46},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{ 0x9bd0, 0, 8, 0xcd }, {0x9bd8, 0xff, 0x14},
{ 0x9be4, 0, 8, 0xbb }, {0x9bd9, 0xff, 0x08},
{ 0x9bbd, 0, 8, 0x93 }, {0x9bd0, 0xff, 0xcd},
{ 0x9be2, 0, 8, 0x80 }, {0x9be4, 0xff, 0xbb},
{ 0x9bee, 0, 1, 0x01 }, {0x9bbd, 0xff, 0x93},
{0x9be2, 0xff, 0x80},
{0x9bee, 0x01, 0x01},
}; };
/* Freescale MC44S803 tuner init /*
AF9013_TUNER_MC44S803 = 133 */ * Freescale MC44S803 tuner init
static const struct af9013_reg_bit tuner_init_mc44s803[] = { * AF9013_TUNER_MC44S803 0x85
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x06 }, static const struct af9013_reg_mask_val tuner_init_tab_mc44s803[] = {
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd000, 0, 1, 0x01 }, {0x9bd6, 0xff, 0x06},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0x9bda, 0, 8, 0x00 }, {0xd01f, 0x3f, 0x0a},
{ 0x9be3, 0, 8, 0x00 }, {0xd020, 0x3f, 0x0a},
{ 0x9bf6, 0, 8, 0x01 }, {0x9bda, 0xff, 0x00},
{ 0x9bf8, 0, 8, 0x02 }, {0x9be3, 0xff, 0x00},
{ 0x9bf9, 0, 8, 0x02 }, {0x9bf6, 0xff, 0x01},
{ 0x9bfc, 0, 8, 0x1f }, {0x9bf8, 0xff, 0x02},
{ 0x9bbe, 0, 1, 0x01 }, {0x9bf9, 0xff, 0x02},
{ 0x9bcc, 0, 1, 0x01 }, {0x9bfc, 0xff, 0x1f},
{ 0x9bb9, 0, 8, 0x00 }, {0x9bbe, 0x01, 0x01},
{ 0x9bcd, 0, 8, 0x24 }, {0x9bcc, 0x01, 0x01},
{ 0x9bff, 0, 8, 0x24 }, {0x9bb9, 0xff, 0x00},
{ 0xd015, 0, 8, 0x46 }, {0x9bcd, 0xff, 0x24},
{ 0xd016, 0, 1, 0x00 }, {0x9bff, 0xff, 0x24},
{ 0xd044, 0, 8, 0x46 }, {0xd015, 0xff, 0x46},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0xd008, 0, 8, 0x01 }, {0xd044, 0xff, 0x46},
{ 0xd009, 0, 2, 0x02 }, {0xd045, 0x01, 0x00},
{ 0xd006, 0, 8, 0x7b }, {0xd008, 0xff, 0x01},
{ 0xd007, 0, 2, 0x00 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0x7c }, {0xd006, 0xff, 0x7b},
{ 0xd00d, 0, 2, 0x02 }, {0xd007, 0x03, 0x00},
{ 0xd00a, 0, 8, 0xfe }, {0xd00c, 0xff, 0x7c},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x02},
{ 0x9bc7, 0, 8, 0x08 }, {0xd00a, 0xff, 0xfe},
{ 0x9bc8, 0, 8, 0x9a }, {0xd00b, 0x03, 0x01},
{ 0x9bc3, 0, 8, 0x01 }, {0x9bc7, 0xff, 0x08},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bc8, 0xff, 0x9a},
{ 0x9bc5, 0, 8, 0x7c }, {0x9bc3, 0xff, 0x01},
{ 0x9bc6, 0, 8, 0x02 }, {0x9bc4, 0xff, 0x02},
{ 0x9bba, 0, 8, 0xfc }, {0x9bc5, 0xff, 0x7c},
{ 0x9bc9, 0, 8, 0xaa }, {0x9bc6, 0xff, 0x02},
{ 0xd011, 0, 8, 0x6b }, {0x9bba, 0xff, 0xfc},
{ 0xd012, 0, 2, 0x00 }, {0x9bc9, 0xff, 0xaa},
{ 0xd013, 0, 8, 0x88 }, {0xd011, 0xff, 0x6b},
{ 0xd014, 0, 2, 0x02 }, {0xd012, 0x03, 0x00},
{ 0xd040, 0, 8, 0x6b }, {0xd013, 0xff, 0x88},
{ 0xd041, 0, 2, 0x00 }, {0xd014, 0x03, 0x02},
{ 0xd042, 0, 8, 0x7c }, {0xd040, 0xff, 0x6b},
{ 0xd043, 0, 2, 0x02 }, {0xd041, 0x03, 0x00},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0x7c},
{ 0x9bcf, 0, 1, 0x01 }, {0xd043, 0x03, 0x02},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0x01, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x50 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0x9bd7, 0, 8, 0x0a }, {0xd053, 0xff, 0x50},
{ 0x9bd8, 0, 8, 0x14 }, {0xd054, 0xff, 0x46},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{ 0x9bd0, 0, 8, 0x9e }, {0x9bd8, 0xff, 0x14},
{ 0x9be4, 0, 8, 0xff }, {0x9bd9, 0xff, 0x08},
{ 0x9bbd, 0, 8, 0x9e }, {0x9bd0, 0xff, 0x9e},
{ 0x9be2, 0, 8, 0x25 }, {0x9be4, 0xff, 0xff},
{ 0x9bee, 0, 1, 0x01 }, {0x9bbd, 0xff, 0x9e},
{ 0xd73b, 3, 1, 0x00 }, {0x9be2, 0xff, 0x25},
{0x9bee, 0x01, 0x01},
{0xd73b, 0x08, 0x00},
}; };
/* unknown, probably for tin can tuner, tuner init /*
AF9013_TUNER_UNKNOWN = 140 */ * Unknown, probably for tin can tuner, tuner init
static const struct af9013_reg_bit tuner_init_unknown[] = { * AF9013_TUNER_UNKNOWN 0x8c
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x02 }, static const struct af9013_reg_mask_val tuner_init_tab_unknown[] = {
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd000, 0, 1, 0x01 }, {0x9bd6, 0xff, 0x02},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0x9bda, 0, 8, 0x01 }, {0xd01f, 0x3f, 0x0a},
{ 0x9be3, 0, 8, 0x01 }, {0xd020, 0x3f, 0x0a},
{ 0xd1a0, 1, 1, 0x00 }, {0x9bda, 0xff, 0x01},
{ 0x9bbe, 0, 1, 0x01 }, {0x9be3, 0xff, 0x01},
{ 0x9bcc, 0, 1, 0x01 }, {0xd1a0, 0x02, 0x00},
{ 0x9bb9, 0, 8, 0x00 }, {0x9bbe, 0x01, 0x01},
{ 0x9bcd, 0, 8, 0x18 }, {0x9bcc, 0x01, 0x01},
{ 0x9bff, 0, 8, 0x2c }, {0x9bb9, 0xff, 0x00},
{ 0xd015, 0, 8, 0x46 }, {0x9bcd, 0xff, 0x18},
{ 0xd016, 0, 1, 0x00 }, {0x9bff, 0xff, 0x2c},
{ 0xd044, 0, 8, 0x46 }, {0xd015, 0xff, 0x46},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0xd008, 0, 8, 0xdf }, {0xd044, 0xff, 0x46},
{ 0xd009, 0, 2, 0x02 }, {0xd045, 0x01, 0x00},
{ 0xd006, 0, 8, 0x44 }, {0xd008, 0xff, 0xdf},
{ 0xd007, 0, 2, 0x01 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0x00 }, {0xd006, 0xff, 0x44},
{ 0xd00d, 0, 2, 0x02 }, {0xd007, 0x03, 0x01},
{ 0xd00a, 0, 8, 0xf6 }, {0xd00c, 0xff, 0x00},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x02},
{ 0x9bba, 0, 8, 0xf9 }, {0xd00a, 0xff, 0xf6},
{ 0x9bc8, 0, 8, 0xaa }, {0xd00b, 0x03, 0x01},
{ 0x9bc3, 0, 8, 0xdf }, {0x9bba, 0xff, 0xf9},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bc8, 0xff, 0xaa},
{ 0x9bc5, 0, 8, 0x00 }, {0x9bc3, 0xff, 0xdf},
{ 0x9bc6, 0, 8, 0x02 }, {0x9bc4, 0xff, 0x02},
{ 0x9bc9, 0, 8, 0xf0 }, {0x9bc5, 0xff, 0x00},
{ 0xd011, 0, 8, 0x3c }, {0x9bc6, 0xff, 0x02},
{ 0xd012, 0, 2, 0x01 }, {0x9bc9, 0xff, 0xf0},
{ 0xd013, 0, 8, 0xf7 }, {0xd011, 0xff, 0x3c},
{ 0xd014, 0, 2, 0x02 }, {0xd012, 0x03, 0x01},
{ 0xd040, 0, 8, 0x0b }, {0xd013, 0xff, 0xf7},
{ 0xd041, 0, 2, 0x02 }, {0xd014, 0x03, 0x02},
{ 0xd042, 0, 8, 0x4d }, {0xd040, 0xff, 0x0b},
{ 0xd043, 0, 2, 0x00 }, {0xd041, 0x03, 0x02},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0x4d},
{ 0x9bcf, 0, 1, 0x01 }, {0xd043, 0x03, 0x00},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0x01, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x50 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0x9bd7, 0, 8, 0x0a }, {0xd053, 0xff, 0x50},
{ 0x9bd8, 0, 8, 0x14 }, {0xd054, 0xff, 0x46},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{0x9bd8, 0xff, 0x14},
{0x9bd9, 0xff, 0x08},
}; };
/* NXP TDA18271 & TDA18218 tuner init /*
AF9013_TUNER_TDA18271 = 156 * NXP TDA18271 & TDA18218 tuner init
AF9013_TUNER_TDA18218 = 179 */ * AF9013_TUNER_TDA18271 0x9c
static const struct af9013_reg_bit tuner_init_tda18271[] = { * AF9013_TUNER_TDA18218 0xb3
{ 0x9bd5, 0, 8, 0x01 }, */
{ 0x9bd6, 0, 8, 0x04 }, static const struct af9013_reg_mask_val tuner_init_tab_tda18271[] = {
{ 0xd1a0, 1, 1, 0x01 }, {0x9bd5, 0xff, 0x01},
{ 0xd000, 0, 1, 0x01 }, {0x9bd6, 0xff, 0x04},
{ 0xd000, 1, 1, 0x00 }, {0xd1a0, 0x02, 0x02},
{ 0xd001, 1, 1, 0x01 }, {0xd000, 0x01, 0x01},
{ 0xd001, 0, 1, 0x00 }, {0xd000, 0x02, 0x00},
{ 0xd001, 5, 1, 0x00 }, {0xd001, 0x02, 0x02},
{ 0xd002, 0, 5, 0x19 }, {0xd001, 0x01, 0x00},
{ 0xd003, 0, 5, 0x1a }, {0xd001, 0x20, 0x00},
{ 0xd004, 0, 5, 0x19 }, {0xd002, 0x1f, 0x19},
{ 0xd005, 0, 5, 0x1a }, {0xd003, 0x1f, 0x1a},
{ 0xd00e, 0, 5, 0x10 }, {0xd004, 0x1f, 0x19},
{ 0xd00f, 0, 3, 0x04 }, {0xd005, 0x1f, 0x1a},
{ 0xd00f, 3, 3, 0x05 }, {0xd00e, 0x1f, 0x10},
{ 0xd010, 0, 3, 0x04 }, {0xd00f, 0x07, 0x04},
{ 0xd010, 3, 3, 0x05 }, {0xd00f, 0x38, 0x28},
{ 0xd016, 4, 4, 0x03 }, {0xd010, 0x07, 0x04},
{ 0xd01f, 0, 6, 0x0a }, {0xd010, 0x38, 0x28},
{ 0xd020, 0, 6, 0x0a }, {0xd016, 0xf0, 0x30},
{ 0x9bda, 0, 8, 0x01 }, {0xd01f, 0x3f, 0x0a},
{ 0x9be3, 0, 8, 0x01 }, {0xd020, 0x3f, 0x0a},
{ 0xd1a0, 1, 1, 0x00 }, {0x9bda, 0xff, 0x01},
{ 0x9bbe, 0, 1, 0x01 }, {0x9be3, 0xff, 0x01},
{ 0x9bcc, 0, 1, 0x01 }, {0xd1a0, 0x02, 0x00},
{ 0x9bb9, 0, 8, 0x00 }, {0x9bbe, 0x01, 0x01},
{ 0x9bcd, 0, 8, 0x18 }, {0x9bcc, 0x01, 0x01},
{ 0x9bff, 0, 8, 0x2c }, {0x9bb9, 0xff, 0x00},
{ 0xd015, 0, 8, 0x46 }, {0x9bcd, 0xff, 0x18},
{ 0xd016, 0, 1, 0x00 }, {0x9bff, 0xff, 0x2c},
{ 0xd044, 0, 8, 0x46 }, {0xd015, 0xff, 0x46},
{ 0xd045, 0, 1, 0x00 }, {0xd016, 0x01, 0x00},
{ 0xd008, 0, 8, 0xdf }, {0xd044, 0xff, 0x46},
{ 0xd009, 0, 2, 0x02 }, {0xd045, 0x01, 0x00},
{ 0xd006, 0, 8, 0x44 }, {0xd008, 0xff, 0xdf},
{ 0xd007, 0, 2, 0x01 }, {0xd009, 0x03, 0x02},
{ 0xd00c, 0, 8, 0x00 }, {0xd006, 0xff, 0x44},
{ 0xd00d, 0, 2, 0x02 }, {0xd007, 0x03, 0x01},
{ 0xd00a, 0, 8, 0xf6 }, {0xd00c, 0xff, 0x00},
{ 0xd00b, 0, 2, 0x01 }, {0xd00d, 0x03, 0x02},
{ 0x9bba, 0, 8, 0xf9 }, {0xd00a, 0xff, 0xf6},
{ 0x9bc8, 0, 8, 0xaa }, {0xd00b, 0x03, 0x01},
{ 0x9bc3, 0, 8, 0xdf }, {0x9bba, 0xff, 0xf9},
{ 0x9bc4, 0, 8, 0x02 }, {0x9bc8, 0xff, 0xaa},
{ 0x9bc5, 0, 8, 0x00 }, {0x9bc3, 0xff, 0xdf},
{ 0x9bc6, 0, 8, 0x02 }, {0x9bc4, 0xff, 0x02},
{ 0x9bc9, 0, 8, 0xf0 }, {0x9bc5, 0xff, 0x00},
{ 0xd011, 0, 8, 0x3c }, {0x9bc6, 0xff, 0x02},
{ 0xd012, 0, 2, 0x01 }, {0x9bc9, 0xff, 0xf0},
{ 0xd013, 0, 8, 0xf7 }, {0xd011, 0xff, 0x3c},
{ 0xd014, 0, 2, 0x02 }, {0xd012, 0x03, 0x01},
{ 0xd040, 0, 8, 0x0b }, {0xd013, 0xff, 0xf7},
{ 0xd041, 0, 2, 0x02 }, {0xd014, 0x03, 0x02},
{ 0xd042, 0, 8, 0x4d }, {0xd040, 0xff, 0x0b},
{ 0xd043, 0, 2, 0x00 }, {0xd041, 0x03, 0x02},
{ 0xd045, 1, 1, 0x00 }, {0xd042, 0xff, 0x4d},
{ 0x9bcf, 0, 1, 0x01 }, {0xd043, 0x03, 0x00},
{ 0xd045, 2, 1, 0x01 }, {0xd045, 0x02, 0x00},
{ 0xd04f, 0, 8, 0x9a }, {0x9bcf, 0x01, 0x01},
{ 0xd050, 0, 1, 0x01 }, {0xd045, 0x04, 0x04},
{ 0xd051, 0, 8, 0x5a }, {0xd04f, 0xff, 0x9a},
{ 0xd052, 0, 1, 0x01 }, {0xd050, 0x01, 0x01},
{ 0xd053, 0, 8, 0x50 }, {0xd051, 0xff, 0x5a},
{ 0xd054, 0, 8, 0x46 }, {0xd052, 0x01, 0x01},
{ 0x9bd7, 0, 8, 0x0a }, {0xd053, 0xff, 0x50},
{ 0x9bd8, 0, 8, 0x14 }, {0xd054, 0xff, 0x46},
{ 0x9bd9, 0, 8, 0x08 }, {0x9bd7, 0xff, 0x0a},
{ 0x9bd0, 0, 8, 0xa8 }, {0x9bd8, 0xff, 0x14},
{ 0x9be4, 0, 8, 0x7f }, {0x9bd9, 0xff, 0x08},
{ 0x9bbd, 0, 8, 0xa8 }, {0x9bd0, 0xff, 0xa8},
{ 0x9be2, 0, 8, 0x20 }, {0x9be4, 0xff, 0x7f},
{ 0x9bee, 0, 1, 0x01 }, {0x9bbd, 0xff, 0xa8},
{0x9be2, 0xff, 0x20},
{0x9bee, 0x01, 0x01},
}; };
#endif /* AF9013_PRIV_H */ #endif /* AF9013_PRIV_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment