aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-03-07 19:29:05 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-03-21 18:03:41 -0400
commit22d729f30e6ffa2c28a704377a5e6689f33b3095 (patch)
tree5762b396a80a09a50558430d2b25426872beedc6 /drivers/media/dvb-frontends
parentbb2e12a6f983045f4452f7561c712162002ccf44 (diff)
[media] af9033: add IT9135 tuner config "52" 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>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r--drivers/media/dvb-frontends/af9033.c3
-rw-r--r--drivers/media/dvb-frontends/af9033_priv.h217
2 files changed, 220 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/af9033.c b/drivers/media/dvb-frontends/af9033.c
index d6fc566669ea..920c8758c696 100644
--- a/drivers/media/dvb-frontends/af9033.c
+++ b/drivers/media/dvb-frontends/af9033.c
@@ -355,6 +355,9 @@ static int af9033_init(struct dvb_frontend *fe)
355 init = tuner_init_it9135_51; 355 init = tuner_init_it9135_51;
356 break; 356 break;
357 case AF9033_TUNER_IT9135_52: 357 case AF9033_TUNER_IT9135_52:
358 len = ARRAY_SIZE(tuner_init_it9135_52);
359 init = tuner_init_it9135_52;
360 break;
358 case AF9033_TUNER_IT9135_60: 361 case AF9033_TUNER_IT9135_60:
359 case AF9033_TUNER_IT9135_61: 362 case AF9033_TUNER_IT9135_61:
360 case AF9033_TUNER_IT9135_62: 363 case AF9033_TUNER_IT9135_62:
diff --git a/drivers/media/dvb-frontends/af9033_priv.h b/drivers/media/dvb-frontends/af9033_priv.h
index 5e35ef6c5825..01844d5b1563 100644
--- a/drivers/media/dvb-frontends/af9033_priv.h
+++ b/drivers/media/dvb-frontends/af9033_priv.h
@@ -1092,6 +1092,223 @@ static const struct reg_val tuner_init_it9135_51[] = {
1092 { 0x80fd8b, 0x00 }, 1092 { 0x80fd8b, 0x00 },
1093}; 1093};
1094 1094
1095/* ITE Tech IT9135 Omega LNA config 2 tuner init
1096 AF9033_TUNER_IT9135_52 = 0x52 */
1097static const struct reg_val tuner_init_it9135_52[] = {
1098 { 0x800043, 0x00 },
1099 { 0x800046, 0x52 },
1100 { 0x800051, 0x01 },
1101 { 0x80005f, 0x00 },
1102 { 0x800060, 0x00 },
1103 { 0x800068, 0x10 },
1104 { 0x800070, 0x0a },
1105 { 0x800071, 0x05 },
1106 { 0x800072, 0x02 },
1107 { 0x800075, 0x8c },
1108 { 0x800076, 0x8c },
1109 { 0x800077, 0x8c },
1110 { 0x800078, 0xa0 },
1111 { 0x800079, 0x01 },
1112 { 0x80007e, 0x04 },
1113 { 0x80007f, 0x00 },
1114 { 0x800081, 0x0a },
1115 { 0x800082, 0x17 },
1116 { 0x800083, 0x03 },
1117 { 0x800084, 0x0a },
1118 { 0x800085, 0x03 },
1119 { 0x800086, 0xb3 },
1120 { 0x800087, 0x97 },
1121 { 0x800088, 0xc0 },
1122 { 0x800089, 0x9e },
1123 { 0x80008a, 0x01 },
1124 { 0x80008e, 0x01 },
1125 { 0x800092, 0x06 },
1126 { 0x800093, 0x00 },
1127 { 0x800094, 0x00 },
1128 { 0x800095, 0x00 },
1129 { 0x800096, 0x00 },
1130 { 0x800099, 0x01 },
1131 { 0x80009b, 0x3c },
1132 { 0x80009c, 0x28 },
1133 { 0x80009f, 0xe1 },
1134 { 0x8000a0, 0xcf },
1135 { 0x8000a3, 0x01 },
1136 { 0x8000a4, 0x5c },
1137 { 0x8000a5, 0x01 },
1138 { 0x8000a6, 0x01 },
1139 { 0x8000a9, 0x00 },
1140 { 0x8000aa, 0x01 },
1141 { 0x8000b0, 0x01 },
1142 { 0x8000b3, 0x02 },
1143 { 0x8000b4, 0x3c },
1144 { 0x8000b6, 0x14 },
1145 { 0x8000c0, 0x11 },
1146 { 0x8000c1, 0x00 },
1147 { 0x8000c2, 0x05 },
1148 { 0x8000c4, 0x00 },
1149 { 0x8000c6, 0x19 },
1150 { 0x8000c7, 0x00 },
1151 { 0x8000cc, 0x2e },
1152 { 0x8000cd, 0x51 },
1153 { 0x8000ce, 0x33 },
1154 { 0x8000f3, 0x05 },
1155 { 0x8000f4, 0x91 },
1156 { 0x8000f5, 0x8c },
1157 { 0x8000f8, 0x03 },
1158 { 0x8000f9, 0x06 },
1159 { 0x8000fa, 0x06 },
1160 { 0x8000fc, 0x03 },
1161 { 0x8000fd, 0x02 },
1162 { 0x8000fe, 0x02 },
1163 { 0x8000ff, 0x09 },
1164 { 0x800100, 0x50 },
1165 { 0x800101, 0x74 },
1166 { 0x800102, 0x77 },
1167 { 0x800103, 0x02 },
1168 { 0x800104, 0x02 },
1169 { 0x800105, 0xa4 },
1170 { 0x800106, 0x02 },
1171 { 0x800107, 0x6e },
1172 { 0x800109, 0x02 },
1173 { 0x800115, 0x0a },
1174 { 0x800116, 0x03 },
1175 { 0x800117, 0x02 },
1176 { 0x800118, 0x80 },
1177 { 0x80011a, 0xcd },
1178 { 0x80011b, 0x62 },
1179 { 0x80011c, 0xa4 },
1180 { 0x80011d, 0x8c },
1181 { 0x800122, 0x03 },
1182 { 0x800123, 0x18 },
1183 { 0x800124, 0x9e },
1184 { 0x800127, 0x00 },
1185 { 0x800128, 0x07 },
1186 { 0x80012a, 0x53 },
1187 { 0x80012b, 0x51 },
1188 { 0x80012c, 0x4e },
1189 { 0x80012d, 0x43 },
1190 { 0x800137, 0x00 },
1191 { 0x800138, 0x00 },
1192 { 0x800139, 0x07 },
1193 { 0x80013a, 0x00 },
1194 { 0x80013b, 0x06 },
1195 { 0x80013d, 0x00 },
1196 { 0x80013e, 0x01 },
1197 { 0x80013f, 0x5b },
1198 { 0x800140, 0xb6 },
1199 { 0x800141, 0x59 },
1200 { 0x80f000, 0x0f },
1201 { 0x80f016, 0x10 },
1202 { 0x80f017, 0x04 },
1203 { 0x80f018, 0x05 },
1204 { 0x80f019, 0x04 },
1205 { 0x80f01a, 0x05 },
1206 { 0x80f01f, 0x8c },
1207 { 0x80f020, 0x00 },
1208 { 0x80f021, 0x03 },
1209 { 0x80f022, 0x0a },
1210 { 0x80f023, 0x0a },
1211 { 0x80f029, 0x8c },
1212 { 0x80f02a, 0x00 },
1213 { 0x80f02b, 0x00 },
1214 { 0x80f02c, 0x01 },
1215 { 0x80f064, 0x03 },
1216 { 0x80f065, 0xf9 },
1217 { 0x80f066, 0x03 },
1218 { 0x80f067, 0x01 },
1219 { 0x80f06f, 0xe0 },
1220 { 0x80f070, 0x03 },
1221 { 0x80f072, 0x0f },
1222 { 0x80f073, 0x03 },
1223 { 0x80f077, 0x01 },
1224 { 0x80f078, 0x00 },
1225 { 0x80f085, 0xc0 },
1226 { 0x80f086, 0x01 },
1227 { 0x80f087, 0x00 },
1228 { 0x80f09b, 0x3f },
1229 { 0x80f09c, 0x00 },
1230 { 0x80f09d, 0x20 },
1231 { 0x80f09e, 0x00 },
1232 { 0x80f09f, 0x0c },
1233 { 0x80f0a0, 0x00 },
1234 { 0x80f130, 0x04 },
1235 { 0x80f132, 0x04 },
1236 { 0x80f144, 0x1a },
1237 { 0x80f146, 0x00 },
1238 { 0x80f14a, 0x01 },
1239 { 0x80f14c, 0x00 },
1240 { 0x80f14d, 0x00 },
1241 { 0x80f14f, 0x04 },
1242 { 0x80f158, 0x7f },
1243 { 0x80f15a, 0x00 },
1244 { 0x80f15b, 0x08 },
1245 { 0x80f15d, 0x03 },
1246 { 0x80f15e, 0x05 },
1247 { 0x80f163, 0x05 },
1248 { 0x80f166, 0x01 },
1249 { 0x80f167, 0x40 },
1250 { 0x80f168, 0x0f },
1251 { 0x80f17a, 0x00 },
1252 { 0x80f17b, 0x00 },
1253 { 0x80f183, 0x01 },
1254 { 0x80f19d, 0x40 },
1255 { 0x80f1bc, 0x36 },
1256 { 0x80f1bd, 0x00 },
1257 { 0x80f1cb, 0xa0 },
1258 { 0x80f1cc, 0x01 },
1259 { 0x80f204, 0x10 },
1260 { 0x80f214, 0x00 },
1261 { 0x80f24c, 0x88 },
1262 { 0x80f24d, 0x95 },
1263 { 0x80f24e, 0x9a },
1264 { 0x80f24f, 0x90 },
1265 { 0x80f25a, 0x07 },
1266 { 0x80f25b, 0xe8 },
1267 { 0x80f25c, 0x03 },
1268 { 0x80f25d, 0xb0 },
1269 { 0x80f25e, 0x04 },
1270 { 0x80f270, 0x01 },
1271 { 0x80f271, 0x02 },
1272 { 0x80f272, 0x01 },
1273 { 0x80f273, 0x02 },
1274 { 0x80f40e, 0x0a },
1275 { 0x80f40f, 0x40 },
1276 { 0x80f410, 0x08 },
1277 { 0x80f55f, 0x0a },
1278 { 0x80f561, 0x15 },
1279 { 0x80f562, 0x20 },
1280 { 0x80f5df, 0xfb },
1281 { 0x80f5e0, 0x00 },
1282 { 0x80f5e3, 0x09 },
1283 { 0x80f5e4, 0x01 },
1284 { 0x80f5e5, 0x01 },
1285 { 0x80f5f8, 0x01 },
1286 { 0x80f5fd, 0x01 },
1287 { 0x80f600, 0x05 },
1288 { 0x80f601, 0x08 },
1289 { 0x80f602, 0x0b },
1290 { 0x80f603, 0x0e },
1291 { 0x80f604, 0x11 },
1292 { 0x80f605, 0x14 },
1293 { 0x80f606, 0x17 },
1294 { 0x80f607, 0x1f },
1295 { 0x80f60e, 0x00 },
1296 { 0x80f60f, 0x04 },
1297 { 0x80f610, 0x32 },
1298 { 0x80f611, 0x10 },
1299 { 0x80f707, 0xfc },
1300 { 0x80f708, 0x00 },
1301 { 0x80f709, 0x37 },
1302 { 0x80f70a, 0x00 },
1303 { 0x80f78b, 0x01 },
1304 { 0x80f80f, 0x40 },
1305 { 0x80f810, 0x54 },
1306 { 0x80f811, 0x5a },
1307 { 0x80f905, 0x01 },
1308 { 0x80fb06, 0x03 },
1309 { 0x80fd8b, 0x00 },
1310};
1311
1095static const struct reg_val ofsm_init_it9135_v2[] = { 1312static const struct reg_val ofsm_init_it9135_v2[] = {
1096 { 0x800051, 0x01 }, 1313 { 0x800051, 0x01 },
1097 { 0x800070, 0x0a }, 1314 { 0x800070, 0x0a },