Antti Palosaari | 4b64bb2 | 2012-03-30 08:21:25 -0300 | [diff] [blame] | 1 | /* |
| 2 | * Afatech AF9033 demodulator driver |
| 3 | * |
| 4 | * Copyright (C) 2009 Antti Palosaari <crope@iki.fi> |
| 5 | * Copyright (C) 2012 Antti Palosaari <crope@iki.fi> |
| 6 | * |
| 7 | * This program is free software; you can redistribute it and/or modify |
| 8 | * it under the terms of the GNU General Public License as published by |
| 9 | * the Free Software Foundation; either version 2 of the License, or |
| 10 | * (at your option) any later version. |
| 11 | * |
| 12 | * This program is distributed in the hope that it will be useful, |
| 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | * GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along |
| 18 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | */ |
| 21 | |
| 22 | #ifndef AF9033_PRIV_H |
| 23 | #define AF9033_PRIV_H |
| 24 | |
| 25 | #include "dvb_frontend.h" |
| 26 | #include "af9033.h" |
| 27 | |
| 28 | struct reg_val { |
| 29 | u32 reg; |
| 30 | u8 val; |
| 31 | }; |
| 32 | |
| 33 | struct reg_val_mask { |
| 34 | u32 reg; |
| 35 | u8 val; |
| 36 | u8 mask; |
| 37 | }; |
| 38 | |
| 39 | struct coeff { |
| 40 | u32 clock; |
| 41 | u32 bandwidth_hz; |
| 42 | u8 val[36]; |
| 43 | }; |
| 44 | |
| 45 | struct clock_adc { |
| 46 | u32 clock; |
| 47 | u32 adc; |
| 48 | }; |
| 49 | |
Antti Palosaari | e898ef6 | 2012-04-01 12:50:02 -0300 | [diff] [blame] | 50 | struct val_snr { |
| 51 | u32 val; |
| 52 | u8 snr; |
| 53 | }; |
| 54 | |
Antti Palosaari | 4b64bb2 | 2012-03-30 08:21:25 -0300 | [diff] [blame] | 55 | /* Xtal clock vs. ADC clock lookup table */ |
| 56 | static const struct clock_adc clock_adc_lut[] = { |
| 57 | { 16384000, 20480000 }, |
| 58 | { 20480000, 20480000 }, |
| 59 | { 36000000, 20250000 }, |
| 60 | { 30000000, 20156250 }, |
| 61 | { 26000000, 20583333 }, |
| 62 | { 28000000, 20416667 }, |
| 63 | { 32000000, 20500000 }, |
| 64 | { 34000000, 20187500 }, |
| 65 | { 24000000, 20500000 }, |
| 66 | { 22000000, 20625000 }, |
| 67 | { 12000000, 20250000 }, |
| 68 | }; |
| 69 | |
| 70 | /* pre-calculated coeff lookup table */ |
| 71 | static const struct coeff coeff_lut[] = { |
| 72 | /* 12.000 MHz */ |
| 73 | { 12000000, 8000000, { |
| 74 | 0x01, 0xce, 0x55, 0xc9, 0x00, 0xe7, 0x2a, 0xe4, 0x00, 0x73, |
| 75 | 0x99, 0x0f, 0x00, 0x73, 0x95, 0x72, 0x00, 0x73, 0x91, 0xd5, |
| 76 | 0x00, 0x39, 0xca, 0xb9, 0x00, 0xe7, 0x2a, 0xe4, 0x00, 0x73, |
| 77 | 0x95, 0x72, 0x37, 0x02, 0xce, 0x01 } |
| 78 | }, |
| 79 | { 12000000, 7000000, { |
| 80 | 0x01, 0x94, 0x8b, 0x10, 0x00, 0xca, 0x45, 0x88, 0x00, 0x65, |
| 81 | 0x25, 0xed, 0x00, 0x65, 0x22, 0xc4, 0x00, 0x65, 0x1f, 0x9b, |
| 82 | 0x00, 0x32, 0x91, 0x62, 0x00, 0xca, 0x45, 0x88, 0x00, 0x65, |
| 83 | 0x22, 0xc4, 0x88, 0x02, 0x95, 0x01 } |
| 84 | }, |
| 85 | { 12000000, 6000000, { |
| 86 | 0x01, 0x5a, 0xc0, 0x56, 0x00, 0xad, 0x60, 0x2b, 0x00, 0x56, |
| 87 | 0xb2, 0xcb, 0x00, 0x56, 0xb0, 0x15, 0x00, 0x56, 0xad, 0x60, |
| 88 | 0x00, 0x2b, 0x58, 0x0b, 0x00, 0xad, 0x60, 0x2b, 0x00, 0x56, |
| 89 | 0xb0, 0x15, 0xf4, 0x02, 0x5b, 0x01 } |
| 90 | }, |
| 91 | }; |
| 92 | |
Antti Palosaari | e898ef6 | 2012-04-01 12:50:02 -0300 | [diff] [blame] | 93 | /* QPSK SNR lookup table */ |
| 94 | static const struct val_snr qpsk_snr_lut[] = { |
| 95 | { 0x0b4771, 0 }, |
| 96 | { 0x0c1aed, 1 }, |
| 97 | { 0x0d0d27, 2 }, |
| 98 | { 0x0e4d19, 3 }, |
| 99 | { 0x0e5da8, 4 }, |
| 100 | { 0x107097, 5 }, |
| 101 | { 0x116975, 6 }, |
| 102 | { 0x1252d9, 7 }, |
| 103 | { 0x131fa4, 8 }, |
| 104 | { 0x13d5e1, 9 }, |
| 105 | { 0x148e53, 10 }, |
| 106 | { 0x15358b, 11 }, |
| 107 | { 0x15dd29, 12 }, |
| 108 | { 0x168112, 13 }, |
| 109 | { 0x170b61, 14 }, |
| 110 | { 0x17a532, 15 }, |
| 111 | { 0x180f94, 16 }, |
| 112 | { 0x186ed2, 17 }, |
| 113 | { 0x18b271, 18 }, |
| 114 | { 0x18e118, 19 }, |
| 115 | { 0x18ff4b, 20 }, |
| 116 | { 0x190af1, 21 }, |
| 117 | { 0x191451, 22 }, |
| 118 | { 0xffffff, 23 }, |
| 119 | }; |
| 120 | |
| 121 | /* QAM16 SNR lookup table */ |
| 122 | static const struct val_snr qam16_snr_lut[] = { |
| 123 | { 0x04f0d5, 0 }, |
| 124 | { 0x05387a, 1 }, |
| 125 | { 0x0573a4, 2 }, |
| 126 | { 0x05a99e, 3 }, |
| 127 | { 0x05cc80, 4 }, |
| 128 | { 0x05eb62, 5 }, |
| 129 | { 0x05fecf, 6 }, |
| 130 | { 0x060b80, 7 }, |
| 131 | { 0x062501, 8 }, |
| 132 | { 0x064865, 9 }, |
| 133 | { 0x069604, 10 }, |
| 134 | { 0x06f356, 11 }, |
| 135 | { 0x07706a, 12 }, |
| 136 | { 0x0804d3, 13 }, |
| 137 | { 0x089d1a, 14 }, |
| 138 | { 0x093e3d, 15 }, |
| 139 | { 0x09e35d, 16 }, |
| 140 | { 0x0a7c3c, 17 }, |
| 141 | { 0x0afaf8, 18 }, |
| 142 | { 0x0b719d, 19 }, |
| 143 | { 0x0bda6a, 20 }, |
| 144 | { 0x0c0c75, 21 }, |
| 145 | { 0x0c3f7d, 22 }, |
| 146 | { 0x0c5e62, 23 }, |
| 147 | { 0x0c6c31, 24 }, |
| 148 | { 0x0c7925, 25 }, |
| 149 | { 0xffffff, 26 }, |
| 150 | }; |
| 151 | |
| 152 | /* QAM64 SNR lookup table */ |
| 153 | static const struct val_snr qam64_snr_lut[] = { |
| 154 | { 0x0256d0, 0 }, |
| 155 | { 0x027a65, 1 }, |
| 156 | { 0x029873, 2 }, |
| 157 | { 0x02b7fe, 3 }, |
| 158 | { 0x02cf1e, 4 }, |
| 159 | { 0x02e234, 5 }, |
| 160 | { 0x02f409, 6 }, |
| 161 | { 0x030046, 7 }, |
| 162 | { 0x030844, 8 }, |
| 163 | { 0x030a02, 9 }, |
| 164 | { 0x030cde, 10 }, |
| 165 | { 0x031031, 11 }, |
| 166 | { 0x03144c, 12 }, |
| 167 | { 0x0315dd, 13 }, |
| 168 | { 0x031920, 14 }, |
| 169 | { 0x0322d0, 15 }, |
| 170 | { 0x0339fc, 16 }, |
| 171 | { 0x0364a1, 17 }, |
| 172 | { 0x038bcc, 18 }, |
| 173 | { 0x03c7d3, 19 }, |
| 174 | { 0x0408cc, 20 }, |
| 175 | { 0x043bed, 21 }, |
| 176 | { 0x048061, 22 }, |
| 177 | { 0x04be95, 23 }, |
| 178 | { 0x04fa7d, 24 }, |
| 179 | { 0x052405, 25 }, |
| 180 | { 0x05570d, 26 }, |
| 181 | { 0x059feb, 27 }, |
| 182 | { 0x05bf38, 28 }, |
| 183 | { 0xffffff, 29 }, |
| 184 | }; |
| 185 | |
Antti Palosaari | 4b64bb2 | 2012-03-30 08:21:25 -0300 | [diff] [blame] | 186 | static const struct reg_val ofsm_init[] = { |
| 187 | { 0x800051, 0x01 }, |
| 188 | { 0x800070, 0x0a }, |
| 189 | { 0x80007e, 0x04 }, |
| 190 | { 0x800081, 0x0a }, |
| 191 | { 0x80008a, 0x01 }, |
| 192 | { 0x80008e, 0x01 }, |
| 193 | { 0x800092, 0x06 }, |
| 194 | { 0x800099, 0x01 }, |
| 195 | { 0x80009f, 0xe1 }, |
| 196 | { 0x8000a0, 0xcf }, |
| 197 | { 0x8000a3, 0x01 }, |
| 198 | { 0x8000a5, 0x01 }, |
| 199 | { 0x8000a6, 0x01 }, |
| 200 | { 0x8000a9, 0x00 }, |
| 201 | { 0x8000aa, 0x01 }, |
Antti Palosaari | 4b64bb2 | 2012-03-30 08:21:25 -0300 | [diff] [blame] | 202 | { 0x8000b0, 0x01 }, |
Antti Palosaari | d267d27 | 2012-12-09 14:46:45 -0300 | [diff] [blame] | 203 | { 0x8000c4, 0x05 }, |
| 204 | { 0x8000c8, 0x19 }, |
Antti Palosaari | 4b64bb2 | 2012-03-30 08:21:25 -0300 | [diff] [blame] | 205 | { 0x80f000, 0x0f }, |
| 206 | { 0x80f016, 0x10 }, |
| 207 | { 0x80f017, 0x04 }, |
| 208 | { 0x80f018, 0x05 }, |
| 209 | { 0x80f019, 0x04 }, |
| 210 | { 0x80f01a, 0x05 }, |
| 211 | { 0x80f021, 0x03 }, |
| 212 | { 0x80f022, 0x0a }, |
| 213 | { 0x80f023, 0x0a }, |
| 214 | { 0x80f02b, 0x00 }, |
| 215 | { 0x80f02c, 0x01 }, |
| 216 | { 0x80f064, 0x03 }, |
| 217 | { 0x80f065, 0xf9 }, |
| 218 | { 0x80f066, 0x03 }, |
| 219 | { 0x80f067, 0x01 }, |
| 220 | { 0x80f06f, 0xe0 }, |
| 221 | { 0x80f070, 0x03 }, |
| 222 | { 0x80f072, 0x0f }, |
| 223 | { 0x80f073, 0x03 }, |
| 224 | { 0x80f078, 0x00 }, |
| 225 | { 0x80f087, 0x00 }, |
| 226 | { 0x80f09b, 0x3f }, |
| 227 | { 0x80f09c, 0x00 }, |
| 228 | { 0x80f09d, 0x20 }, |
| 229 | { 0x80f09e, 0x00 }, |
| 230 | { 0x80f09f, 0x0c }, |
| 231 | { 0x80f0a0, 0x00 }, |
| 232 | { 0x80f130, 0x04 }, |
| 233 | { 0x80f132, 0x04 }, |
| 234 | { 0x80f144, 0x1a }, |
| 235 | { 0x80f146, 0x00 }, |
| 236 | { 0x80f14a, 0x01 }, |
| 237 | { 0x80f14c, 0x00 }, |
| 238 | { 0x80f14d, 0x00 }, |
| 239 | { 0x80f14f, 0x04 }, |
| 240 | { 0x80f158, 0x7f }, |
| 241 | { 0x80f15a, 0x00 }, |
| 242 | { 0x80f15b, 0x08 }, |
| 243 | { 0x80f15d, 0x03 }, |
| 244 | { 0x80f15e, 0x05 }, |
| 245 | { 0x80f163, 0x05 }, |
| 246 | { 0x80f166, 0x01 }, |
| 247 | { 0x80f167, 0x40 }, |
| 248 | { 0x80f168, 0x0f }, |
| 249 | { 0x80f17a, 0x00 }, |
| 250 | { 0x80f17b, 0x00 }, |
| 251 | { 0x80f183, 0x01 }, |
| 252 | { 0x80f19d, 0x40 }, |
| 253 | { 0x80f1bc, 0x36 }, |
| 254 | { 0x80f1bd, 0x00 }, |
| 255 | { 0x80f1cb, 0xa0 }, |
| 256 | { 0x80f1cc, 0x01 }, |
| 257 | { 0x80f204, 0x10 }, |
| 258 | { 0x80f214, 0x00 }, |
| 259 | { 0x80f40e, 0x0a }, |
| 260 | { 0x80f40f, 0x40 }, |
| 261 | { 0x80f410, 0x08 }, |
| 262 | { 0x80f55f, 0x0a }, |
| 263 | { 0x80f561, 0x15 }, |
| 264 | { 0x80f562, 0x20 }, |
| 265 | { 0x80f5df, 0xfb }, |
| 266 | { 0x80f5e0, 0x00 }, |
| 267 | { 0x80f5e3, 0x09 }, |
| 268 | { 0x80f5e4, 0x01 }, |
| 269 | { 0x80f5e5, 0x01 }, |
| 270 | { 0x80f5f8, 0x01 }, |
| 271 | { 0x80f5fd, 0x01 }, |
| 272 | { 0x80f600, 0x05 }, |
| 273 | { 0x80f601, 0x08 }, |
| 274 | { 0x80f602, 0x0b }, |
| 275 | { 0x80f603, 0x0e }, |
| 276 | { 0x80f604, 0x11 }, |
| 277 | { 0x80f605, 0x14 }, |
| 278 | { 0x80f606, 0x17 }, |
| 279 | { 0x80f607, 0x1f }, |
| 280 | { 0x80f60e, 0x00 }, |
| 281 | { 0x80f60f, 0x04 }, |
| 282 | { 0x80f610, 0x32 }, |
| 283 | { 0x80f611, 0x10 }, |
| 284 | { 0x80f707, 0xfc }, |
| 285 | { 0x80f708, 0x00 }, |
| 286 | { 0x80f709, 0x37 }, |
| 287 | { 0x80f70a, 0x00 }, |
| 288 | { 0x80f78b, 0x01 }, |
| 289 | { 0x80f80f, 0x40 }, |
| 290 | { 0x80f810, 0x54 }, |
| 291 | { 0x80f811, 0x5a }, |
| 292 | { 0x80f905, 0x01 }, |
| 293 | { 0x80fb06, 0x03 }, |
| 294 | { 0x80fd8b, 0x00 }, |
| 295 | }; |
| 296 | |
| 297 | /* Infineon TUA 9001 tuner init |
| 298 | AF9033_TUNER_TUA9001 = 0x27 */ |
| 299 | static const struct reg_val tuner_init_tua9001[] = { |
| 300 | { 0x800046, 0x27 }, |
| 301 | { 0x800057, 0x00 }, |
| 302 | { 0x800058, 0x01 }, |
| 303 | { 0x80005f, 0x00 }, |
| 304 | { 0x800060, 0x00 }, |
| 305 | { 0x80006d, 0x00 }, |
| 306 | { 0x800071, 0x05 }, |
| 307 | { 0x800072, 0x02 }, |
| 308 | { 0x800074, 0x01 }, |
| 309 | { 0x800075, 0x03 }, |
| 310 | { 0x800076, 0x02 }, |
| 311 | { 0x800077, 0x00 }, |
| 312 | { 0x800078, 0x01 }, |
| 313 | { 0x800079, 0x00 }, |
| 314 | { 0x80007a, 0x7e }, |
| 315 | { 0x80007b, 0x3e }, |
| 316 | { 0x800093, 0x00 }, |
| 317 | { 0x800094, 0x01 }, |
| 318 | { 0x800095, 0x02 }, |
| 319 | { 0x800096, 0x01 }, |
| 320 | { 0x800098, 0x0a }, |
| 321 | { 0x80009b, 0x05 }, |
| 322 | { 0x80009c, 0x80 }, |
| 323 | { 0x8000b3, 0x00 }, |
Antti Palosaari | 2c37d37 | 2012-12-09 15:38:03 -0300 | [diff] [blame] | 324 | { 0x8000c5, 0x01 }, |
| 325 | { 0x8000c6, 0x00 }, |
| 326 | { 0x8000c9, 0x5d }, |
Antti Palosaari | 4b64bb2 | 2012-03-30 08:21:25 -0300 | [diff] [blame] | 327 | { 0x80f007, 0x00 }, |
| 328 | { 0x80f01f, 0x82 }, |
| 329 | { 0x80f020, 0x00 }, |
| 330 | { 0x80f029, 0x82 }, |
| 331 | { 0x80f02a, 0x00 }, |
| 332 | { 0x80f047, 0x00 }, |
| 333 | { 0x80f054, 0x00 }, |
| 334 | { 0x80f055, 0x00 }, |
| 335 | { 0x80f077, 0x01 }, |
| 336 | { 0x80f1e6, 0x00 }, |
| 337 | }; |
| 338 | |
Michael Büsch | ffc501f | 2012-04-02 12:18:36 -0300 | [diff] [blame] | 339 | /* Fitipower fc0011 tuner init |
| 340 | AF9033_TUNER_FC0011 = 0x28 */ |
| 341 | static const struct reg_val tuner_init_fc0011[] = { |
Antti Palosaari | 0353d6b | 2012-12-09 15:45:26 -0300 | [diff] [blame] | 342 | { 0x800046, 0x28 }, |
Michael Büsch | ffc501f | 2012-04-02 12:18:36 -0300 | [diff] [blame] | 343 | { 0x800057, 0x00 }, |
| 344 | { 0x800058, 0x01 }, |
| 345 | { 0x80005f, 0x00 }, |
| 346 | { 0x800060, 0x00 }, |
| 347 | { 0x800068, 0xa5 }, |
| 348 | { 0x80006e, 0x01 }, |
Antti Palosaari | 0353d6b | 2012-12-09 15:45:26 -0300 | [diff] [blame] | 349 | { 0x800071, 0x0a }, |
Michael Büsch | ffc501f | 2012-04-02 12:18:36 -0300 | [diff] [blame] | 350 | { 0x800072, 0x02 }, |
| 351 | { 0x800074, 0x01 }, |
| 352 | { 0x800079, 0x01 }, |
| 353 | { 0x800093, 0x00 }, |
| 354 | { 0x800094, 0x00 }, |
| 355 | { 0x800095, 0x00 }, |
| 356 | { 0x800096, 0x00 }, |
Antti Palosaari | 0353d6b | 2012-12-09 15:45:26 -0300 | [diff] [blame] | 357 | { 0x80009b, 0x2d }, |
Michael Büsch | ffc501f | 2012-04-02 12:18:36 -0300 | [diff] [blame] | 358 | { 0x80009c, 0x60 }, |
| 359 | { 0x80009d, 0x23 }, |
| 360 | { 0x8000a4, 0x50 }, |
| 361 | { 0x8000ad, 0x50 }, |
| 362 | { 0x8000b3, 0x01 }, |
| 363 | { 0x8000b7, 0x88 }, |
| 364 | { 0x8000b8, 0xa6 }, |
Antti Palosaari | 0353d6b | 2012-12-09 15:45:26 -0300 | [diff] [blame] | 365 | { 0x8000c5, 0x01 }, |
| 366 | { 0x8000c6, 0x01 }, |
| 367 | { 0x8000c9, 0x69 }, |
| 368 | { 0x80f007, 0x00 }, |
| 369 | { 0x80f00a, 0x1b }, |
| 370 | { 0x80f00b, 0x1b }, |
| 371 | { 0x80f00c, 0x1b }, |
| 372 | { 0x80f00d, 0x1b }, |
| 373 | { 0x80f00e, 0xff }, |
| 374 | { 0x80f00f, 0x01 }, |
| 375 | { 0x80f010, 0x00 }, |
| 376 | { 0x80f011, 0x02 }, |
| 377 | { 0x80f012, 0xff }, |
| 378 | { 0x80f013, 0x01 }, |
| 379 | { 0x80f014, 0x00 }, |
| 380 | { 0x80f015, 0x02 }, |
| 381 | { 0x80f01b, 0xef }, |
| 382 | { 0x80f01c, 0x01 }, |
| 383 | { 0x80f01d, 0x0f }, |
| 384 | { 0x80f01e, 0x02 }, |
| 385 | { 0x80f01f, 0x6e }, |
| 386 | { 0x80f020, 0x00 }, |
| 387 | { 0x80f025, 0xde }, |
| 388 | { 0x80f026, 0x00 }, |
| 389 | { 0x80f027, 0x0a }, |
| 390 | { 0x80f028, 0x03 }, |
| 391 | { 0x80f029, 0x6e }, |
| 392 | { 0x80f02a, 0x00 }, |
| 393 | { 0x80f047, 0x00 }, |
| 394 | { 0x80f054, 0x00 }, |
| 395 | { 0x80f055, 0x00 }, |
| 396 | { 0x80f077, 0x01 }, |
| 397 | { 0x80f1e6, 0x00 }, |
Michael Büsch | ffc501f | 2012-04-02 12:18:36 -0300 | [diff] [blame] | 398 | }; |
| 399 | |
Antti Palosaari | e713ad1 | 2012-12-02 18:47:00 -0300 | [diff] [blame] | 400 | /* Fitipower FC0012 tuner init |
| 401 | AF9033_TUNER_FC0012 = 0x2e */ |
| 402 | static const struct reg_val tuner_init_fc0012[] = { |
| 403 | { 0x800046, 0x2e }, |
| 404 | { 0x800057, 0x00 }, |
| 405 | { 0x800058, 0x01 }, |
| 406 | { 0x800059, 0x01 }, |
| 407 | { 0x80005f, 0x00 }, |
| 408 | { 0x800060, 0x00 }, |
| 409 | { 0x80006d, 0x00 }, |
| 410 | { 0x800071, 0x05 }, |
| 411 | { 0x800072, 0x02 }, |
| 412 | { 0x800074, 0x01 }, |
| 413 | { 0x800075, 0x03 }, |
| 414 | { 0x800076, 0x02 }, |
| 415 | { 0x800077, 0x01 }, |
| 416 | { 0x800078, 0x00 }, |
| 417 | { 0x800079, 0x00 }, |
| 418 | { 0x80007a, 0x90 }, |
| 419 | { 0x80007b, 0x90 }, |
| 420 | { 0x800093, 0x00 }, |
| 421 | { 0x800094, 0x01 }, |
| 422 | { 0x800095, 0x02 }, |
| 423 | { 0x800096, 0x01 }, |
| 424 | { 0x800098, 0x0a }, |
| 425 | { 0x80009b, 0x05 }, |
| 426 | { 0x80009c, 0x80 }, |
| 427 | { 0x8000b3, 0x00 }, |
| 428 | { 0x8000c5, 0x01 }, |
| 429 | { 0x8000c6, 0x00 }, |
| 430 | { 0x8000c9, 0x5d }, |
| 431 | { 0x80f007, 0x00 }, |
| 432 | { 0x80f01f, 0xa0 }, |
| 433 | { 0x80f020, 0x00 }, |
| 434 | { 0x80f029, 0x82 }, |
| 435 | { 0x80f02a, 0x00 }, |
| 436 | { 0x80f047, 0x00 }, |
| 437 | { 0x80f054, 0x00 }, |
| 438 | { 0x80f055, 0x00 }, |
| 439 | { 0x80f077, 0x01 }, |
| 440 | { 0x80f1e6, 0x00 }, |
| 441 | }; |
| 442 | |
Hans-Frieder Vogt | 540fd4b | 2012-04-02 14:18:16 -0300 | [diff] [blame] | 443 | /* MaxLinear MxL5007T tuner init |
| 444 | AF9033_TUNER_MXL5007T = 0xa0 */ |
| 445 | static const struct reg_val tuner_init_mxl5007t[] = { |
| 446 | { 0x800046, 0x1b }, |
| 447 | { 0x800057, 0x01 }, |
| 448 | { 0x800058, 0x01 }, |
| 449 | { 0x80005f, 0x00 }, |
| 450 | { 0x800060, 0x00 }, |
| 451 | { 0x800068, 0x96 }, |
| 452 | { 0x800071, 0x05 }, |
| 453 | { 0x800072, 0x02 }, |
| 454 | { 0x800074, 0x01 }, |
| 455 | { 0x800079, 0x01 }, |
| 456 | { 0x800093, 0x00 }, |
| 457 | { 0x800094, 0x00 }, |
| 458 | { 0x800095, 0x00 }, |
| 459 | { 0x800096, 0x00 }, |
| 460 | { 0x8000b3, 0x01 }, |
| 461 | { 0x8000c1, 0x01 }, |
| 462 | { 0x8000c2, 0x00 }, |
| 463 | { 0x80f007, 0x00 }, |
| 464 | { 0x80f00c, 0x19 }, |
| 465 | { 0x80f00d, 0x1a }, |
| 466 | { 0x80f012, 0xda }, |
| 467 | { 0x80f013, 0x00 }, |
| 468 | { 0x80f014, 0x00 }, |
| 469 | { 0x80f015, 0x02 }, |
| 470 | { 0x80f01f, 0x82 }, |
| 471 | { 0x80f020, 0x00 }, |
| 472 | { 0x80f029, 0x82 }, |
| 473 | { 0x80f02a, 0x00 }, |
| 474 | { 0x80f077, 0x02 }, |
| 475 | { 0x80f1e6, 0x00 }, |
| 476 | }; |
| 477 | |
Gianluca Gennari | ce1fe37 | 2012-04-02 17:25:14 -0300 | [diff] [blame] | 478 | /* NXP TDA 18218HN tuner init |
| 479 | AF9033_TUNER_TDA18218 = 0xa1 */ |
| 480 | static const struct reg_val tuner_init_tda18218[] = { |
| 481 | {0x800046, 0xa1}, |
| 482 | {0x800057, 0x01}, |
| 483 | {0x800058, 0x01}, |
| 484 | {0x80005f, 0x00}, |
| 485 | {0x800060, 0x00}, |
| 486 | {0x800071, 0x05}, |
| 487 | {0x800072, 0x02}, |
| 488 | {0x800074, 0x01}, |
| 489 | {0x800079, 0x01}, |
| 490 | {0x800093, 0x00}, |
| 491 | {0x800094, 0x00}, |
| 492 | {0x800095, 0x00}, |
| 493 | {0x800096, 0x00}, |
| 494 | {0x8000b3, 0x01}, |
| 495 | {0x8000c3, 0x01}, |
| 496 | {0x8000c4, 0x00}, |
| 497 | {0x80f007, 0x00}, |
| 498 | {0x80f00c, 0x19}, |
| 499 | {0x80f00d, 0x1a}, |
| 500 | {0x80f012, 0xda}, |
| 501 | {0x80f013, 0x00}, |
| 502 | {0x80f014, 0x00}, |
| 503 | {0x80f015, 0x02}, |
| 504 | {0x80f01f, 0x82}, |
| 505 | {0x80f020, 0x00}, |
| 506 | {0x80f029, 0x82}, |
| 507 | {0x80f02a, 0x00}, |
| 508 | {0x80f077, 0x02}, |
| 509 | {0x80f1e6, 0x00}, |
| 510 | }; |
| 511 | |
Oliver Schinagl | d67ceb3 | 2012-09-20 14:57:17 -0300 | [diff] [blame] | 512 | /* FCI FC2580 tuner init */ |
| 513 | static const struct reg_val tuner_init_fc2580[] = { |
| 514 | { 0x800046, 0x32 }, |
| 515 | { 0x800057, 0x01 }, |
| 516 | { 0x800058, 0x00 }, |
| 517 | { 0x80005f, 0x00 }, |
| 518 | { 0x800060, 0x00 }, |
| 519 | { 0x800071, 0x05 }, |
| 520 | { 0x800072, 0x02 }, |
| 521 | { 0x800074, 0x01 }, |
| 522 | { 0x800079, 0x01 }, |
| 523 | { 0x800093, 0x00 }, |
| 524 | { 0x800094, 0x00 }, |
| 525 | { 0x800095, 0x00 }, |
| 526 | { 0x800096, 0x05 }, |
| 527 | { 0x8000b3, 0x01 }, |
Antti Palosaari | 864c714 | 2012-12-09 16:07:05 -0300 | [diff] [blame] | 528 | { 0x8000c5, 0x01 }, |
| 529 | { 0x8000c6, 0x00 }, |
| 530 | { 0x8000d1, 0x01 }, |
Oliver Schinagl | d67ceb3 | 2012-09-20 14:57:17 -0300 | [diff] [blame] | 531 | { 0x80f007, 0x00 }, |
| 532 | { 0x80f00c, 0x19 }, |
Antti Palosaari | 864c714 | 2012-12-09 16:07:05 -0300 | [diff] [blame] | 533 | { 0x80f00d, 0x1a }, |
Oliver Schinagl | d67ceb3 | 2012-09-20 14:57:17 -0300 | [diff] [blame] | 534 | { 0x80f00e, 0x00 }, |
| 535 | { 0x80f00f, 0x02 }, |
| 536 | { 0x80f010, 0x00 }, |
| 537 | { 0x80f011, 0x02 }, |
| 538 | { 0x80f012, 0x00 }, |
| 539 | { 0x80f013, 0x02 }, |
| 540 | { 0x80f014, 0x00 }, |
| 541 | { 0x80f015, 0x02 }, |
| 542 | { 0x80f01f, 0x96 }, |
| 543 | { 0x80f020, 0x00 }, |
| 544 | { 0x80f029, 0x96 }, |
| 545 | { 0x80f02a, 0x00 }, |
| 546 | { 0x80f077, 0x01 }, |
| 547 | { 0x80f1e6, 0x01 }, |
| 548 | }; |
| 549 | |
Antti Palosaari | 463c399 | 2013-03-07 00:03:06 -0300 | [diff] [blame] | 550 | static const struct reg_val ofsm_init_it9135_v1[] = { |
| 551 | { 0x800051, 0x01 }, |
| 552 | { 0x800070, 0x0a }, |
| 553 | { 0x80007e, 0x04 }, |
| 554 | { 0x800081, 0x0a }, |
| 555 | { 0x80008a, 0x01 }, |
| 556 | { 0x80008e, 0x01 }, |
| 557 | { 0x800092, 0x06 }, |
| 558 | { 0x800099, 0x01 }, |
| 559 | { 0x80009f, 0xe1 }, |
| 560 | { 0x8000a0, 0xcf }, |
| 561 | { 0x8000a3, 0x01 }, |
| 562 | { 0x8000a5, 0x01 }, |
| 563 | { 0x8000a6, 0x01 }, |
| 564 | { 0x8000a9, 0x00 }, |
| 565 | { 0x8000aa, 0x01 }, |
| 566 | { 0x8000b0, 0x01 }, |
| 567 | { 0x8000c2, 0x05 }, |
| 568 | { 0x8000c6, 0x19 }, |
| 569 | { 0x80f000, 0x0f }, |
| 570 | { 0x80f016, 0x10 }, |
| 571 | { 0x80f017, 0x04 }, |
| 572 | { 0x80f018, 0x05 }, |
| 573 | { 0x80f019, 0x04 }, |
| 574 | { 0x80f01a, 0x05 }, |
| 575 | { 0x80f021, 0x03 }, |
| 576 | { 0x80f022, 0x0a }, |
| 577 | { 0x80f023, 0x0a }, |
| 578 | { 0x80f02b, 0x00 }, |
| 579 | { 0x80f02c, 0x01 }, |
| 580 | { 0x80f064, 0x03 }, |
| 581 | { 0x80f065, 0xf9 }, |
| 582 | { 0x80f066, 0x03 }, |
| 583 | { 0x80f067, 0x01 }, |
| 584 | { 0x80f06f, 0xe0 }, |
| 585 | { 0x80f070, 0x03 }, |
| 586 | { 0x80f072, 0x0f }, |
| 587 | { 0x80f073, 0x03 }, |
| 588 | { 0x80f078, 0x00 }, |
| 589 | { 0x80f087, 0x00 }, |
| 590 | { 0x80f09b, 0x3f }, |
| 591 | { 0x80f09c, 0x00 }, |
| 592 | { 0x80f09d, 0x20 }, |
| 593 | { 0x80f09e, 0x00 }, |
| 594 | { 0x80f09f, 0x0c }, |
| 595 | { 0x80f0a0, 0x00 }, |
| 596 | { 0x80f130, 0x04 }, |
| 597 | { 0x80f132, 0x04 }, |
| 598 | { 0x80f144, 0x1a }, |
| 599 | { 0x80f146, 0x00 }, |
| 600 | { 0x80f14a, 0x01 }, |
| 601 | { 0x80f14c, 0x00 }, |
| 602 | { 0x80f14d, 0x00 }, |
| 603 | { 0x80f14f, 0x04 }, |
| 604 | { 0x80f158, 0x7f }, |
| 605 | { 0x80f15a, 0x00 }, |
| 606 | { 0x80f15b, 0x08 }, |
| 607 | { 0x80f15d, 0x03 }, |
| 608 | { 0x80f15e, 0x05 }, |
| 609 | { 0x80f163, 0x05 }, |
| 610 | { 0x80f166, 0x01 }, |
| 611 | { 0x80f167, 0x40 }, |
| 612 | { 0x80f168, 0x0f }, |
| 613 | { 0x80f17a, 0x00 }, |
| 614 | { 0x80f17b, 0x00 }, |
| 615 | { 0x80f183, 0x01 }, |
| 616 | { 0x80f19d, 0x40 }, |
| 617 | { 0x80f1bc, 0x36 }, |
| 618 | { 0x80f1bd, 0x00 }, |
| 619 | { 0x80f1cb, 0xa0 }, |
| 620 | { 0x80f1cc, 0x01 }, |
| 621 | { 0x80f204, 0x10 }, |
| 622 | { 0x80f214, 0x00 }, |
| 623 | { 0x80f40e, 0x0a }, |
| 624 | { 0x80f40f, 0x40 }, |
| 625 | { 0x80f410, 0x08 }, |
| 626 | { 0x80f55f, 0x0a }, |
| 627 | { 0x80f561, 0x15 }, |
| 628 | { 0x80f562, 0x20 }, |
| 629 | { 0x80f5df, 0xfb }, |
| 630 | { 0x80f5e0, 0x00 }, |
| 631 | { 0x80f5e3, 0x09 }, |
| 632 | { 0x80f5e4, 0x01 }, |
| 633 | { 0x80f5e5, 0x01 }, |
| 634 | { 0x80f5f8, 0x01 }, |
| 635 | { 0x80f5fd, 0x01 }, |
| 636 | { 0x80f600, 0x05 }, |
| 637 | { 0x80f601, 0x08 }, |
| 638 | { 0x80f602, 0x0b }, |
| 639 | { 0x80f603, 0x0e }, |
| 640 | { 0x80f604, 0x11 }, |
| 641 | { 0x80f605, 0x14 }, |
| 642 | { 0x80f606, 0x17 }, |
| 643 | { 0x80f607, 0x1f }, |
| 644 | { 0x80f60e, 0x00 }, |
| 645 | { 0x80f60f, 0x04 }, |
| 646 | { 0x80f610, 0x32 }, |
| 647 | { 0x80f611, 0x10 }, |
| 648 | { 0x80f707, 0xfc }, |
| 649 | { 0x80f708, 0x00 }, |
| 650 | { 0x80f709, 0x37 }, |
| 651 | { 0x80f70a, 0x00 }, |
| 652 | { 0x80f78b, 0x01 }, |
| 653 | { 0x80f80f, 0x40 }, |
| 654 | { 0x80f810, 0x54 }, |
| 655 | { 0x80f811, 0x5a }, |
| 656 | { 0x80f905, 0x01 }, |
| 657 | { 0x80fb06, 0x03 }, |
| 658 | { 0x80fd8b, 0x00 }, |
| 659 | }; |
| 660 | |
Antti Palosaari | a72cbb7 | 2013-03-07 21:17:55 -0300 | [diff] [blame] | 661 | /* ITE Tech IT9135 Omega tuner init |
| 662 | AF9033_TUNER_IT9135_38 = 0x38 */ |
| 663 | static const struct reg_val tuner_init_it9135_38[] = { |
| 664 | { 0x800043, 0x00 }, |
| 665 | { 0x800046, 0x38 }, |
| 666 | { 0x800051, 0x01 }, |
| 667 | { 0x80005f, 0x00 }, |
| 668 | { 0x800060, 0x00 }, |
| 669 | { 0x800068, 0x0a }, |
| 670 | { 0x800070, 0x0a }, |
| 671 | { 0x800071, 0x05 }, |
| 672 | { 0x800072, 0x02 }, |
| 673 | { 0x800075, 0x8c }, |
| 674 | { 0x800076, 0x8c }, |
| 675 | { 0x800077, 0x8c }, |
| 676 | { 0x800078, 0xc8 }, |
| 677 | { 0x800079, 0x01 }, |
| 678 | { 0x80007e, 0x04 }, |
| 679 | { 0x80007f, 0x00 }, |
| 680 | { 0x800081, 0x0a }, |
| 681 | { 0x800082, 0x12 }, |
| 682 | { 0x800083, 0x02 }, |
| 683 | { 0x800084, 0x0a }, |
| 684 | { 0x800085, 0x03 }, |
| 685 | { 0x800086, 0xc8 }, |
| 686 | { 0x800087, 0xb8 }, |
| 687 | { 0x800088, 0xd0 }, |
| 688 | { 0x800089, 0xc3 }, |
| 689 | { 0x80008a, 0x01 }, |
| 690 | { 0x80008e, 0x01 }, |
| 691 | { 0x800092, 0x06 }, |
| 692 | { 0x800093, 0x00 }, |
| 693 | { 0x800094, 0x00 }, |
| 694 | { 0x800095, 0x00 }, |
| 695 | { 0x800096, 0x00 }, |
| 696 | { 0x800099, 0x01 }, |
| 697 | { 0x80009b, 0x3c }, |
| 698 | { 0x80009c, 0x28 }, |
| 699 | { 0x80009f, 0xe1 }, |
| 700 | { 0x8000a0, 0xcf }, |
| 701 | { 0x8000a3, 0x01 }, |
| 702 | { 0x8000a4, 0x5a }, |
| 703 | { 0x8000a5, 0x01 }, |
| 704 | { 0x8000a6, 0x01 }, |
| 705 | { 0x8000a9, 0x00 }, |
| 706 | { 0x8000aa, 0x01 }, |
| 707 | { 0x8000b0, 0x01 }, |
| 708 | { 0x8000b3, 0x02 }, |
| 709 | { 0x8000b4, 0x32 }, |
| 710 | { 0x8000b6, 0x14 }, |
| 711 | { 0x8000c0, 0x11 }, |
| 712 | { 0x8000c1, 0x00 }, |
| 713 | { 0x8000c2, 0x05 }, |
| 714 | { 0x8000c4, 0x00 }, |
| 715 | { 0x8000c6, 0x19 }, |
| 716 | { 0x8000c7, 0x00 }, |
| 717 | { 0x8000cc, 0x2e }, |
| 718 | { 0x8000cd, 0x51 }, |
| 719 | { 0x8000ce, 0x33 }, |
| 720 | { 0x8000f3, 0x05 }, |
| 721 | { 0x8000f4, 0x8c }, |
| 722 | { 0x8000f5, 0x8c }, |
| 723 | { 0x8000f8, 0x03 }, |
| 724 | { 0x8000f9, 0x06 }, |
| 725 | { 0x8000fa, 0x06 }, |
| 726 | { 0x8000fc, 0x02 }, |
| 727 | { 0x8000fd, 0x02 }, |
| 728 | { 0x8000fe, 0x02 }, |
| 729 | { 0x8000ff, 0x09 }, |
| 730 | { 0x800100, 0x50 }, |
| 731 | { 0x800101, 0x7b }, |
| 732 | { 0x800102, 0x77 }, |
| 733 | { 0x800103, 0x00 }, |
| 734 | { 0x800104, 0x02 }, |
| 735 | { 0x800105, 0xc8 }, |
| 736 | { 0x800106, 0x05 }, |
| 737 | { 0x800107, 0x7b }, |
| 738 | { 0x800109, 0x02 }, |
| 739 | { 0x800115, 0x0a }, |
| 740 | { 0x800116, 0x03 }, |
| 741 | { 0x800117, 0x02 }, |
| 742 | { 0x800118, 0x80 }, |
| 743 | { 0x80011a, 0xc8 }, |
| 744 | { 0x80011b, 0x7b }, |
| 745 | { 0x80011c, 0x8a }, |
| 746 | { 0x80011d, 0xa0 }, |
| 747 | { 0x800122, 0x02 }, |
| 748 | { 0x800123, 0x18 }, |
| 749 | { 0x800124, 0xc3 }, |
| 750 | { 0x800127, 0x00 }, |
| 751 | { 0x800128, 0x07 }, |
| 752 | { 0x80012a, 0x53 }, |
| 753 | { 0x80012b, 0x51 }, |
| 754 | { 0x80012c, 0x4e }, |
| 755 | { 0x80012d, 0x43 }, |
| 756 | { 0x800137, 0x01 }, |
| 757 | { 0x800138, 0x00 }, |
| 758 | { 0x800139, 0x07 }, |
| 759 | { 0x80013a, 0x00 }, |
| 760 | { 0x80013b, 0x06 }, |
| 761 | { 0x80013d, 0x00 }, |
| 762 | { 0x80013e, 0x01 }, |
| 763 | { 0x80013f, 0x5b }, |
| 764 | { 0x800140, 0xc8 }, |
| 765 | { 0x800141, 0x59 }, |
| 766 | { 0x80f000, 0x0f }, |
| 767 | { 0x80f016, 0x10 }, |
| 768 | { 0x80f017, 0x04 }, |
| 769 | { 0x80f018, 0x05 }, |
| 770 | { 0x80f019, 0x04 }, |
| 771 | { 0x80f01a, 0x05 }, |
| 772 | { 0x80f01f, 0x8c }, |
| 773 | { 0x80f020, 0x00 }, |
| 774 | { 0x80f021, 0x03 }, |
| 775 | { 0x80f022, 0x0a }, |
| 776 | { 0x80f023, 0x0a }, |
| 777 | { 0x80f029, 0x8c }, |
| 778 | { 0x80f02a, 0x00 }, |
| 779 | { 0x80f02b, 0x00 }, |
| 780 | { 0x80f02c, 0x01 }, |
| 781 | { 0x80f064, 0x03 }, |
| 782 | { 0x80f065, 0xf9 }, |
| 783 | { 0x80f066, 0x03 }, |
| 784 | { 0x80f067, 0x01 }, |
| 785 | { 0x80f06f, 0xe0 }, |
| 786 | { 0x80f070, 0x03 }, |
| 787 | { 0x80f072, 0x0f }, |
| 788 | { 0x80f073, 0x03 }, |
| 789 | { 0x80f077, 0x01 }, |
| 790 | { 0x80f078, 0x00 }, |
| 791 | { 0x80f085, 0x00 }, |
| 792 | { 0x80f086, 0x02 }, |
| 793 | { 0x80f087, 0x00 }, |
| 794 | { 0x80f09b, 0x3f }, |
| 795 | { 0x80f09c, 0x00 }, |
| 796 | { 0x80f09d, 0x20 }, |
| 797 | { 0x80f09e, 0x00 }, |
| 798 | { 0x80f09f, 0x0c }, |
| 799 | { 0x80f0a0, 0x00 }, |
| 800 | { 0x80f130, 0x04 }, |
| 801 | { 0x80f132, 0x04 }, |
| 802 | { 0x80f144, 0x1a }, |
| 803 | { 0x80f146, 0x00 }, |
| 804 | { 0x80f14a, 0x01 }, |
| 805 | { 0x80f14c, 0x00 }, |
| 806 | { 0x80f14d, 0x00 }, |
| 807 | { 0x80f14f, 0x04 }, |
| 808 | { 0x80f158, 0x7f }, |
| 809 | { 0x80f15a, 0x00 }, |
| 810 | { 0x80f15b, 0x08 }, |
| 811 | { 0x80f15d, 0x03 }, |
| 812 | { 0x80f15e, 0x05 }, |
| 813 | { 0x80f163, 0x05 }, |
| 814 | { 0x80f166, 0x01 }, |
| 815 | { 0x80f167, 0x40 }, |
| 816 | { 0x80f168, 0x0f }, |
| 817 | { 0x80f17a, 0x00 }, |
| 818 | { 0x80f17b, 0x00 }, |
| 819 | { 0x80f183, 0x01 }, |
| 820 | { 0x80f19d, 0x40 }, |
| 821 | { 0x80f1bc, 0x36 }, |
| 822 | { 0x80f1bd, 0x00 }, |
| 823 | { 0x80f1cb, 0xa0 }, |
| 824 | { 0x80f1cc, 0x01 }, |
| 825 | { 0x80f204, 0x10 }, |
| 826 | { 0x80f214, 0x00 }, |
| 827 | { 0x80f24c, 0x88 }, |
| 828 | { 0x80f24d, 0x95 }, |
| 829 | { 0x80f24e, 0x9a }, |
| 830 | { 0x80f24f, 0x90 }, |
| 831 | { 0x80f25a, 0x07 }, |
| 832 | { 0x80f25b, 0xe8 }, |
| 833 | { 0x80f25c, 0x03 }, |
| 834 | { 0x80f25d, 0xb0 }, |
| 835 | { 0x80f25e, 0x04 }, |
| 836 | { 0x80f270, 0x01 }, |
| 837 | { 0x80f271, 0x02 }, |
| 838 | { 0x80f272, 0x01 }, |
| 839 | { 0x80f273, 0x02 }, |
| 840 | { 0x80f40e, 0x0a }, |
| 841 | { 0x80f40f, 0x40 }, |
| 842 | { 0x80f410, 0x08 }, |
| 843 | { 0x80f55f, 0x0a }, |
| 844 | { 0x80f561, 0x15 }, |
| 845 | { 0x80f562, 0x20 }, |
| 846 | { 0x80f5df, 0xfb }, |
| 847 | { 0x80f5e0, 0x00 }, |
| 848 | { 0x80f5e3, 0x09 }, |
| 849 | { 0x80f5e4, 0x01 }, |
| 850 | { 0x80f5e5, 0x01 }, |
| 851 | { 0x80f5f8, 0x01 }, |
| 852 | { 0x80f5fd, 0x01 }, |
| 853 | { 0x80f600, 0x05 }, |
| 854 | { 0x80f601, 0x08 }, |
| 855 | { 0x80f602, 0x0b }, |
| 856 | { 0x80f603, 0x0e }, |
| 857 | { 0x80f604, 0x11 }, |
| 858 | { 0x80f605, 0x14 }, |
| 859 | { 0x80f606, 0x17 }, |
| 860 | { 0x80f607, 0x1f }, |
| 861 | { 0x80f60e, 0x00 }, |
| 862 | { 0x80f60f, 0x04 }, |
| 863 | { 0x80f610, 0x32 }, |
| 864 | { 0x80f611, 0x10 }, |
| 865 | { 0x80f707, 0xfc }, |
| 866 | { 0x80f708, 0x00 }, |
| 867 | { 0x80f709, 0x37 }, |
| 868 | { 0x80f70a, 0x00 }, |
| 869 | { 0x80f78b, 0x01 }, |
| 870 | { 0x80f80f, 0x40 }, |
| 871 | { 0x80f810, 0x54 }, |
| 872 | { 0x80f811, 0x5a }, |
| 873 | { 0x80f905, 0x01 }, |
| 874 | { 0x80fb06, 0x03 }, |
| 875 | { 0x80fd8b, 0x00 }, |
| 876 | }; |
| 877 | |
Antti Palosaari | bb2e12a | 2013-03-07 21:25:16 -0300 | [diff] [blame] | 878 | /* ITE Tech IT9135 Omega LNA config 1 tuner init |
| 879 | AF9033_TUNER_IT9135_51 = 0x51 */ |
| 880 | static const struct reg_val tuner_init_it9135_51[] = { |
| 881 | { 0x800043, 0x00 }, |
| 882 | { 0x800046, 0x51 }, |
| 883 | { 0x800051, 0x01 }, |
| 884 | { 0x80005f, 0x00 }, |
| 885 | { 0x800060, 0x00 }, |
| 886 | { 0x800068, 0x0a }, |
| 887 | { 0x800070, 0x0a }, |
| 888 | { 0x800071, 0x06 }, |
| 889 | { 0x800072, 0x02 }, |
| 890 | { 0x800075, 0x8c }, |
| 891 | { 0x800076, 0x8c }, |
| 892 | { 0x800077, 0x8c }, |
| 893 | { 0x800078, 0xc8 }, |
| 894 | { 0x800079, 0x01 }, |
| 895 | { 0x80007e, 0x04 }, |
| 896 | { 0x80007f, 0x00 }, |
| 897 | { 0x800081, 0x0a }, |
| 898 | { 0x800082, 0x12 }, |
| 899 | { 0x800083, 0x02 }, |
| 900 | { 0x800084, 0x0a }, |
| 901 | { 0x800085, 0x03 }, |
| 902 | { 0x800086, 0xc0 }, |
| 903 | { 0x800087, 0x96 }, |
| 904 | { 0x800088, 0xcf }, |
| 905 | { 0x800089, 0xc3 }, |
| 906 | { 0x80008a, 0x01 }, |
| 907 | { 0x80008e, 0x01 }, |
| 908 | { 0x800092, 0x06 }, |
| 909 | { 0x800093, 0x00 }, |
| 910 | { 0x800094, 0x00 }, |
| 911 | { 0x800095, 0x00 }, |
| 912 | { 0x800096, 0x00 }, |
| 913 | { 0x800099, 0x01 }, |
| 914 | { 0x80009b, 0x3c }, |
| 915 | { 0x80009c, 0x28 }, |
| 916 | { 0x80009f, 0xe1 }, |
| 917 | { 0x8000a0, 0xcf }, |
| 918 | { 0x8000a3, 0x01 }, |
| 919 | { 0x8000a4, 0x5a }, |
| 920 | { 0x8000a5, 0x01 }, |
| 921 | { 0x8000a6, 0x01 }, |
| 922 | { 0x8000a9, 0x00 }, |
| 923 | { 0x8000aa, 0x01 }, |
| 924 | { 0x8000b0, 0x01 }, |
| 925 | { 0x8000b3, 0x02 }, |
| 926 | { 0x8000b4, 0x3c }, |
| 927 | { 0x8000b6, 0x14 }, |
| 928 | { 0x8000c0, 0x11 }, |
| 929 | { 0x8000c1, 0x00 }, |
| 930 | { 0x8000c2, 0x05 }, |
| 931 | { 0x8000c4, 0x00 }, |
| 932 | { 0x8000c6, 0x19 }, |
| 933 | { 0x8000c7, 0x00 }, |
| 934 | { 0x8000cc, 0x2e }, |
| 935 | { 0x8000cd, 0x51 }, |
| 936 | { 0x8000ce, 0x33 }, |
| 937 | { 0x8000f3, 0x05 }, |
| 938 | { 0x8000f4, 0x8c }, |
| 939 | { 0x8000f5, 0x8c }, |
| 940 | { 0x8000f8, 0x03 }, |
| 941 | { 0x8000f9, 0x06 }, |
| 942 | { 0x8000fa, 0x06 }, |
| 943 | { 0x8000fc, 0x03 }, |
| 944 | { 0x8000fd, 0x02 }, |
| 945 | { 0x8000fe, 0x02 }, |
| 946 | { 0x8000ff, 0x09 }, |
| 947 | { 0x800100, 0x50 }, |
| 948 | { 0x800101, 0x7a }, |
| 949 | { 0x800102, 0x77 }, |
| 950 | { 0x800103, 0x01 }, |
| 951 | { 0x800104, 0x02 }, |
| 952 | { 0x800105, 0xb0 }, |
| 953 | { 0x800106, 0x02 }, |
| 954 | { 0x800107, 0x7a }, |
| 955 | { 0x800109, 0x02 }, |
| 956 | { 0x800115, 0x0a }, |
| 957 | { 0x800116, 0x03 }, |
| 958 | { 0x800117, 0x02 }, |
| 959 | { 0x800118, 0x80 }, |
| 960 | { 0x80011a, 0xc0 }, |
| 961 | { 0x80011b, 0x7a }, |
| 962 | { 0x80011c, 0xac }, |
| 963 | { 0x80011d, 0x8c }, |
| 964 | { 0x800122, 0x02 }, |
| 965 | { 0x800123, 0x70 }, |
| 966 | { 0x800124, 0xa4 }, |
| 967 | { 0x800127, 0x00 }, |
| 968 | { 0x800128, 0x07 }, |
| 969 | { 0x80012a, 0x53 }, |
| 970 | { 0x80012b, 0x51 }, |
| 971 | { 0x80012c, 0x4e }, |
| 972 | { 0x80012d, 0x43 }, |
| 973 | { 0x800137, 0x01 }, |
| 974 | { 0x800138, 0x00 }, |
| 975 | { 0x800139, 0x07 }, |
| 976 | { 0x80013a, 0x00 }, |
| 977 | { 0x80013b, 0x06 }, |
| 978 | { 0x80013d, 0x00 }, |
| 979 | { 0x80013e, 0x01 }, |
| 980 | { 0x80013f, 0x5b }, |
| 981 | { 0x800140, 0xc0 }, |
| 982 | { 0x800141, 0x59 }, |
| 983 | { 0x80f000, 0x0f }, |
| 984 | { 0x80f016, 0x10 }, |
| 985 | { 0x80f017, 0x04 }, |
| 986 | { 0x80f018, 0x05 }, |
| 987 | { 0x80f019, 0x04 }, |
| 988 | { 0x80f01a, 0x05 }, |
| 989 | { 0x80f01f, 0x8c }, |
| 990 | { 0x80f020, 0x00 }, |
| 991 | { 0x80f021, 0x03 }, |
| 992 | { 0x80f022, 0x0a }, |
| 993 | { 0x80f023, 0x0a }, |
| 994 | { 0x80f029, 0x8c }, |
| 995 | { 0x80f02a, 0x00 }, |
| 996 | { 0x80f02b, 0x00 }, |
| 997 | { 0x80f02c, 0x01 }, |
| 998 | { 0x80f064, 0x03 }, |
| 999 | { 0x80f065, 0xf9 }, |
| 1000 | { 0x80f066, 0x03 }, |
| 1001 | { 0x80f067, 0x01 }, |
| 1002 | { 0x80f06f, 0xe0 }, |
| 1003 | { 0x80f070, 0x03 }, |
| 1004 | { 0x80f072, 0x0f }, |
| 1005 | { 0x80f073, 0x03 }, |
| 1006 | { 0x80f077, 0x01 }, |
| 1007 | { 0x80f078, 0x00 }, |
| 1008 | { 0x80f085, 0xc0 }, |
| 1009 | { 0x80f086, 0x01 }, |
| 1010 | { 0x80f087, 0x00 }, |
| 1011 | { 0x80f09b, 0x3f }, |
| 1012 | { 0x80f09c, 0x00 }, |
| 1013 | { 0x80f09d, 0x20 }, |
| 1014 | { 0x80f09e, 0x00 }, |
| 1015 | { 0x80f09f, 0x0c }, |
| 1016 | { 0x80f0a0, 0x00 }, |
| 1017 | { 0x80f130, 0x04 }, |
| 1018 | { 0x80f132, 0x04 }, |
| 1019 | { 0x80f144, 0x1a }, |
| 1020 | { 0x80f146, 0x00 }, |
| 1021 | { 0x80f14a, 0x01 }, |
| 1022 | { 0x80f14c, 0x00 }, |
| 1023 | { 0x80f14d, 0x00 }, |
| 1024 | { 0x80f14f, 0x04 }, |
| 1025 | { 0x80f158, 0x7f }, |
| 1026 | { 0x80f15a, 0x00 }, |
| 1027 | { 0x80f15b, 0x08 }, |
| 1028 | { 0x80f15d, 0x03 }, |
| 1029 | { 0x80f15e, 0x05 }, |
| 1030 | { 0x80f163, 0x05 }, |
| 1031 | { 0x80f166, 0x01 }, |
| 1032 | { 0x80f167, 0x40 }, |
| 1033 | { 0x80f168, 0x0f }, |
| 1034 | { 0x80f17a, 0x00 }, |
| 1035 | { 0x80f17b, 0x00 }, |
| 1036 | { 0x80f183, 0x01 }, |
| 1037 | { 0x80f19d, 0x40 }, |
| 1038 | { 0x80f1bc, 0x36 }, |
| 1039 | { 0x80f1bd, 0x00 }, |
| 1040 | { 0x80f1cb, 0xa0 }, |
| 1041 | { 0x80f1cc, 0x01 }, |
| 1042 | { 0x80f204, 0x10 }, |
| 1043 | { 0x80f214, 0x00 }, |
| 1044 | { 0x80f24c, 0x88 }, |
| 1045 | { 0x80f24d, 0x95 }, |
| 1046 | { 0x80f24e, 0x9a }, |
| 1047 | { 0x80f24f, 0x90 }, |
| 1048 | { 0x80f25a, 0x07 }, |
| 1049 | { 0x80f25b, 0xe8 }, |
| 1050 | { 0x80f25c, 0x03 }, |
| 1051 | { 0x80f25d, 0xb0 }, |
| 1052 | { 0x80f25e, 0x04 }, |
| 1053 | { 0x80f270, 0x01 }, |
| 1054 | { 0x80f271, 0x02 }, |
| 1055 | { 0x80f272, 0x01 }, |
| 1056 | { 0x80f273, 0x02 }, |
| 1057 | { 0x80f40e, 0x0a }, |
| 1058 | { 0x80f40f, 0x40 }, |
| 1059 | { 0x80f410, 0x08 }, |
| 1060 | { 0x80f55f, 0x0a }, |
| 1061 | { 0x80f561, 0x15 }, |
| 1062 | { 0x80f562, 0x20 }, |
| 1063 | { 0x80f5df, 0xfb }, |
| 1064 | { 0x80f5e0, 0x00 }, |
| 1065 | { 0x80f5e3, 0x09 }, |
| 1066 | { 0x80f5e4, 0x01 }, |
| 1067 | { 0x80f5e5, 0x01 }, |
| 1068 | { 0x80f5f8, 0x01 }, |
| 1069 | { 0x80f5fd, 0x01 }, |
| 1070 | { 0x80f600, 0x05 }, |
| 1071 | { 0x80f601, 0x08 }, |
| 1072 | { 0x80f602, 0x0b }, |
| 1073 | { 0x80f603, 0x0e }, |
| 1074 | { 0x80f604, 0x11 }, |
| 1075 | { 0x80f605, 0x14 }, |
| 1076 | { 0x80f606, 0x17 }, |
| 1077 | { 0x80f607, 0x1f }, |
| 1078 | { 0x80f60e, 0x00 }, |
| 1079 | { 0x80f60f, 0x04 }, |
| 1080 | { 0x80f610, 0x32 }, |
| 1081 | { 0x80f611, 0x10 }, |
| 1082 | { 0x80f707, 0xfc }, |
| 1083 | { 0x80f708, 0x00 }, |
| 1084 | { 0x80f709, 0x37 }, |
| 1085 | { 0x80f70a, 0x00 }, |
| 1086 | { 0x80f78b, 0x01 }, |
| 1087 | { 0x80f80f, 0x40 }, |
| 1088 | { 0x80f810, 0x54 }, |
| 1089 | { 0x80f811, 0x5a }, |
| 1090 | { 0x80f905, 0x01 }, |
| 1091 | { 0x80fb06, 0x03 }, |
| 1092 | { 0x80fd8b, 0x00 }, |
| 1093 | }; |
| 1094 | |
Antti Palosaari | 22d729f | 2013-03-07 21:29:05 -0300 | [diff] [blame] | 1095 | /* ITE Tech IT9135 Omega LNA config 2 tuner init |
| 1096 | AF9033_TUNER_IT9135_52 = 0x52 */ |
| 1097 | static 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 | |
Antti Palosaari | 463c399 | 2013-03-07 00:03:06 -0300 | [diff] [blame] | 1312 | static const struct reg_val ofsm_init_it9135_v2[] = { |
| 1313 | { 0x800051, 0x01 }, |
| 1314 | { 0x800070, 0x0a }, |
| 1315 | { 0x80007e, 0x04 }, |
| 1316 | { 0x800081, 0x0a }, |
| 1317 | { 0x80008a, 0x01 }, |
| 1318 | { 0x80008e, 0x01 }, |
| 1319 | { 0x800092, 0x06 }, |
| 1320 | { 0x800099, 0x01 }, |
| 1321 | { 0x80009f, 0xe1 }, |
| 1322 | { 0x8000a0, 0xcf }, |
| 1323 | { 0x8000a3, 0x01 }, |
| 1324 | { 0x8000a5, 0x01 }, |
| 1325 | { 0x8000a6, 0x01 }, |
| 1326 | { 0x8000a9, 0x00 }, |
| 1327 | { 0x8000aa, 0x01 }, |
| 1328 | { 0x8000b0, 0x01 }, |
| 1329 | { 0x8000c2, 0x05 }, |
| 1330 | { 0x8000c6, 0x19 }, |
| 1331 | { 0x80f000, 0x0f }, |
| 1332 | { 0x80f02b, 0x00 }, |
| 1333 | { 0x80f064, 0x03 }, |
| 1334 | { 0x80f065, 0xf9 }, |
| 1335 | { 0x80f066, 0x03 }, |
| 1336 | { 0x80f067, 0x01 }, |
| 1337 | { 0x80f06f, 0xe0 }, |
| 1338 | { 0x80f070, 0x03 }, |
| 1339 | { 0x80f072, 0x0f }, |
| 1340 | { 0x80f073, 0x03 }, |
| 1341 | { 0x80f078, 0x00 }, |
| 1342 | { 0x80f087, 0x00 }, |
| 1343 | { 0x80f09b, 0x3f }, |
| 1344 | { 0x80f09c, 0x00 }, |
| 1345 | { 0x80f09d, 0x20 }, |
| 1346 | { 0x80f09e, 0x00 }, |
| 1347 | { 0x80f09f, 0x0c }, |
| 1348 | { 0x80f0a0, 0x00 }, |
| 1349 | { 0x80f130, 0x04 }, |
| 1350 | { 0x80f132, 0x04 }, |
| 1351 | { 0x80f144, 0x1a }, |
| 1352 | { 0x80f146, 0x00 }, |
| 1353 | { 0x80f14a, 0x01 }, |
| 1354 | { 0x80f14c, 0x00 }, |
| 1355 | { 0x80f14d, 0x00 }, |
| 1356 | { 0x80f14f, 0x04 }, |
| 1357 | { 0x80f158, 0x7f }, |
| 1358 | { 0x80f15a, 0x00 }, |
| 1359 | { 0x80f15b, 0x08 }, |
| 1360 | { 0x80f15d, 0x03 }, |
| 1361 | { 0x80f15e, 0x05 }, |
| 1362 | { 0x80f163, 0x05 }, |
| 1363 | { 0x80f166, 0x01 }, |
| 1364 | { 0x80f167, 0x40 }, |
| 1365 | { 0x80f168, 0x0f }, |
| 1366 | { 0x80f17a, 0x00 }, |
| 1367 | { 0x80f17b, 0x00 }, |
| 1368 | { 0x80f183, 0x01 }, |
| 1369 | { 0x80f19d, 0x40 }, |
| 1370 | { 0x80f1bc, 0x36 }, |
| 1371 | { 0x80f1bd, 0x00 }, |
| 1372 | { 0x80f1cb, 0xa0 }, |
| 1373 | { 0x80f1cc, 0x01 }, |
| 1374 | { 0x80f204, 0x10 }, |
| 1375 | { 0x80f214, 0x00 }, |
| 1376 | { 0x80f40e, 0x0a }, |
| 1377 | { 0x80f40f, 0x40 }, |
| 1378 | { 0x80f410, 0x08 }, |
| 1379 | { 0x80f55f, 0x0a }, |
| 1380 | { 0x80f561, 0x15 }, |
| 1381 | { 0x80f562, 0x20 }, |
| 1382 | { 0x80f5e3, 0x09 }, |
| 1383 | { 0x80f5e4, 0x01 }, |
| 1384 | { 0x80f5e5, 0x01 }, |
| 1385 | { 0x80f600, 0x05 }, |
| 1386 | { 0x80f601, 0x08 }, |
| 1387 | { 0x80f602, 0x0b }, |
| 1388 | { 0x80f603, 0x0e }, |
| 1389 | { 0x80f604, 0x11 }, |
| 1390 | { 0x80f605, 0x14 }, |
| 1391 | { 0x80f606, 0x17 }, |
| 1392 | { 0x80f607, 0x1f }, |
| 1393 | { 0x80f60e, 0x00 }, |
| 1394 | { 0x80f60f, 0x04 }, |
| 1395 | { 0x80f610, 0x32 }, |
| 1396 | { 0x80f611, 0x10 }, |
| 1397 | { 0x80f707, 0xfc }, |
| 1398 | { 0x80f708, 0x00 }, |
| 1399 | { 0x80f709, 0x37 }, |
| 1400 | { 0x80f70a, 0x00 }, |
| 1401 | { 0x80f78b, 0x01 }, |
| 1402 | { 0x80f80f, 0x40 }, |
| 1403 | { 0x80f810, 0x54 }, |
| 1404 | { 0x80f811, 0x5a }, |
| 1405 | { 0x80f905, 0x01 }, |
| 1406 | { 0x80fb06, 0x03 }, |
| 1407 | { 0x80fd8b, 0x00 }, |
| 1408 | }; |
| 1409 | |
Antti Palosaari | a49f53a | 2013-03-07 21:38:00 -0300 | [diff] [blame^] | 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 | |
Antti Palosaari | 4b64bb2 | 2012-03-30 08:21:25 -0300 | [diff] [blame] | 1625 | #endif /* AF9033_PRIV_H */ |
| 1626 | |