Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[linux/fpc-iii.git] / drivers / media / dvb-frontends / it913x-fe-priv.h
blobeb6fd8aebdb34d0c221ae1c4b7e95f5aef4a6b49
2 struct it913xset { u32 pro;
3 u32 address;
4 u8 reg[15];
5 u8 count;
6 };
8 struct adctable { u32 adcFrequency;
9 u32 bandwidth;
10 u32 coeff_1_2048;
11 u32 coeff_1_4096;
12 u32 coeff_1_8191;
13 u32 coeff_1_8192;
14 u32 coeff_1_8193;
15 u32 coeff_2_2k;
16 u32 coeff_2_4k;
17 u32 coeff_2_8k;
18 u16 bfsfcw_fftinx_ratio;
19 u16 fftinx_bfsfcw_ratio;
22 /* clock and coeff tables only table 3 is used with IT9137*/
23 /* TODO other tables relate AF9035 may be removed */
24 static struct adctable tab1[] = {
25 { 20156250, 6000000,
26 0x02b8ba6e, 0x015c5d37, 0x00ae340d, 0x00ae2e9b, 0x00ae292a,
27 0x015c5d37, 0x00ae2e9b, 0x0057174e, 0x02f1, 0x015c },
28 { 20156250, 7000000,
29 0x032cd980, 0x01966cc0, 0x00cb3cba, 0x00cb3660, 0x00cb3007,
30 0x01966cc0, 0x00cb3660, 0x00659b30, 0x0285, 0x0196 },
31 { 20156250, 8000000,
32 0x03a0f893, 0x01d07c49, 0x00e84567, 0x00e83e25, 0x00e836e3,
33 0x01d07c49, 0x00e83e25, 0x00741f12, 0x0234, 0x01d0 },
34 { 20156250, 5000000,
35 0x02449b5c, 0x01224dae, 0x00912b60, 0x009126d7, 0x0091224e,
36 0x01224dae, 0x009126d7, 0x0048936b, 0x0387, 0x0122 }
39 static struct adctable tab2[] = {
40 { 20187500, 6000000,
41 0x02b7a654, 0x015bd32a, 0x00adef04, 0x00ade995, 0x00ade426,
42 0x015bd32a, 0x00ade995, 0x0056f4ca, 0x02f2, 0x015c },
43 { 20187500, 7000000,
44 0x032b9761, 0x0195cbb1, 0x00caec30, 0x00cae5d8, 0x00cadf81,
45 0x0195cbb1, 0x00cae5d8, 0x006572ec, 0x0286, 0x0196 },
46 { 20187500, 8000000,
47 0x039f886f, 0x01cfc438, 0x00e7e95b, 0x00e7e21c, 0x00e7dadd,
48 0x01cfc438, 0x00e7e21c, 0x0073f10e, 0x0235, 0x01d0 },
49 { 20187500, 5000000,
50 0x0243b546, 0x0121daa3, 0x0090f1d9, 0x0090ed51, 0x0090e8ca,
51 0x0121daa3, 0x0090ed51, 0x004876a9, 0x0388, 0x0122 }
55 static struct adctable tab3[] = {
56 { 20250000, 6000000,
57 0x02b580ad, 0x015ac057, 0x00ad6597, 0x00ad602b, 0x00ad5ac1,
58 0x015ac057, 0x00ad602b, 0x0056b016, 0x02f4, 0x015b },
59 { 20250000, 7000000,
60 0x03291620, 0x01948b10, 0x00ca4bda, 0x00ca4588, 0x00ca3f36,
61 0x01948b10, 0x00ca4588, 0x006522c4, 0x0288, 0x0195 },
62 { 20250000, 8000000,
63 0x039cab92, 0x01ce55c9, 0x00e7321e, 0x00e72ae4, 0x00e723ab,
64 0x01ce55c9, 0x00e72ae4, 0x00739572, 0x0237, 0x01ce },
65 { 20250000, 5000000,
66 0x0241eb3b, 0x0120f59e, 0x00907f53, 0x00907acf, 0x0090764b,
67 0x0120f59e, 0x00907acf, 0x00483d67, 0x038b, 0x0121 }
71 static struct adctable tab4[] = {
72 { 20583333, 6000000,
73 0x02aa4598, 0x015522cc, 0x00aa96bb, 0x00aa9166, 0x00aa8c12,
74 0x015522cc, 0x00aa9166, 0x005548b3, 0x0300, 0x0155 },
75 { 20583333, 7000000,
76 0x031bfbdc, 0x018dfdee, 0x00c7052f, 0x00c6fef7, 0x00c6f8bf,
77 0x018dfdee, 0x00c6fef7, 0x00637f7b, 0x0293, 0x018e },
78 { 20583333, 8000000,
79 0x038db21f, 0x01c6d910, 0x00e373a3, 0x00e36c88, 0x00e3656d,
80 0x01c6d910, 0x00e36c88, 0x0071b644, 0x0240, 0x01c7 },
81 { 20583333, 5000000,
82 0x02388f54, 0x011c47aa, 0x008e2846, 0x008e23d5, 0x008e1f64,
83 0x011c47aa, 0x008e23d5, 0x004711ea, 0x039a, 0x011c }
87 static struct adctable tab5[] = {
88 { 20416667, 6000000,
89 0x02afd765, 0x0157ebb3, 0x00abfb39, 0x00abf5d9, 0x00abf07a,
90 0x0157ebb3, 0x00abf5d9, 0x0055faed, 0x02fa, 0x0158 },
91 { 20416667, 7000000,
92 0x03227b4b, 0x01913da6, 0x00c8a518, 0x00c89ed3, 0x00c8988e,
93 0x01913da6, 0x00c89ed3, 0x00644f69, 0x028d, 0x0191 },
94 { 20416667, 8000000,
95 0x03951f32, 0x01ca8f99, 0x00e54ef7, 0x00e547cc, 0x00e540a2,
96 0x01ca8f99, 0x00e547cc, 0x0072a3e6, 0x023c, 0x01cb },
97 { 20416667, 5000000,
98 0x023d337f, 0x011e99c0, 0x008f515a, 0x008f4ce0, 0x008f4865,
99 0x011e99c0, 0x008f4ce0, 0x0047a670, 0x0393, 0x011f }
103 static struct adctable tab6[] = {
104 { 20480000, 6000000,
105 0x02adb6db, 0x0156db6e, 0x00ab7312, 0x00ab6db7, 0x00ab685c,
106 0x0156db6e, 0x00ab6db7, 0x0055b6db, 0x02fd, 0x0157 },
107 { 20480000, 7000000,
108 0x03200000, 0x01900000, 0x00c80640, 0x00c80000, 0x00c7f9c0,
109 0x01900000, 0x00c80000, 0x00640000, 0x028f, 0x0190 },
110 { 20480000, 8000000,
111 0x03924925, 0x01c92492, 0x00e4996e, 0x00e49249, 0x00e48b25,
112 0x01c92492, 0x00e49249, 0x00724925, 0x023d, 0x01c9 },
113 { 20480000, 5000000,
114 0x023b6db7, 0x011db6db, 0x008edfe5, 0x008edb6e, 0x008ed6f7,
115 0x011db6db, 0x008edb6e, 0x00476db7, 0x0396, 0x011e }
118 static struct adctable tab7[] = {
119 { 20500000, 6000000,
120 0x02ad0b99, 0x015685cc, 0x00ab4840, 0x00ab42e6, 0x00ab3d8c,
121 0x015685cc, 0x00ab42e6, 0x0055a173, 0x02fd, 0x0157 },
122 { 20500000, 7000000,
123 0x031f3832, 0x018f9c19, 0x00c7d44b, 0x00c7ce0c, 0x00c7c7ce,
124 0x018f9c19, 0x00c7ce0c, 0x0063e706, 0x0290, 0x0190 },
125 { 20500000, 8000000,
126 0x039164cb, 0x01c8b266, 0x00e46056, 0x00e45933, 0x00e45210,
127 0x01c8b266, 0x00e45933, 0x00722c99, 0x023e, 0x01c9 },
128 { 20500000, 5000000,
129 0x023adeff, 0x011d6f80, 0x008ebc36, 0x008eb7c0, 0x008eb34a,
130 0x011d6f80, 0x008eb7c0, 0x00475be0, 0x0396, 0x011d }
134 static struct adctable tab8[] = {
135 { 20625000, 6000000,
136 0x02a8e4bd, 0x0154725e, 0x00aa3e81, 0x00aa392f, 0x00aa33de,
137 0x0154725e, 0x00aa392f, 0x00551c98, 0x0302, 0x0154 },
138 { 20625000, 7000000,
139 0x031a6032, 0x018d3019, 0x00c69e41, 0x00c6980c, 0x00c691d8,
140 0x018d3019, 0x00c6980c, 0x00634c06, 0x0294, 0x018d },
141 { 20625000, 8000000,
142 0x038bdba6, 0x01c5edd3, 0x00e2fe02, 0x00e2f6ea, 0x00e2efd2,
143 0x01c5edd3, 0x00e2f6ea, 0x00717b75, 0x0242, 0x01c6 },
144 { 20625000, 5000000,
145 0x02376948, 0x011bb4a4, 0x008ddec1, 0x008dda52, 0x008dd5e3,
146 0x011bb4a4, 0x008dda52, 0x0046ed29, 0x039c, 0x011c }
150 struct table {
151 u32 xtal;
152 struct adctable *table;
155 static struct table fe_clockTable[] = {
156 {12000000, tab3}, /* 12.00MHz */
157 {20480000, tab6}, /* 20.48MHz */
158 {36000000, tab3}, /* 36.00MHz */
159 {30000000, tab1}, /* 30.00MHz */
160 {26000000, tab4}, /* 26.00MHz */
161 {28000000, tab5}, /* 28.00MHz */
162 {32000000, tab7}, /* 32.00MHz */
163 {34000000, tab2}, /* 34.00MHz */
164 {24000000, tab1}, /* 24.00MHz */
165 {22000000, tab8}, /* 22.00MHz */
168 /* fe get */
169 fe_code_rate_t fe_code[] = {
170 FEC_1_2,
171 FEC_2_3,
172 FEC_3_4,
173 FEC_5_6,
174 FEC_7_8,
175 FEC_NONE,
178 fe_guard_interval_t fe_gi[] = {
179 GUARD_INTERVAL_1_32,
180 GUARD_INTERVAL_1_16,
181 GUARD_INTERVAL_1_8,
182 GUARD_INTERVAL_1_4,
185 fe_hierarchy_t fe_hi[] = {
186 HIERARCHY_NONE,
187 HIERARCHY_1,
188 HIERARCHY_2,
189 HIERARCHY_4,
192 fe_transmit_mode_t fe_mode[] = {
193 TRANSMISSION_MODE_2K,
194 TRANSMISSION_MODE_8K,
195 TRANSMISSION_MODE_4K,
198 fe_modulation_t fe_con[] = {
199 QPSK,
200 QAM_16,
201 QAM_64,
204 enum {
205 PRIORITY_HIGH = 0, /* High-priority stream */
206 PRIORITY_LOW, /* Low-priority stream */
209 /* Standard demodulator functions */
210 static struct it913xset set_solo_fe[] = {
211 {PRO_LINK, GPIOH5_EN, {0x01}, 0x01},
212 {PRO_LINK, GPIOH5_ON, {0x01}, 0x01},
213 {PRO_LINK, GPIOH5_O, {0x00}, 0x01},
214 {PRO_LINK, GPIOH5_O, {0x01}, 0x01},
215 {PRO_LINK, DVBT_INTEN, {0x04}, 0x01},
216 {PRO_LINK, DVBT_ENABLE, {0x05}, 0x01},
217 {PRO_DMOD, MP2IF_MPEG_PAR_MODE, {0x00}, 0x01},
218 {PRO_LINK, HOSTB_MPEG_SER_MODE, {0x00}, 0x01},
219 {PRO_LINK, HOSTB_MPEG_PAR_MODE, {0x00}, 0x01},
220 {PRO_DMOD, DCA_UPPER_CHIP, {0x00}, 0x01},
221 {PRO_LINK, HOSTB_DCA_UPPER, {0x00}, 0x01},
222 {PRO_DMOD, DCA_LOWER_CHIP, {0x00}, 0x01},
223 {PRO_LINK, HOSTB_DCA_LOWER, {0x00}, 0x01},
224 {PRO_DMOD, DCA_PLATCH, {0x00}, 0x01},
225 {PRO_DMOD, DCA_FPGA_LATCH, {0x00}, 0x01},
226 {PRO_DMOD, DCA_STAND_ALONE, {0x01}, 0x01},
227 {PRO_DMOD, DCA_ENABLE, {0x00}, 0x01},
228 {PRO_DMOD, MP2IF_MPEG_PAR_MODE, {0x00}, 0x01},
229 {PRO_DMOD, BFS_FCW, {0x00, 0x00, 0x00}, 0x03},
230 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
234 static struct it913xset init_1[] = {
235 {PRO_LINK, LOCK3_OUT, {0x01}, 0x01},
236 {PRO_LINK, PADMISCDRSR, {0x01}, 0x01},
237 {PRO_LINK, PADMISCDR2, {0x00}, 0x01},
238 {PRO_DMOD, 0xec57, {0x00, 0x00}, 0x02},
239 {PRO_LINK, PADMISCDR4, {0x00}, 0x01}, /* Power up */
240 {PRO_LINK, PADMISCDR8, {0x00}, 0x01},
241 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
245 /* Version 1 types */
246 static struct it913xset it9135_v1[] = {
247 {PRO_DMOD, 0x0051, {0x01}, 0x01},
248 {PRO_DMOD, 0x0070, {0x0a}, 0x01},
249 {PRO_DMOD, 0x007e, {0x04}, 0x01},
250 {PRO_DMOD, 0x0081, {0x0a}, 0x01},
251 {PRO_DMOD, 0x008a, {0x01}, 0x01},
252 {PRO_DMOD, 0x008e, {0x01}, 0x01},
253 {PRO_DMOD, 0x0092, {0x06}, 0x01},
254 {PRO_DMOD, 0x0099, {0x01}, 0x01},
255 {PRO_DMOD, 0x009f, {0xe1}, 0x01},
256 {PRO_DMOD, 0x00a0, {0xcf}, 0x01},
257 {PRO_DMOD, 0x00a3, {0x01}, 0x01},
258 {PRO_DMOD, 0x00a5, {0x01}, 0x01},
259 {PRO_DMOD, 0x00a6, {0x01}, 0x01},
260 {PRO_DMOD, 0x00a9, {0x00}, 0x01},
261 {PRO_DMOD, 0x00aa, {0x01}, 0x01},
262 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
263 {PRO_DMOD, 0x00c2, {0x05}, 0x01},
264 {PRO_DMOD, 0x00c6, {0x19}, 0x01},
265 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
266 {PRO_DMOD, 0xf016, {0x10}, 0x01},
267 {PRO_DMOD, 0xf017, {0x04}, 0x01},
268 {PRO_DMOD, 0xf018, {0x05}, 0x01},
269 {PRO_DMOD, 0xf019, {0x04}, 0x01},
270 {PRO_DMOD, 0xf01a, {0x05}, 0x01},
271 {PRO_DMOD, 0xf021, {0x03}, 0x01},
272 {PRO_DMOD, 0xf022, {0x0a}, 0x01},
273 {PRO_DMOD, 0xf023, {0x0a}, 0x01},
274 {PRO_DMOD, 0xf02b, {0x00}, 0x01},
275 {PRO_DMOD, 0xf02c, {0x01}, 0x01},
276 {PRO_DMOD, 0xf064, {0x03}, 0x01},
277 {PRO_DMOD, 0xf065, {0xf9}, 0x01},
278 {PRO_DMOD, 0xf066, {0x03}, 0x01},
279 {PRO_DMOD, 0xf067, {0x01}, 0x01},
280 {PRO_DMOD, 0xf06f, {0xe0}, 0x01},
281 {PRO_DMOD, 0xf070, {0x03}, 0x01},
282 {PRO_DMOD, 0xf072, {0x0f}, 0x01},
283 {PRO_DMOD, 0xf073, {0x03}, 0x01},
284 {PRO_DMOD, 0xf078, {0x00}, 0x01},
285 {PRO_DMOD, 0xf087, {0x00}, 0x01},
286 {PRO_DMOD, 0xf09b, {0x3f}, 0x01},
287 {PRO_DMOD, 0xf09c, {0x00}, 0x01},
288 {PRO_DMOD, 0xf09d, {0x20}, 0x01},
289 {PRO_DMOD, 0xf09e, {0x00}, 0x01},
290 {PRO_DMOD, 0xf09f, {0x0c}, 0x01},
291 {PRO_DMOD, 0xf0a0, {0x00}, 0x01},
292 {PRO_DMOD, 0xf130, {0x04}, 0x01},
293 {PRO_DMOD, 0xf132, {0x04}, 0x01},
294 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
295 {PRO_DMOD, 0xf146, {0x00}, 0x01},
296 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
297 {PRO_DMOD, 0xf14c, {0x00}, 0x01},
298 {PRO_DMOD, 0xf14d, {0x00}, 0x01},
299 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
300 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
301 {PRO_DMOD, 0xf15a, {0x00}, 0x01},
302 {PRO_DMOD, 0xf15b, {0x08}, 0x01},
303 {PRO_DMOD, 0xf15d, {0x03}, 0x01},
304 {PRO_DMOD, 0xf15e, {0x05}, 0x01},
305 {PRO_DMOD, 0xf163, {0x05}, 0x01},
306 {PRO_DMOD, 0xf166, {0x01}, 0x01},
307 {PRO_DMOD, 0xf167, {0x40}, 0x01},
308 {PRO_DMOD, 0xf168, {0x0f}, 0x01},
309 {PRO_DMOD, 0xf17a, {0x00}, 0x01},
310 {PRO_DMOD, 0xf17b, {0x00}, 0x01},
311 {PRO_DMOD, 0xf183, {0x01}, 0x01},
312 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
313 {PRO_DMOD, 0xf1bc, {0x36}, 0x01},
314 {PRO_DMOD, 0xf1bd, {0x00}, 0x01},
315 {PRO_DMOD, 0xf1cb, {0xa0}, 0x01},
316 {PRO_DMOD, 0xf1cc, {0x01}, 0x01},
317 {PRO_DMOD, 0xf204, {0x10}, 0x01},
318 {PRO_DMOD, 0xf214, {0x00}, 0x01},
319 {PRO_DMOD, 0xf40e, {0x0a}, 0x01},
320 {PRO_DMOD, 0xf40f, {0x40}, 0x01},
321 {PRO_DMOD, 0xf410, {0x08}, 0x01},
322 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
323 {PRO_DMOD, 0xf561, {0x15}, 0x01},
324 {PRO_DMOD, 0xf562, {0x20}, 0x01},
325 {PRO_DMOD, 0xf5df, {0xfb}, 0x01},
326 {PRO_DMOD, 0xf5e0, {0x00}, 0x01},
327 {PRO_DMOD, 0xf5e3, {0x09}, 0x01},
328 {PRO_DMOD, 0xf5e4, {0x01}, 0x01},
329 {PRO_DMOD, 0xf5e5, {0x01}, 0x01},
330 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
331 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
332 {PRO_DMOD, 0xf600, {0x05}, 0x01},
333 {PRO_DMOD, 0xf601, {0x08}, 0x01},
334 {PRO_DMOD, 0xf602, {0x0b}, 0x01},
335 {PRO_DMOD, 0xf603, {0x0e}, 0x01},
336 {PRO_DMOD, 0xf604, {0x11}, 0x01},
337 {PRO_DMOD, 0xf605, {0x14}, 0x01},
338 {PRO_DMOD, 0xf606, {0x17}, 0x01},
339 {PRO_DMOD, 0xf607, {0x1f}, 0x01},
340 {PRO_DMOD, 0xf60e, {0x00}, 0x01},
341 {PRO_DMOD, 0xf60f, {0x04}, 0x01},
342 {PRO_DMOD, 0xf610, {0x32}, 0x01},
343 {PRO_DMOD, 0xf611, {0x10}, 0x01},
344 {PRO_DMOD, 0xf707, {0xfc}, 0x01},
345 {PRO_DMOD, 0xf708, {0x00}, 0x01},
346 {PRO_DMOD, 0xf709, {0x37}, 0x01},
347 {PRO_DMOD, 0xf70a, {0x00}, 0x01},
348 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
349 {PRO_DMOD, 0xf80f, {0x40}, 0x01},
350 {PRO_DMOD, 0xf810, {0x54}, 0x01},
351 {PRO_DMOD, 0xf811, {0x5a}, 0x01},
352 {PRO_DMOD, 0xf905, {0x01}, 0x01},
353 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
354 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
355 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
358 static struct it913xset it9135_38[] = {
359 {PRO_DMOD, 0x0043, {0x00}, 0x01},
360 {PRO_DMOD, 0x0046, {0x38}, 0x01},
361 {PRO_DMOD, 0x0051, {0x01}, 0x01},
362 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
363 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
364 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
365 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xc8, 0x01}, 0x05},
366 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
367 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x02, 0x0a, 0x03, 0xc8, 0xb8,
368 0xd0, 0xc3, 0x01}, 0x0a},
369 {PRO_DMOD, 0x008e, {0x01}, 0x01},
370 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
371 {PRO_DMOD, 0x0099, {0x01}, 0x01},
372 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
373 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
374 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
375 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
376 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
377 {PRO_DMOD, 0x00b3, {0x02, 0x32}, 0x02},
378 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
379 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05}, 0x03},
380 {PRO_DMOD, 0x00c4, {0x00}, 0x01},
381 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
382 {PRO_DMOD, 0x00cc, {0x2e, 0x51, 0x33}, 0x03},
383 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
384 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
385 {PRO_DMOD, 0x00fc, { 0x02, 0x02, 0x02, 0x09, 0x50, 0x7b, 0x77,
386 0x00, 0x02, 0xc8, 0x05, 0x7b}, 0x0c},
387 {PRO_DMOD, 0x0109, {0x02}, 0x01},
388 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
389 {PRO_DMOD, 0x011a, {0xc8, 0x7b, 0x8a, 0xa0}, 0x04},
390 {PRO_DMOD, 0x0122, {0x02, 0x18, 0xc3}, 0x03},
391 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
392 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
393 {PRO_DMOD, 0x0137, {0x01, 0x00, 0x07, 0x00, 0x06}, 0x05},
394 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xc8, 0x59}, 0x05},
395 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
396 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
397 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
398 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
399 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
400 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
401 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
402 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
403 {PRO_DMOD, 0xf085, {0x00, 0x02, 0x00}, 0x03},
404 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
405 {PRO_DMOD, 0xf130, {0x04}, 0x01},
406 {PRO_DMOD, 0xf132, {0x04}, 0x01},
407 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
408 {PRO_DMOD, 0xf146, {0x00}, 0x01},
409 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
410 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
411 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
412 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
413 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
414 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
415 {PRO_DMOD, 0xf163, {0x05}, 0x01},
416 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
417 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
418 {PRO_DMOD, 0xf183, {0x01}, 0x01},
419 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
420 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
421 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
422 {PRO_DMOD, 0xf204, {0x10}, 0x01},
423 {PRO_DMOD, 0xf214, {0x00}, 0x01},
424 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
425 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
426 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
427 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
428 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
429 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
430 {PRO_DMOD, 0xf5df, {0xfb, 0x00}, 0x02},
431 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
432 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
433 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
434 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
435 0x1f}, 0x08},
436 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
437 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
438 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
439 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
440 {PRO_DMOD, 0xf905, {0x01}, 0x01},
441 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
442 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
443 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
446 static struct it913xset it9135_51[] = {
447 {PRO_DMOD, 0x0043, {0x00}, 0x01},
448 {PRO_DMOD, 0x0046, {0x51}, 0x01},
449 {PRO_DMOD, 0x0051, {0x01}, 0x01},
450 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
451 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
452 {PRO_DMOD, 0x0070, {0x0a, 0x06, 0x02}, 0x03},
453 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xc8, 0x01}, 0x05},
454 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
455 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x02, 0x0a, 0x03, 0xc0, 0x96,
456 0xcf, 0xc3, 0x01}, 0x0a},
457 {PRO_DMOD, 0x008e, {0x01}, 0x01},
458 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
459 {PRO_DMOD, 0x0099, {0x01}, 0x01},
460 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
461 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
462 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
463 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
464 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
465 {PRO_DMOD, 0x00b3, {0x02, 0x3c}, 0x02},
466 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
467 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05}, 0x03},
468 {PRO_DMOD, 0x00c4, {0x00}, 0x01},
469 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
470 {PRO_DMOD, 0x00cc, {0x2e, 0x51, 0x33}, 0x03},
471 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
472 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
473 {PRO_DMOD, 0x00fc, { 0x03, 0x02, 0x02, 0x09, 0x50, 0x7a, 0x77,
474 0x01, 0x02, 0xb0, 0x02, 0x7a}, 0x0c},
475 {PRO_DMOD, 0x0109, {0x02}, 0x01},
476 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
477 {PRO_DMOD, 0x011a, {0xc0, 0x7a, 0xac, 0x8c}, 0x04},
478 {PRO_DMOD, 0x0122, {0x02, 0x70, 0xa4}, 0x03},
479 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
480 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
481 {PRO_DMOD, 0x0137, {0x01, 0x00, 0x07, 0x00, 0x06}, 0x05},
482 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xc0, 0x59}, 0x05},
483 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
484 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
485 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
486 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
487 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
488 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
489 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
490 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
491 {PRO_DMOD, 0xf085, {0xc0, 0x01, 0x00}, 0x03},
492 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
493 {PRO_DMOD, 0xf130, {0x04}, 0x01},
494 {PRO_DMOD, 0xf132, {0x04}, 0x01},
495 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
496 {PRO_DMOD, 0xf146, {0x00}, 0x01},
497 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
498 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
499 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
500 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
501 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
502 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
503 {PRO_DMOD, 0xf163, {0x05}, 0x01},
504 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
505 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
506 {PRO_DMOD, 0xf183, {0x01}, 0x01},
507 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
508 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
509 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
510 {PRO_DMOD, 0xf204, {0x10}, 0x01},
511 {PRO_DMOD, 0xf214, {0x00}, 0x01},
512 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
513 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
514 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
515 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
516 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
517 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
518 {PRO_DMOD, 0xf5df, {0xfb, 0x00}, 0x02},
519 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
520 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
521 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
522 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
523 0x1f}, 0x08},
524 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
525 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
526 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
527 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
528 {PRO_DMOD, 0xf905, {0x01}, 0x01},
529 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
530 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
531 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
534 static struct it913xset it9135_52[] = {
535 {PRO_DMOD, 0x0043, {0x00}, 0x01},
536 {PRO_DMOD, 0x0046, {0x52}, 0x01},
537 {PRO_DMOD, 0x0051, {0x01}, 0x01},
538 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
539 {PRO_DMOD, 0x0068, {0x10}, 0x01},
540 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
541 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xa0, 0x01}, 0x05},
542 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
543 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x03, 0x0a, 0x03, 0xb3, 0x97,
544 0xc0, 0x9e, 0x01}, 0x0a},
545 {PRO_DMOD, 0x008e, {0x01}, 0x01},
546 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
547 {PRO_DMOD, 0x0099, {0x01}, 0x01},
548 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
549 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
550 {PRO_DMOD, 0x00a3, {0x01, 0x5c, 0x01, 0x01}, 0x04},
551 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
552 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
553 {PRO_DMOD, 0x00b3, {0x02, 0x3c}, 0x02},
554 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
555 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05}, 0x03},
556 {PRO_DMOD, 0x00c4, {0x00}, 0x01},
557 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
558 {PRO_DMOD, 0x00cc, {0x2e, 0x51, 0x33}, 0x03},
559 {PRO_DMOD, 0x00f3, {0x05, 0x91, 0x8c}, 0x03},
560 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
561 {PRO_DMOD, 0x00fc, { 0x03, 0x02, 0x02, 0x09, 0x50, 0x74, 0x77,
562 0x02, 0x02, 0xae, 0x02, 0x6e}, 0x0c},
563 {PRO_DMOD, 0x0109, {0x02}, 0x01},
564 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
565 {PRO_DMOD, 0x011a, {0xcd, 0x62, 0xa4, 0x8c}, 0x04},
566 {PRO_DMOD, 0x0122, {0x03, 0x18, 0x9e}, 0x03},
567 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
568 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
569 {PRO_DMOD, 0x0137, {0x00, 0x00, 0x07, 0x00, 0x06}, 0x05},
570 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xb6, 0x59}, 0x05},
571 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
572 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
573 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
574 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
575 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
576 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
577 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
578 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
579 {PRO_DMOD, 0xf085, {0xc0, 0x01, 0x00}, 0x03},
580 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
581 {PRO_DMOD, 0xf130, {0x04}, 0x01},
582 {PRO_DMOD, 0xf132, {0x04}, 0x01},
583 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
584 {PRO_DMOD, 0xf146, {0x00}, 0x01},
585 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
586 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
587 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
588 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
589 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
590 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
591 {PRO_DMOD, 0xf163, {0x05}, 0x01},
592 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
593 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
594 {PRO_DMOD, 0xf183, {0x01}, 0x01},
595 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
596 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
597 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
598 {PRO_DMOD, 0xf204, {0x10}, 0x01},
599 {PRO_DMOD, 0xf214, {0x00}, 0x01},
600 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
601 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
602 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
603 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
604 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
605 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
606 {PRO_DMOD, 0xf5df, {0xfb, 0x00}, 0x02},
607 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
608 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
609 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
610 {PRO_DMOD, 0xf600, {0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
611 0x1f}, 0x08},
612 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
613 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
614 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
615 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
616 {PRO_DMOD, 0xf905, {0x01}, 0x01},
617 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
618 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
619 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
622 /* Version 2 types */
623 static struct it913xset it9135_v2[] = {
624 {PRO_DMOD, 0x0051, {0x01}, 0x01},
625 {PRO_DMOD, 0x0070, {0x0a}, 0x01},
626 {PRO_DMOD, 0x007e, {0x04}, 0x01},
627 {PRO_DMOD, 0x0081, {0x0a}, 0x01},
628 {PRO_DMOD, 0x008a, {0x01}, 0x01},
629 {PRO_DMOD, 0x008e, {0x01}, 0x01},
630 {PRO_DMOD, 0x0092, {0x06}, 0x01},
631 {PRO_DMOD, 0x0099, {0x01}, 0x01},
632 {PRO_DMOD, 0x009f, {0xe1}, 0x01},
633 {PRO_DMOD, 0x00a0, {0xcf}, 0x01},
634 {PRO_DMOD, 0x00a3, {0x01}, 0x01},
635 {PRO_DMOD, 0x00a5, {0x01}, 0x01},
636 {PRO_DMOD, 0x00a6, {0x01}, 0x01},
637 {PRO_DMOD, 0x00a9, {0x00}, 0x01},
638 {PRO_DMOD, 0x00aa, {0x01}, 0x01},
639 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
640 {PRO_DMOD, 0x00c2, {0x05}, 0x01},
641 {PRO_DMOD, 0x00c6, {0x19}, 0x01},
642 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
643 {PRO_DMOD, 0xf02b, {0x00}, 0x01},
644 {PRO_DMOD, 0xf064, {0x03}, 0x01},
645 {PRO_DMOD, 0xf065, {0xf9}, 0x01},
646 {PRO_DMOD, 0xf066, {0x03}, 0x01},
647 {PRO_DMOD, 0xf067, {0x01}, 0x01},
648 {PRO_DMOD, 0xf06f, {0xe0}, 0x01},
649 {PRO_DMOD, 0xf070, {0x03}, 0x01},
650 {PRO_DMOD, 0xf072, {0x0f}, 0x01},
651 {PRO_DMOD, 0xf073, {0x03}, 0x01},
652 {PRO_DMOD, 0xf078, {0x00}, 0x01},
653 {PRO_DMOD, 0xf087, {0x00}, 0x01},
654 {PRO_DMOD, 0xf09b, {0x3f}, 0x01},
655 {PRO_DMOD, 0xf09c, {0x00}, 0x01},
656 {PRO_DMOD, 0xf09d, {0x20}, 0x01},
657 {PRO_DMOD, 0xf09e, {0x00}, 0x01},
658 {PRO_DMOD, 0xf09f, {0x0c}, 0x01},
659 {PRO_DMOD, 0xf0a0, {0x00}, 0x01},
660 {PRO_DMOD, 0xf130, {0x04}, 0x01},
661 {PRO_DMOD, 0xf132, {0x04}, 0x01},
662 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
663 {PRO_DMOD, 0xf146, {0x00}, 0x01},
664 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
665 {PRO_DMOD, 0xf14c, {0x00}, 0x01},
666 {PRO_DMOD, 0xf14d, {0x00}, 0x01},
667 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
668 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
669 {PRO_DMOD, 0xf15a, {0x00}, 0x01},
670 {PRO_DMOD, 0xf15b, {0x08}, 0x01},
671 {PRO_DMOD, 0xf15d, {0x03}, 0x01},
672 {PRO_DMOD, 0xf15e, {0x05}, 0x01},
673 {PRO_DMOD, 0xf163, {0x05}, 0x01},
674 {PRO_DMOD, 0xf166, {0x01}, 0x01},
675 {PRO_DMOD, 0xf167, {0x40}, 0x01},
676 {PRO_DMOD, 0xf168, {0x0f}, 0x01},
677 {PRO_DMOD, 0xf17a, {0x00}, 0x01},
678 {PRO_DMOD, 0xf17b, {0x00}, 0x01},
679 {PRO_DMOD, 0xf183, {0x01}, 0x01},
680 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
681 {PRO_DMOD, 0xf1bc, {0x36}, 0x01},
682 {PRO_DMOD, 0xf1bd, {0x00}, 0x01},
683 {PRO_DMOD, 0xf1cb, {0xa0}, 0x01},
684 {PRO_DMOD, 0xf1cc, {0x01}, 0x01},
685 {PRO_DMOD, 0xf204, {0x10}, 0x01},
686 {PRO_DMOD, 0xf214, {0x00}, 0x01},
687 {PRO_DMOD, 0xf40e, {0x0a}, 0x01},
688 {PRO_DMOD, 0xf40f, {0x40}, 0x01},
689 {PRO_DMOD, 0xf410, {0x08}, 0x01},
690 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
691 {PRO_DMOD, 0xf561, {0x15}, 0x01},
692 {PRO_DMOD, 0xf562, {0x20}, 0x01},
693 {PRO_DMOD, 0xf5e3, {0x09}, 0x01},
694 {PRO_DMOD, 0xf5e4, {0x01}, 0x01},
695 {PRO_DMOD, 0xf5e5, {0x01}, 0x01},
696 {PRO_DMOD, 0xf600, {0x05}, 0x01},
697 {PRO_DMOD, 0xf601, {0x08}, 0x01},
698 {PRO_DMOD, 0xf602, {0x0b}, 0x01},
699 {PRO_DMOD, 0xf603, {0x0e}, 0x01},
700 {PRO_DMOD, 0xf604, {0x11}, 0x01},
701 {PRO_DMOD, 0xf605, {0x14}, 0x01},
702 {PRO_DMOD, 0xf606, {0x17}, 0x01},
703 {PRO_DMOD, 0xf607, {0x1f}, 0x01},
704 {PRO_DMOD, 0xf60e, {0x00}, 0x01},
705 {PRO_DMOD, 0xf60f, {0x04}, 0x01},
706 {PRO_DMOD, 0xf610, {0x32}, 0x01},
707 {PRO_DMOD, 0xf611, {0x10}, 0x01},
708 {PRO_DMOD, 0xf707, {0xfc}, 0x01},
709 {PRO_DMOD, 0xf708, {0x00}, 0x01},
710 {PRO_DMOD, 0xf709, {0x37}, 0x01},
711 {PRO_DMOD, 0xf70a, {0x00}, 0x01},
712 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
713 {PRO_DMOD, 0xf80f, {0x40}, 0x01},
714 {PRO_DMOD, 0xf810, {0x54}, 0x01},
715 {PRO_DMOD, 0xf811, {0x5a}, 0x01},
716 {PRO_DMOD, 0xf905, {0x01}, 0x01},
717 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
718 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
719 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
722 static struct it913xset it9135_60[] = {
723 {PRO_DMOD, 0x0043, {0x00}, 0x01},
724 {PRO_DMOD, 0x0046, {0x60}, 0x01},
725 {PRO_DMOD, 0x0051, {0x01}, 0x01},
726 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
727 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
728 {PRO_DMOD, 0x006a, {0x03}, 0x01},
729 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
730 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x8c, 0x01}, 0x05},
731 {PRO_DMOD, 0x007e, {0x04}, 0x01},
732 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
733 {PRO_DMOD, 0x0084, {0x0a, 0x33, 0xbe, 0xa0, 0xc6, 0xb6, 0x01}, 0x07},
734 {PRO_DMOD, 0x008e, {0x01}, 0x01},
735 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
736 {PRO_DMOD, 0x0099, {0x01}, 0x01},
737 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
738 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
739 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
740 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
741 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
742 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
743 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
744 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
745 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
746 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
747 {PRO_DMOD, 0x00f3, {0x05, 0xa0, 0x8c}, 0x03},
748 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
749 {PRO_DMOD, 0x00fc, { 0x03, 0x03, 0x02, 0x0a, 0x50, 0x7b, 0x8c,
750 0x00, 0x02, 0xbe, 0x00}, 0x0b},
751 {PRO_DMOD, 0x0109, {0x02}, 0x01},
752 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
753 {PRO_DMOD, 0x011a, {0xbe}, 0x01},
754 {PRO_DMOD, 0x0124, {0xae}, 0x01},
755 {PRO_DMOD, 0x0127, {0x00}, 0x01},
756 {PRO_DMOD, 0x012a, {0x56, 0x50, 0x47, 0x42}, 0x04},
757 {PRO_DMOD, 0x0137, {0x00}, 0x01},
758 {PRO_DMOD, 0x013b, {0x08}, 0x01},
759 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
760 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x19, 0x19, 0x8c, 0x8c, 0x8c,
761 0x6e, 0x8c, 0x50, 0x8c, 0x8c, 0xac, 0xc6,
762 0x33}, 0x0f},
763 {PRO_DMOD, 0x0151, {0x28}, 0x01},
764 {PRO_DMOD, 0x0153, {0xbc}, 0x01},
765 {PRO_DMOD, 0x0178, {0x09}, 0x01},
766 {PRO_DMOD, 0x0181, {0x94, 0x6e}, 0x02},
767 {PRO_DMOD, 0x0185, {0x24}, 0x01},
768 {PRO_DMOD, 0x0187, {0x00, 0x00, 0xbe, 0x02, 0x80}, 0x05},
769 {PRO_DMOD, 0xed02, {0xff}, 0x01},
770 {PRO_DMOD, 0xee42, {0xff}, 0x01},
771 {PRO_DMOD, 0xee82, {0xff}, 0x01},
772 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
773 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
774 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
775 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
776 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
777 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
778 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
779 {PRO_DMOD, 0xf087, {0x00}, 0x01},
780 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
781 {PRO_DMOD, 0xf130, {0x04}, 0x01},
782 {PRO_DMOD, 0xf132, {0x04}, 0x01},
783 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
784 {PRO_DMOD, 0xf146, {0x00}, 0x01},
785 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
786 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
787 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
788 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
789 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
790 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
791 {PRO_DMOD, 0xf163, {0x05}, 0x01},
792 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
793 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
794 {PRO_DMOD, 0xf183, {0x01}, 0x01},
795 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
796 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
797 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
798 {PRO_DMOD, 0xf204, {0x10}, 0x01},
799 {PRO_DMOD, 0xf214, {0x00}, 0x01},
800 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
801 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
802 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
803 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
804 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
805 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
806 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
807 {PRO_DMOD, 0xf600, {0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17
808 , 0x1f}, 0x08},
809 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
810 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
811 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
812 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
813 {PRO_DMOD, 0xf905, {0x01}, 0x01},
814 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
815 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
816 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
819 static struct it913xset it9135_61[] = {
820 {PRO_DMOD, 0x0043, {0x00}, 0x01},
821 {PRO_DMOD, 0x0046, {0x61}, 0x01},
822 {PRO_DMOD, 0x0051, {0x01}, 0x01},
823 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
824 {PRO_DMOD, 0x0068, {0x06}, 0x01},
825 {PRO_DMOD, 0x006a, {0x03}, 0x01},
826 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
827 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x90, 0x01}, 0x05},
828 {PRO_DMOD, 0x007e, {0x04}, 0x01},
829 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
830 {PRO_DMOD, 0x0084, {0x0a, 0x33, 0xbc, 0x9c, 0xcc, 0xa8, 0x01}, 0x07},
831 {PRO_DMOD, 0x008e, {0x01}, 0x01},
832 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
833 {PRO_DMOD, 0x0099, {0x01}, 0x01},
834 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
835 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
836 {PRO_DMOD, 0x00a3, {0x01, 0x5c, 0x01, 0x01}, 0x04},
837 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
838 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
839 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
840 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
841 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
842 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
843 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
844 {PRO_DMOD, 0x00f3, {0x05, 0xa0, 0x8c}, 0x03},
845 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
846 {PRO_DMOD, 0x00fc, { 0x03, 0x03, 0x02, 0x08, 0x50, 0x7b, 0x8c,
847 0x01, 0x02, 0xc8, 0x00}, 0x0b},
848 {PRO_DMOD, 0x0109, {0x02}, 0x01},
849 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
850 {PRO_DMOD, 0x011a, {0xc6}, 0x01},
851 {PRO_DMOD, 0x0124, {0xa8}, 0x01},
852 {PRO_DMOD, 0x0127, {0x00}, 0x01},
853 {PRO_DMOD, 0x012a, {0x59, 0x50, 0x47, 0x42}, 0x04},
854 {PRO_DMOD, 0x0137, {0x00}, 0x01},
855 {PRO_DMOD, 0x013b, {0x05}, 0x01},
856 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
857 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x59, 0x59, 0x8c, 0x8c, 0x8c,
858 0x7b, 0x8c, 0x50, 0x8c, 0x8c, 0xa8, 0xc6,
859 0x33}, 0x0f},
860 {PRO_DMOD, 0x0151, {0x28}, 0x01},
861 {PRO_DMOD, 0x0153, {0xcc}, 0x01},
862 {PRO_DMOD, 0x0178, {0x09}, 0x01},
863 {PRO_DMOD, 0x0181, {0x9c, 0x76}, 0x02},
864 {PRO_DMOD, 0x0185, {0x28}, 0x01},
865 {PRO_DMOD, 0x0187, {0x01, 0x00, 0xaa, 0x02, 0x80}, 0x05},
866 {PRO_DMOD, 0xed02, {0xff}, 0x01},
867 {PRO_DMOD, 0xee42, {0xff}, 0x01},
868 {PRO_DMOD, 0xee82, {0xff}, 0x01},
869 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
870 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
871 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
872 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
873 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
874 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
875 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
876 {PRO_DMOD, 0xf087, {0x00}, 0x01},
877 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
878 {PRO_DMOD, 0xf130, {0x04}, 0x01},
879 {PRO_DMOD, 0xf132, {0x04}, 0x01},
880 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
881 {PRO_DMOD, 0xf146, {0x00}, 0x01},
882 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
883 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
884 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
885 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
886 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
887 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
888 {PRO_DMOD, 0xf163, {0x05}, 0x01},
889 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
890 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
891 {PRO_DMOD, 0xf183, {0x01}, 0x01},
892 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
893 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
894 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
895 {PRO_DMOD, 0xf204, {0x10}, 0x01},
896 {PRO_DMOD, 0xf214, {0x00}, 0x01},
897 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
898 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
899 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
900 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
901 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
902 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
903 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
904 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
905 0x1f}, 0x08},
906 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
907 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
908 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
909 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
910 {PRO_DMOD, 0xf905, {0x01}, 0x01},
911 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
912 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
913 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
916 static struct it913xset it9135_62[] = {
917 {PRO_DMOD, 0x0043, {0x00}, 0x01},
918 {PRO_DMOD, 0x0046, {0x62}, 0x01},
919 {PRO_DMOD, 0x0051, {0x01}, 0x01},
920 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
921 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
922 {PRO_DMOD, 0x006a, {0x03}, 0x01},
923 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
924 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x8c, 0x01}, 0x05},
925 {PRO_DMOD, 0x007e, {0x04}, 0x01},
926 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
927 {PRO_DMOD, 0x0084, { 0x0a, 0x33, 0xb8, 0x9c, 0xb2, 0xa6, 0x01},
928 0x07},
929 {PRO_DMOD, 0x008e, {0x01}, 0x01},
930 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
931 {PRO_DMOD, 0x0099, {0x01}, 0x01},
932 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
933 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
934 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
935 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
936 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
937 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
938 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
939 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
940 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
941 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
942 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
943 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
944 {PRO_DMOD, 0x00fc, { 0x02, 0x03, 0x02, 0x09, 0x50, 0x6e, 0x8c,
945 0x02, 0x02, 0xc2, 0x00}, 0x0b},
946 {PRO_DMOD, 0x0109, {0x02}, 0x01},
947 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
948 {PRO_DMOD, 0x011a, {0xb8}, 0x01},
949 {PRO_DMOD, 0x0124, {0xa8}, 0x01},
950 {PRO_DMOD, 0x0127, {0x00}, 0x01},
951 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
952 {PRO_DMOD, 0x0137, {0x00}, 0x01},
953 {PRO_DMOD, 0x013b, {0x05}, 0x01},
954 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
955 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x59, 0x19, 0x8c, 0x8c, 0x8c,
956 0x7b, 0x8c, 0x50, 0x70, 0x8c, 0x96, 0xd0,
957 0x33}, 0x0f},
958 {PRO_DMOD, 0x0151, {0x28}, 0x01},
959 {PRO_DMOD, 0x0153, {0xb2}, 0x01},
960 {PRO_DMOD, 0x0178, {0x09}, 0x01},
961 {PRO_DMOD, 0x0181, {0x9c, 0x6e}, 0x02},
962 {PRO_DMOD, 0x0185, {0x24}, 0x01},
963 {PRO_DMOD, 0x0187, {0x00, 0x00, 0xb8, 0x02, 0x80}, 0x05},
964 {PRO_DMOD, 0xed02, {0xff}, 0x01},
965 {PRO_DMOD, 0xee42, {0xff}, 0x01},
966 {PRO_DMOD, 0xee82, {0xff}, 0x01},
967 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
968 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
969 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
970 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
971 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
972 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
973 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
974 {PRO_DMOD, 0xf087, {0x00}, 0x01},
975 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
976 {PRO_DMOD, 0xf130, {0x04}, 0x01},
977 {PRO_DMOD, 0xf132, {0x04}, 0x01},
978 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
979 {PRO_DMOD, 0xf146, {0x00}, 0x01},
980 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
981 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
982 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
983 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
984 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
985 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
986 {PRO_DMOD, 0xf163, {0x05}, 0x01},
987 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
988 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
989 {PRO_DMOD, 0xf183, {0x01}, 0x01},
990 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
991 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
992 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
993 {PRO_DMOD, 0xf204, {0x10}, 0x01},
994 {PRO_DMOD, 0xf214, {0x00}, 0x01},
995 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
996 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
997 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
998 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
999 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
1000 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
1001 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
1002 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
1003 0x1f}, 0x08},
1004 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
1005 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
1006 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
1007 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
1008 {PRO_DMOD, 0xf905, {0x01}, 0x01},
1009 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
1010 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
1011 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
1014 /* Tuner setting scripts (still keeping it9137) */
1015 static struct it913xset it9137_tuner_off[] = {
1016 {PRO_DMOD, 0xfba8, {0x01}, 0x01}, /* Tuner Clock Off */
1017 {PRO_DMOD, 0xec40, {0x00}, 0x01}, /* Power Down Tuner */
1018 {PRO_DMOD, 0xec02, {0x3f, 0x1f, 0x3f, 0x3f}, 0x04},
1019 {PRO_DMOD, 0xec06, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1020 0x00, 0x00, 0x00, 0x00}, 0x0c},
1021 {PRO_DMOD, 0xec12, {0x00, 0x00, 0x00, 0x00}, 0x04},
1022 {PRO_DMOD, 0xec17, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1023 0x00}, 0x09},
1024 {PRO_DMOD, 0xec22, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1025 0x00, 0x00}, 0x0a},
1026 {PRO_DMOD, 0xec20, {0x00}, 0x01},
1027 {PRO_DMOD, 0xec3f, {0x01}, 0x01},
1028 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
1031 static struct it913xset set_it9135_template[] = {
1032 {PRO_DMOD, 0xee06, {0x00}, 0x01},
1033 {PRO_DMOD, 0xec56, {0x00}, 0x01},
1034 {PRO_DMOD, 0xec4c, {0x00}, 0x01},
1035 {PRO_DMOD, 0xec4d, {0x00}, 0x01},
1036 {PRO_DMOD, 0xec4e, {0x00}, 0x01},
1037 {PRO_DMOD, 0x011e, {0x00}, 0x01}, /* Older Devices */
1038 {PRO_DMOD, 0x011f, {0x00}, 0x01},
1039 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
1042 static struct it913xset set_it9137_template[] = {
1043 {PRO_DMOD, 0xee06, {0x00}, 0x01},
1044 {PRO_DMOD, 0xec56, {0x00}, 0x01},
1045 {PRO_DMOD, 0xec4c, {0x00}, 0x01},
1046 {PRO_DMOD, 0xec4d, {0x00}, 0x01},
1047 {PRO_DMOD, 0xec4e, {0x00}, 0x01},
1048 {PRO_DMOD, 0xec4f, {0x00}, 0x01},
1049 {PRO_DMOD, 0xec50, {0x00}, 0x01},
1050 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */