Merge tag 'v3.3.7' into 3.3/master
[zen-stable.git] / drivers / media / dvb / frontends / it913x-fe-priv.h
blob93b086ea7e1cda446d9197d5af938194a590aa2b
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 /* Standard demodulator functions */
205 static struct it913xset set_solo_fe[] = {
206 {PRO_LINK, GPIOH5_EN, {0x01}, 0x01},
207 {PRO_LINK, GPIOH5_ON, {0x01}, 0x01},
208 {PRO_LINK, GPIOH5_O, {0x00}, 0x01},
209 {PRO_LINK, GPIOH5_O, {0x01}, 0x01},
210 {PRO_LINK, DVBT_INTEN, {0x04}, 0x01},
211 {PRO_LINK, DVBT_ENABLE, {0x05}, 0x01},
212 {PRO_DMOD, MP2IF_MPEG_PAR_MODE, {0x00}, 0x01},
213 {PRO_LINK, HOSTB_MPEG_SER_MODE, {0x00}, 0x01},
214 {PRO_LINK, HOSTB_MPEG_PAR_MODE, {0x00}, 0x01},
215 {PRO_DMOD, DCA_UPPER_CHIP, {0x00}, 0x01},
216 {PRO_LINK, HOSTB_DCA_UPPER, {0x00}, 0x01},
217 {PRO_DMOD, DCA_LOWER_CHIP, {0x00}, 0x01},
218 {PRO_LINK, HOSTB_DCA_LOWER, {0x00}, 0x01},
219 {PRO_DMOD, DCA_PLATCH, {0x00}, 0x01},
220 {PRO_DMOD, DCA_FPGA_LATCH, {0x00}, 0x01},
221 {PRO_DMOD, DCA_STAND_ALONE, {0x01}, 0x01},
222 {PRO_DMOD, DCA_ENABLE, {0x00}, 0x01},
223 {PRO_DMOD, MP2IF_MPEG_PAR_MODE, {0x00}, 0x01},
224 {PRO_DMOD, BFS_FCW, {0x00, 0x00, 0x00}, 0x03},
225 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
229 static struct it913xset init_1[] = {
230 {PRO_LINK, LOCK3_OUT, {0x01}, 0x01},
231 {PRO_LINK, PADMISCDRSR, {0x01}, 0x01},
232 {PRO_LINK, PADMISCDR2, {0x00}, 0x01},
233 {PRO_DMOD, 0xec57, {0x00, 0x00}, 0x02},
234 {PRO_LINK, PADMISCDR4, {0x00}, 0x01}, /* Power up */
235 {PRO_LINK, PADMISCDR8, {0x00}, 0x01},
236 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
240 /* Version 1 types */
241 static struct it913xset it9135_v1[] = {
242 {PRO_DMOD, 0x0051, {0x01}, 0x01},
243 {PRO_DMOD, 0x0070, {0x0a}, 0x01},
244 {PRO_DMOD, 0x007e, {0x04}, 0x01},
245 {PRO_DMOD, 0x0081, {0x0a}, 0x01},
246 {PRO_DMOD, 0x008a, {0x01}, 0x01},
247 {PRO_DMOD, 0x008e, {0x01}, 0x01},
248 {PRO_DMOD, 0x0092, {0x06}, 0x01},
249 {PRO_DMOD, 0x0099, {0x01}, 0x01},
250 {PRO_DMOD, 0x009f, {0xe1}, 0x01},
251 {PRO_DMOD, 0x00a0, {0xcf}, 0x01},
252 {PRO_DMOD, 0x00a3, {0x01}, 0x01},
253 {PRO_DMOD, 0x00a5, {0x01}, 0x01},
254 {PRO_DMOD, 0x00a6, {0x01}, 0x01},
255 {PRO_DMOD, 0x00a9, {0x00}, 0x01},
256 {PRO_DMOD, 0x00aa, {0x01}, 0x01},
257 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
258 {PRO_DMOD, 0x00c2, {0x05}, 0x01},
259 {PRO_DMOD, 0x00c6, {0x19}, 0x01},
260 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
261 {PRO_DMOD, 0xf016, {0x10}, 0x01},
262 {PRO_DMOD, 0xf017, {0x04}, 0x01},
263 {PRO_DMOD, 0xf018, {0x05}, 0x01},
264 {PRO_DMOD, 0xf019, {0x04}, 0x01},
265 {PRO_DMOD, 0xf01a, {0x05}, 0x01},
266 {PRO_DMOD, 0xf021, {0x03}, 0x01},
267 {PRO_DMOD, 0xf022, {0x0a}, 0x01},
268 {PRO_DMOD, 0xf023, {0x0a}, 0x01},
269 {PRO_DMOD, 0xf02b, {0x00}, 0x01},
270 {PRO_DMOD, 0xf02c, {0x01}, 0x01},
271 {PRO_DMOD, 0xf064, {0x03}, 0x01},
272 {PRO_DMOD, 0xf065, {0xf9}, 0x01},
273 {PRO_DMOD, 0xf066, {0x03}, 0x01},
274 {PRO_DMOD, 0xf067, {0x01}, 0x01},
275 {PRO_DMOD, 0xf06f, {0xe0}, 0x01},
276 {PRO_DMOD, 0xf070, {0x03}, 0x01},
277 {PRO_DMOD, 0xf072, {0x0f}, 0x01},
278 {PRO_DMOD, 0xf073, {0x03}, 0x01},
279 {PRO_DMOD, 0xf078, {0x00}, 0x01},
280 {PRO_DMOD, 0xf087, {0x00}, 0x01},
281 {PRO_DMOD, 0xf09b, {0x3f}, 0x01},
282 {PRO_DMOD, 0xf09c, {0x00}, 0x01},
283 {PRO_DMOD, 0xf09d, {0x20}, 0x01},
284 {PRO_DMOD, 0xf09e, {0x00}, 0x01},
285 {PRO_DMOD, 0xf09f, {0x0c}, 0x01},
286 {PRO_DMOD, 0xf0a0, {0x00}, 0x01},
287 {PRO_DMOD, 0xf130, {0x04}, 0x01},
288 {PRO_DMOD, 0xf132, {0x04}, 0x01},
289 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
290 {PRO_DMOD, 0xf146, {0x00}, 0x01},
291 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
292 {PRO_DMOD, 0xf14c, {0x00}, 0x01},
293 {PRO_DMOD, 0xf14d, {0x00}, 0x01},
294 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
295 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
296 {PRO_DMOD, 0xf15a, {0x00}, 0x01},
297 {PRO_DMOD, 0xf15b, {0x08}, 0x01},
298 {PRO_DMOD, 0xf15d, {0x03}, 0x01},
299 {PRO_DMOD, 0xf15e, {0x05}, 0x01},
300 {PRO_DMOD, 0xf163, {0x05}, 0x01},
301 {PRO_DMOD, 0xf166, {0x01}, 0x01},
302 {PRO_DMOD, 0xf167, {0x40}, 0x01},
303 {PRO_DMOD, 0xf168, {0x0f}, 0x01},
304 {PRO_DMOD, 0xf17a, {0x00}, 0x01},
305 {PRO_DMOD, 0xf17b, {0x00}, 0x01},
306 {PRO_DMOD, 0xf183, {0x01}, 0x01},
307 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
308 {PRO_DMOD, 0xf1bc, {0x36}, 0x01},
309 {PRO_DMOD, 0xf1bd, {0x00}, 0x01},
310 {PRO_DMOD, 0xf1cb, {0xa0}, 0x01},
311 {PRO_DMOD, 0xf1cc, {0x01}, 0x01},
312 {PRO_DMOD, 0xf204, {0x10}, 0x01},
313 {PRO_DMOD, 0xf214, {0x00}, 0x01},
314 {PRO_DMOD, 0xf40e, {0x0a}, 0x01},
315 {PRO_DMOD, 0xf40f, {0x40}, 0x01},
316 {PRO_DMOD, 0xf410, {0x08}, 0x01},
317 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
318 {PRO_DMOD, 0xf561, {0x15}, 0x01},
319 {PRO_DMOD, 0xf562, {0x20}, 0x01},
320 {PRO_DMOD, 0xf5df, {0xfb}, 0x01},
321 {PRO_DMOD, 0xf5e0, {0x00}, 0x01},
322 {PRO_DMOD, 0xf5e3, {0x09}, 0x01},
323 {PRO_DMOD, 0xf5e4, {0x01}, 0x01},
324 {PRO_DMOD, 0xf5e5, {0x01}, 0x01},
325 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
326 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
327 {PRO_DMOD, 0xf600, {0x05}, 0x01},
328 {PRO_DMOD, 0xf601, {0x08}, 0x01},
329 {PRO_DMOD, 0xf602, {0x0b}, 0x01},
330 {PRO_DMOD, 0xf603, {0x0e}, 0x01},
331 {PRO_DMOD, 0xf604, {0x11}, 0x01},
332 {PRO_DMOD, 0xf605, {0x14}, 0x01},
333 {PRO_DMOD, 0xf606, {0x17}, 0x01},
334 {PRO_DMOD, 0xf607, {0x1f}, 0x01},
335 {PRO_DMOD, 0xf60e, {0x00}, 0x01},
336 {PRO_DMOD, 0xf60f, {0x04}, 0x01},
337 {PRO_DMOD, 0xf610, {0x32}, 0x01},
338 {PRO_DMOD, 0xf611, {0x10}, 0x01},
339 {PRO_DMOD, 0xf707, {0xfc}, 0x01},
340 {PRO_DMOD, 0xf708, {0x00}, 0x01},
341 {PRO_DMOD, 0xf709, {0x37}, 0x01},
342 {PRO_DMOD, 0xf70a, {0x00}, 0x01},
343 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
344 {PRO_DMOD, 0xf80f, {0x40}, 0x01},
345 {PRO_DMOD, 0xf810, {0x54}, 0x01},
346 {PRO_DMOD, 0xf811, {0x5a}, 0x01},
347 {PRO_DMOD, 0xf905, {0x01}, 0x01},
348 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
349 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
350 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
353 static struct it913xset it9135_38[] = {
354 {PRO_DMOD, 0x0043, {0x00}, 0x01},
355 {PRO_DMOD, 0x0046, {0x38}, 0x01},
356 {PRO_DMOD, 0x0051, {0x01}, 0x01},
357 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
358 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
359 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
360 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xc8, 0x01}, 0x05},
361 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
362 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x02, 0x0a, 0x03, 0xc8, 0xb8,
363 0xd0, 0xc3, 0x01}, 0x0a},
364 {PRO_DMOD, 0x008e, {0x01}, 0x01},
365 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
366 {PRO_DMOD, 0x0099, {0x01}, 0x01},
367 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
368 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
369 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
370 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
371 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
372 {PRO_DMOD, 0x00b3, {0x02, 0x32}, 0x02},
373 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
374 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05}, 0x03},
375 {PRO_DMOD, 0x00c4, {0x00}, 0x01},
376 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
377 {PRO_DMOD, 0x00cc, {0x2e, 0x51, 0x33}, 0x03},
378 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
379 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
380 {PRO_DMOD, 0x00fc, { 0x02, 0x02, 0x02, 0x09, 0x50, 0x7b, 0x77,
381 0x00, 0x02, 0xc8, 0x05, 0x7b}, 0x0c},
382 {PRO_DMOD, 0x0109, {0x02}, 0x01},
383 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
384 {PRO_DMOD, 0x011a, {0xc8, 0x7b, 0x8a, 0xa0}, 0x04},
385 {PRO_DMOD, 0x0122, {0x02, 0x18, 0xc3}, 0x03},
386 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
387 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
388 {PRO_DMOD, 0x0137, {0x01, 0x00, 0x07, 0x00, 0x06}, 0x05},
389 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xc8, 0x59}, 0x05},
390 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
391 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
392 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
393 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
394 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
395 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
396 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
397 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
398 {PRO_DMOD, 0xf085, {0x00, 0x02, 0x00}, 0x03},
399 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
400 {PRO_DMOD, 0xf130, {0x04}, 0x01},
401 {PRO_DMOD, 0xf132, {0x04}, 0x01},
402 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
403 {PRO_DMOD, 0xf146, {0x00}, 0x01},
404 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
405 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
406 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
407 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
408 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
409 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
410 {PRO_DMOD, 0xf163, {0x05}, 0x01},
411 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
412 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
413 {PRO_DMOD, 0xf183, {0x01}, 0x01},
414 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
415 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
416 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
417 {PRO_DMOD, 0xf204, {0x10}, 0x01},
418 {PRO_DMOD, 0xf214, {0x00}, 0x01},
419 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
420 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
421 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
422 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
423 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
424 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
425 {PRO_DMOD, 0xf5df, {0xfb, 0x00}, 0x02},
426 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
427 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
428 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
429 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
430 0x1f}, 0x08},
431 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
432 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
433 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
434 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
435 {PRO_DMOD, 0xf905, {0x01}, 0x01},
436 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
437 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
438 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
441 static struct it913xset it9135_51[] = {
442 {PRO_DMOD, 0x0043, {0x00}, 0x01},
443 {PRO_DMOD, 0x0046, {0x51}, 0x01},
444 {PRO_DMOD, 0x0051, {0x01}, 0x01},
445 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
446 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
447 {PRO_DMOD, 0x0070, {0x0a, 0x06, 0x02}, 0x03},
448 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xc8, 0x01}, 0x05},
449 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
450 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x02, 0x0a, 0x03, 0xc0, 0x96,
451 0xcf, 0xc3, 0x01}, 0x0a},
452 {PRO_DMOD, 0x008e, {0x01}, 0x01},
453 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
454 {PRO_DMOD, 0x0099, {0x01}, 0x01},
455 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
456 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
457 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
458 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
459 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
460 {PRO_DMOD, 0x00b3, {0x02, 0x3c}, 0x02},
461 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
462 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05}, 0x03},
463 {PRO_DMOD, 0x00c4, {0x00}, 0x01},
464 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
465 {PRO_DMOD, 0x00cc, {0x2e, 0x51, 0x33}, 0x03},
466 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
467 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
468 {PRO_DMOD, 0x00fc, { 0x03, 0x02, 0x02, 0x09, 0x50, 0x7a, 0x77,
469 0x01, 0x02, 0xb0, 0x02, 0x7a}, 0x0c},
470 {PRO_DMOD, 0x0109, {0x02}, 0x01},
471 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
472 {PRO_DMOD, 0x011a, {0xc0, 0x7a, 0xac, 0x8c}, 0x04},
473 {PRO_DMOD, 0x0122, {0x02, 0x70, 0xa4}, 0x03},
474 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
475 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
476 {PRO_DMOD, 0x0137, {0x01, 0x00, 0x07, 0x00, 0x06}, 0x05},
477 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xc0, 0x59}, 0x05},
478 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
479 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
480 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
481 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
482 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
483 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
484 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
485 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
486 {PRO_DMOD, 0xf085, {0xc0, 0x01, 0x00}, 0x03},
487 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
488 {PRO_DMOD, 0xf130, {0x04}, 0x01},
489 {PRO_DMOD, 0xf132, {0x04}, 0x01},
490 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
491 {PRO_DMOD, 0xf146, {0x00}, 0x01},
492 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
493 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
494 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
495 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
496 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
497 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
498 {PRO_DMOD, 0xf163, {0x05}, 0x01},
499 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
500 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
501 {PRO_DMOD, 0xf183, {0x01}, 0x01},
502 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
503 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
504 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
505 {PRO_DMOD, 0xf204, {0x10}, 0x01},
506 {PRO_DMOD, 0xf214, {0x00}, 0x01},
507 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
508 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
509 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
510 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
511 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
512 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
513 {PRO_DMOD, 0xf5df, {0xfb, 0x00}, 0x02},
514 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
515 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
516 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
517 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
518 0x1f}, 0x08},
519 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
520 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
521 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
522 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
523 {PRO_DMOD, 0xf905, {0x01}, 0x01},
524 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
525 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
526 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
529 static struct it913xset it9135_52[] = {
530 {PRO_DMOD, 0x0043, {0x00}, 0x01},
531 {PRO_DMOD, 0x0046, {0x52}, 0x01},
532 {PRO_DMOD, 0x0051, {0x01}, 0x01},
533 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
534 {PRO_DMOD, 0x0068, {0x10}, 0x01},
535 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
536 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0xa0, 0x01}, 0x05},
537 {PRO_DMOD, 0x007e, {0x04, 0x00}, 0x02},
538 {PRO_DMOD, 0x0081, { 0x0a, 0x12, 0x03, 0x0a, 0x03, 0xb3, 0x97,
539 0xc0, 0x9e, 0x01}, 0x0a},
540 {PRO_DMOD, 0x008e, {0x01}, 0x01},
541 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
542 {PRO_DMOD, 0x0099, {0x01}, 0x01},
543 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
544 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
545 {PRO_DMOD, 0x00a3, {0x01, 0x5c, 0x01, 0x01}, 0x04},
546 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
547 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
548 {PRO_DMOD, 0x00b3, {0x02, 0x3c}, 0x02},
549 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
550 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05}, 0x03},
551 {PRO_DMOD, 0x00c4, {0x00}, 0x01},
552 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
553 {PRO_DMOD, 0x00cc, {0x2e, 0x51, 0x33}, 0x03},
554 {PRO_DMOD, 0x00f3, {0x05, 0x91, 0x8c}, 0x03},
555 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
556 {PRO_DMOD, 0x00fc, { 0x03, 0x02, 0x02, 0x09, 0x50, 0x74, 0x77,
557 0x02, 0x02, 0xae, 0x02, 0x6e}, 0x0c},
558 {PRO_DMOD, 0x0109, {0x02}, 0x01},
559 {PRO_DMOD, 0x0115, {0x0a, 0x03, 0x02, 0x80}, 0x04},
560 {PRO_DMOD, 0x011a, {0xcd, 0x62, 0xa4, 0x8c}, 0x04},
561 {PRO_DMOD, 0x0122, {0x03, 0x18, 0x9e}, 0x03},
562 {PRO_DMOD, 0x0127, {0x00, 0x07}, 0x02},
563 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
564 {PRO_DMOD, 0x0137, {0x00, 0x00, 0x07, 0x00, 0x06}, 0x05},
565 {PRO_DMOD, 0x013d, {0x00, 0x01, 0x5b, 0xb6, 0x59}, 0x05},
566 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
567 {PRO_DMOD, 0xf016, {0x10, 0x04, 0x05, 0x04, 0x05}, 0x05},
568 {PRO_DMOD, 0xf01f, {0x8c, 0x00, 0x03, 0x0a, 0x0a}, 0x05},
569 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00, 0x01}, 0x04},
570 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
571 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
572 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
573 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
574 {PRO_DMOD, 0xf085, {0xc0, 0x01, 0x00}, 0x03},
575 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
576 {PRO_DMOD, 0xf130, {0x04}, 0x01},
577 {PRO_DMOD, 0xf132, {0x04}, 0x01},
578 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
579 {PRO_DMOD, 0xf146, {0x00}, 0x01},
580 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
581 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
582 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
583 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
584 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
585 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
586 {PRO_DMOD, 0xf163, {0x05}, 0x01},
587 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
588 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
589 {PRO_DMOD, 0xf183, {0x01}, 0x01},
590 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
591 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
592 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
593 {PRO_DMOD, 0xf204, {0x10}, 0x01},
594 {PRO_DMOD, 0xf214, {0x00}, 0x01},
595 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
596 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
597 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
598 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
599 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
600 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
601 {PRO_DMOD, 0xf5df, {0xfb, 0x00}, 0x02},
602 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
603 {PRO_DMOD, 0xf5f8, {0x01}, 0x01},
604 {PRO_DMOD, 0xf5fd, {0x01}, 0x01},
605 {PRO_DMOD, 0xf600, {0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
606 0x1f}, 0x08},
607 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
608 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
609 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
610 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
611 {PRO_DMOD, 0xf905, {0x01}, 0x01},
612 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
613 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
614 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
617 /* Version 2 types */
618 static struct it913xset it9135_v2[] = {
619 {PRO_DMOD, 0x0051, {0x01}, 0x01},
620 {PRO_DMOD, 0x0070, {0x0a}, 0x01},
621 {PRO_DMOD, 0x007e, {0x04}, 0x01},
622 {PRO_DMOD, 0x0081, {0x0a}, 0x01},
623 {PRO_DMOD, 0x008a, {0x01}, 0x01},
624 {PRO_DMOD, 0x008e, {0x01}, 0x01},
625 {PRO_DMOD, 0x0092, {0x06}, 0x01},
626 {PRO_DMOD, 0x0099, {0x01}, 0x01},
627 {PRO_DMOD, 0x009f, {0xe1}, 0x01},
628 {PRO_DMOD, 0x00a0, {0xcf}, 0x01},
629 {PRO_DMOD, 0x00a3, {0x01}, 0x01},
630 {PRO_DMOD, 0x00a5, {0x01}, 0x01},
631 {PRO_DMOD, 0x00a6, {0x01}, 0x01},
632 {PRO_DMOD, 0x00a9, {0x00}, 0x01},
633 {PRO_DMOD, 0x00aa, {0x01}, 0x01},
634 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
635 {PRO_DMOD, 0x00c2, {0x05}, 0x01},
636 {PRO_DMOD, 0x00c6, {0x19}, 0x01},
637 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
638 {PRO_DMOD, 0xf02b, {0x00}, 0x01},
639 {PRO_DMOD, 0xf064, {0x03}, 0x01},
640 {PRO_DMOD, 0xf065, {0xf9}, 0x01},
641 {PRO_DMOD, 0xf066, {0x03}, 0x01},
642 {PRO_DMOD, 0xf067, {0x01}, 0x01},
643 {PRO_DMOD, 0xf06f, {0xe0}, 0x01},
644 {PRO_DMOD, 0xf070, {0x03}, 0x01},
645 {PRO_DMOD, 0xf072, {0x0f}, 0x01},
646 {PRO_DMOD, 0xf073, {0x03}, 0x01},
647 {PRO_DMOD, 0xf078, {0x00}, 0x01},
648 {PRO_DMOD, 0xf087, {0x00}, 0x01},
649 {PRO_DMOD, 0xf09b, {0x3f}, 0x01},
650 {PRO_DMOD, 0xf09c, {0x00}, 0x01},
651 {PRO_DMOD, 0xf09d, {0x20}, 0x01},
652 {PRO_DMOD, 0xf09e, {0x00}, 0x01},
653 {PRO_DMOD, 0xf09f, {0x0c}, 0x01},
654 {PRO_DMOD, 0xf0a0, {0x00}, 0x01},
655 {PRO_DMOD, 0xf130, {0x04}, 0x01},
656 {PRO_DMOD, 0xf132, {0x04}, 0x01},
657 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
658 {PRO_DMOD, 0xf146, {0x00}, 0x01},
659 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
660 {PRO_DMOD, 0xf14c, {0x00}, 0x01},
661 {PRO_DMOD, 0xf14d, {0x00}, 0x01},
662 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
663 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
664 {PRO_DMOD, 0xf15a, {0x00}, 0x01},
665 {PRO_DMOD, 0xf15b, {0x08}, 0x01},
666 {PRO_DMOD, 0xf15d, {0x03}, 0x01},
667 {PRO_DMOD, 0xf15e, {0x05}, 0x01},
668 {PRO_DMOD, 0xf163, {0x05}, 0x01},
669 {PRO_DMOD, 0xf166, {0x01}, 0x01},
670 {PRO_DMOD, 0xf167, {0x40}, 0x01},
671 {PRO_DMOD, 0xf168, {0x0f}, 0x01},
672 {PRO_DMOD, 0xf17a, {0x00}, 0x01},
673 {PRO_DMOD, 0xf17b, {0x00}, 0x01},
674 {PRO_DMOD, 0xf183, {0x01}, 0x01},
675 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
676 {PRO_DMOD, 0xf1bc, {0x36}, 0x01},
677 {PRO_DMOD, 0xf1bd, {0x00}, 0x01},
678 {PRO_DMOD, 0xf1cb, {0xa0}, 0x01},
679 {PRO_DMOD, 0xf1cc, {0x01}, 0x01},
680 {PRO_DMOD, 0xf204, {0x10}, 0x01},
681 {PRO_DMOD, 0xf214, {0x00}, 0x01},
682 {PRO_DMOD, 0xf40e, {0x0a}, 0x01},
683 {PRO_DMOD, 0xf40f, {0x40}, 0x01},
684 {PRO_DMOD, 0xf410, {0x08}, 0x01},
685 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
686 {PRO_DMOD, 0xf561, {0x15}, 0x01},
687 {PRO_DMOD, 0xf562, {0x20}, 0x01},
688 {PRO_DMOD, 0xf5e3, {0x09}, 0x01},
689 {PRO_DMOD, 0xf5e4, {0x01}, 0x01},
690 {PRO_DMOD, 0xf5e5, {0x01}, 0x01},
691 {PRO_DMOD, 0xf600, {0x05}, 0x01},
692 {PRO_DMOD, 0xf601, {0x08}, 0x01},
693 {PRO_DMOD, 0xf602, {0x0b}, 0x01},
694 {PRO_DMOD, 0xf603, {0x0e}, 0x01},
695 {PRO_DMOD, 0xf604, {0x11}, 0x01},
696 {PRO_DMOD, 0xf605, {0x14}, 0x01},
697 {PRO_DMOD, 0xf606, {0x17}, 0x01},
698 {PRO_DMOD, 0xf607, {0x1f}, 0x01},
699 {PRO_DMOD, 0xf60e, {0x00}, 0x01},
700 {PRO_DMOD, 0xf60f, {0x04}, 0x01},
701 {PRO_DMOD, 0xf610, {0x32}, 0x01},
702 {PRO_DMOD, 0xf611, {0x10}, 0x01},
703 {PRO_DMOD, 0xf707, {0xfc}, 0x01},
704 {PRO_DMOD, 0xf708, {0x00}, 0x01},
705 {PRO_DMOD, 0xf709, {0x37}, 0x01},
706 {PRO_DMOD, 0xf70a, {0x00}, 0x01},
707 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
708 {PRO_DMOD, 0xf80f, {0x40}, 0x01},
709 {PRO_DMOD, 0xf810, {0x54}, 0x01},
710 {PRO_DMOD, 0xf811, {0x5a}, 0x01},
711 {PRO_DMOD, 0xf905, {0x01}, 0x01},
712 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
713 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
714 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
717 static struct it913xset it9135_60[] = {
718 {PRO_DMOD, 0x0043, {0x00}, 0x01},
719 {PRO_DMOD, 0x0046, {0x60}, 0x01},
720 {PRO_DMOD, 0x0051, {0x01}, 0x01},
721 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
722 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
723 {PRO_DMOD, 0x006a, {0x03}, 0x01},
724 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
725 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x8c, 0x01}, 0x05},
726 {PRO_DMOD, 0x007e, {0x04}, 0x01},
727 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
728 {PRO_DMOD, 0x0084, {0x0a, 0x33, 0xbe, 0xa0, 0xc6, 0xb6, 0x01}, 0x07},
729 {PRO_DMOD, 0x008e, {0x01}, 0x01},
730 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
731 {PRO_DMOD, 0x0099, {0x01}, 0x01},
732 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
733 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
734 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
735 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
736 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
737 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
738 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
739 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
740 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
741 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
742 {PRO_DMOD, 0x00f3, {0x05, 0xa0, 0x8c}, 0x03},
743 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
744 {PRO_DMOD, 0x00fc, { 0x03, 0x03, 0x02, 0x0a, 0x50, 0x7b, 0x8c,
745 0x00, 0x02, 0xbe, 0x00}, 0x0b},
746 {PRO_DMOD, 0x0109, {0x02}, 0x01},
747 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
748 {PRO_DMOD, 0x011a, {0xbe}, 0x01},
749 {PRO_DMOD, 0x0124, {0xae}, 0x01},
750 {PRO_DMOD, 0x0127, {0x00}, 0x01},
751 {PRO_DMOD, 0x012a, {0x56, 0x50, 0x47, 0x42}, 0x04},
752 {PRO_DMOD, 0x0137, {0x00}, 0x01},
753 {PRO_DMOD, 0x013b, {0x08}, 0x01},
754 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
755 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x19, 0x19, 0x8c, 0x8c, 0x8c,
756 0x6e, 0x8c, 0x50, 0x8c, 0x8c, 0xac, 0xc6,
757 0x33}, 0x0f},
758 {PRO_DMOD, 0x0151, {0x28}, 0x01},
759 {PRO_DMOD, 0x0153, {0xbc}, 0x01},
760 {PRO_DMOD, 0x0178, {0x09}, 0x01},
761 {PRO_DMOD, 0x0181, {0x94, 0x6e}, 0x02},
762 {PRO_DMOD, 0x0185, {0x24}, 0x01},
763 {PRO_DMOD, 0x0187, {0x00, 0x00, 0xbe, 0x02, 0x80}, 0x05},
764 {PRO_DMOD, 0xed02, {0xff}, 0x01},
765 {PRO_DMOD, 0xee42, {0xff}, 0x01},
766 {PRO_DMOD, 0xee82, {0xff}, 0x01},
767 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
768 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
769 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
770 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
771 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
772 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
773 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
774 {PRO_DMOD, 0xf087, {0x00}, 0x01},
775 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
776 {PRO_DMOD, 0xf130, {0x04}, 0x01},
777 {PRO_DMOD, 0xf132, {0x04}, 0x01},
778 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
779 {PRO_DMOD, 0xf146, {0x00}, 0x01},
780 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
781 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
782 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
783 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
784 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
785 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
786 {PRO_DMOD, 0xf163, {0x05}, 0x01},
787 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
788 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
789 {PRO_DMOD, 0xf183, {0x01}, 0x01},
790 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
791 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
792 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
793 {PRO_DMOD, 0xf204, {0x10}, 0x01},
794 {PRO_DMOD, 0xf214, {0x00}, 0x01},
795 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
796 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
797 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
798 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
799 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
800 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
801 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
802 {PRO_DMOD, 0xf600, {0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17
803 , 0x1f}, 0x08},
804 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
805 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
806 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
807 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
808 {PRO_DMOD, 0xf905, {0x01}, 0x01},
809 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
810 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
811 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
814 static struct it913xset it9135_61[] = {
815 {PRO_DMOD, 0x0043, {0x00}, 0x01},
816 {PRO_DMOD, 0x0046, {0x61}, 0x01},
817 {PRO_DMOD, 0x0051, {0x01}, 0x01},
818 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
819 {PRO_DMOD, 0x0068, {0x06}, 0x01},
820 {PRO_DMOD, 0x006a, {0x03}, 0x01},
821 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
822 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x90, 0x01}, 0x05},
823 {PRO_DMOD, 0x007e, {0x04}, 0x01},
824 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
825 {PRO_DMOD, 0x0084, {0x0a, 0x33, 0xbc, 0x9c, 0xcc, 0xa8, 0x01}, 0x07},
826 {PRO_DMOD, 0x008e, {0x01}, 0x01},
827 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
828 {PRO_DMOD, 0x0099, {0x01}, 0x01},
829 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
830 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
831 {PRO_DMOD, 0x00a3, {0x01, 0x5c, 0x01, 0x01}, 0x04},
832 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
833 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
834 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
835 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
836 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
837 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
838 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
839 {PRO_DMOD, 0x00f3, {0x05, 0xa0, 0x8c}, 0x03},
840 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
841 {PRO_DMOD, 0x00fc, { 0x03, 0x03, 0x02, 0x08, 0x50, 0x7b, 0x8c,
842 0x01, 0x02, 0xc8, 0x00}, 0x0b},
843 {PRO_DMOD, 0x0109, {0x02}, 0x01},
844 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
845 {PRO_DMOD, 0x011a, {0xc6}, 0x01},
846 {PRO_DMOD, 0x0124, {0xa8}, 0x01},
847 {PRO_DMOD, 0x0127, {0x00}, 0x01},
848 {PRO_DMOD, 0x012a, {0x59, 0x50, 0x47, 0x42}, 0x04},
849 {PRO_DMOD, 0x0137, {0x00}, 0x01},
850 {PRO_DMOD, 0x013b, {0x05}, 0x01},
851 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
852 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x59, 0x59, 0x8c, 0x8c, 0x8c,
853 0x7b, 0x8c, 0x50, 0x8c, 0x8c, 0xa8, 0xc6,
854 0x33}, 0x0f},
855 {PRO_DMOD, 0x0151, {0x28}, 0x01},
856 {PRO_DMOD, 0x0153, {0xcc}, 0x01},
857 {PRO_DMOD, 0x0178, {0x09}, 0x01},
858 {PRO_DMOD, 0x0181, {0x9c, 0x76}, 0x02},
859 {PRO_DMOD, 0x0185, {0x28}, 0x01},
860 {PRO_DMOD, 0x0187, {0x01, 0x00, 0xaa, 0x02, 0x80}, 0x05},
861 {PRO_DMOD, 0xed02, {0xff}, 0x01},
862 {PRO_DMOD, 0xee42, {0xff}, 0x01},
863 {PRO_DMOD, 0xee82, {0xff}, 0x01},
864 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
865 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
866 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
867 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
868 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
869 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
870 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
871 {PRO_DMOD, 0xf087, {0x00}, 0x01},
872 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
873 {PRO_DMOD, 0xf130, {0x04}, 0x01},
874 {PRO_DMOD, 0xf132, {0x04}, 0x01},
875 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
876 {PRO_DMOD, 0xf146, {0x00}, 0x01},
877 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
878 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
879 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
880 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
881 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
882 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
883 {PRO_DMOD, 0xf163, {0x05}, 0x01},
884 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
885 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
886 {PRO_DMOD, 0xf183, {0x01}, 0x01},
887 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
888 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
889 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
890 {PRO_DMOD, 0xf204, {0x10}, 0x01},
891 {PRO_DMOD, 0xf214, {0x00}, 0x01},
892 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
893 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
894 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
895 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
896 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
897 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
898 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
899 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
900 0x1f}, 0x08},
901 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
902 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
903 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
904 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
905 {PRO_DMOD, 0xf905, {0x01}, 0x01},
906 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
907 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
908 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
911 static struct it913xset it9135_62[] = {
912 {PRO_DMOD, 0x0043, {0x00}, 0x01},
913 {PRO_DMOD, 0x0046, {0x62}, 0x01},
914 {PRO_DMOD, 0x0051, {0x01}, 0x01},
915 {PRO_DMOD, 0x005f, {0x00, 0x00}, 0x02},
916 {PRO_DMOD, 0x0068, {0x0a}, 0x01},
917 {PRO_DMOD, 0x006a, {0x03}, 0x01},
918 {PRO_DMOD, 0x0070, {0x0a, 0x05, 0x02}, 0x03},
919 {PRO_DMOD, 0x0075, {0x8c, 0x8c, 0x8c, 0x8c, 0x01}, 0x05},
920 {PRO_DMOD, 0x007e, {0x04}, 0x01},
921 {PRO_DMOD, 0x0081, {0x0a, 0x12}, 0x02},
922 {PRO_DMOD, 0x0084, { 0x0a, 0x33, 0xb8, 0x9c, 0xb2, 0xa6, 0x01},
923 0x07},
924 {PRO_DMOD, 0x008e, {0x01}, 0x01},
925 {PRO_DMOD, 0x0092, {0x06, 0x00, 0x00, 0x00, 0x00}, 0x05},
926 {PRO_DMOD, 0x0099, {0x01}, 0x01},
927 {PRO_DMOD, 0x009b, {0x3c, 0x28}, 0x02},
928 {PRO_DMOD, 0x009f, {0xe1, 0xcf}, 0x02},
929 {PRO_DMOD, 0x00a3, {0x01, 0x5a, 0x01, 0x01}, 0x04},
930 {PRO_DMOD, 0x00a9, {0x00, 0x01}, 0x02},
931 {PRO_DMOD, 0x00b0, {0x01}, 0x01},
932 {PRO_DMOD, 0x00b3, {0x02, 0x3a}, 0x02},
933 {PRO_DMOD, 0x00b6, {0x14}, 0x01},
934 {PRO_DMOD, 0x00c0, {0x11, 0x00, 0x05, 0x01, 0x00}, 0x05},
935 {PRO_DMOD, 0x00c6, {0x19, 0x00}, 0x02},
936 {PRO_DMOD, 0x00cb, {0x32, 0x2c, 0x4f, 0x30}, 0x04},
937 {PRO_DMOD, 0x00f3, {0x05, 0x8c, 0x8c}, 0x03},
938 {PRO_DMOD, 0x00f8, {0x03, 0x06, 0x06}, 0x03},
939 {PRO_DMOD, 0x00fc, { 0x02, 0x03, 0x02, 0x09, 0x50, 0x6e, 0x8c,
940 0x02, 0x02, 0xc2, 0x00}, 0x0b},
941 {PRO_DMOD, 0x0109, {0x02}, 0x01},
942 {PRO_DMOD, 0x0115, {0x0a, 0x03}, 0x02},
943 {PRO_DMOD, 0x011a, {0xb8}, 0x01},
944 {PRO_DMOD, 0x0124, {0xa8}, 0x01},
945 {PRO_DMOD, 0x0127, {0x00}, 0x01},
946 {PRO_DMOD, 0x012a, {0x53, 0x51, 0x4e, 0x43}, 0x04},
947 {PRO_DMOD, 0x0137, {0x00}, 0x01},
948 {PRO_DMOD, 0x013b, {0x05}, 0x01},
949 {PRO_DMOD, 0x013f, {0x5b}, 0x01},
950 {PRO_DMOD, 0x0141, { 0x59, 0xf9, 0x59, 0x19, 0x8c, 0x8c, 0x8c,
951 0x7b, 0x8c, 0x50, 0x70, 0x8c, 0x96, 0xd0,
952 0x33}, 0x0f},
953 {PRO_DMOD, 0x0151, {0x28}, 0x01},
954 {PRO_DMOD, 0x0153, {0xb2}, 0x01},
955 {PRO_DMOD, 0x0178, {0x09}, 0x01},
956 {PRO_DMOD, 0x0181, {0x9c, 0x6e}, 0x02},
957 {PRO_DMOD, 0x0185, {0x24}, 0x01},
958 {PRO_DMOD, 0x0187, {0x00, 0x00, 0xb8, 0x02, 0x80}, 0x05},
959 {PRO_DMOD, 0xed02, {0xff}, 0x01},
960 {PRO_DMOD, 0xee42, {0xff}, 0x01},
961 {PRO_DMOD, 0xee82, {0xff}, 0x01},
962 {PRO_DMOD, 0xf000, {0x0f}, 0x01},
963 {PRO_DMOD, 0xf01f, {0x8c, 0x00}, 0x02},
964 {PRO_DMOD, 0xf029, {0x8c, 0x00, 0x00}, 0x03},
965 {PRO_DMOD, 0xf064, {0x03, 0xf9, 0x03, 0x01}, 0x04},
966 {PRO_DMOD, 0xf06f, {0xe0, 0x03}, 0x02},
967 {PRO_DMOD, 0xf072, {0x0f, 0x03}, 0x02},
968 {PRO_DMOD, 0xf077, {0x01, 0x00}, 0x02},
969 {PRO_DMOD, 0xf087, {0x00}, 0x01},
970 {PRO_DMOD, 0xf09b, {0x3f, 0x00, 0x20, 0x00, 0x0c, 0x00}, 0x06},
971 {PRO_DMOD, 0xf130, {0x04}, 0x01},
972 {PRO_DMOD, 0xf132, {0x04}, 0x01},
973 {PRO_DMOD, 0xf144, {0x1a}, 0x01},
974 {PRO_DMOD, 0xf146, {0x00}, 0x01},
975 {PRO_DMOD, 0xf14a, {0x01}, 0x01},
976 {PRO_DMOD, 0xf14c, {0x00, 0x00}, 0x02},
977 {PRO_DMOD, 0xf14f, {0x04}, 0x01},
978 {PRO_DMOD, 0xf158, {0x7f}, 0x01},
979 {PRO_DMOD, 0xf15a, {0x00, 0x08}, 0x02},
980 {PRO_DMOD, 0xf15d, {0x03, 0x05}, 0x02},
981 {PRO_DMOD, 0xf163, {0x05}, 0x01},
982 {PRO_DMOD, 0xf166, {0x01, 0x40, 0x0f}, 0x03},
983 {PRO_DMOD, 0xf17a, {0x00, 0x00}, 0x02},
984 {PRO_DMOD, 0xf183, {0x01}, 0x01},
985 {PRO_DMOD, 0xf19d, {0x40}, 0x01},
986 {PRO_DMOD, 0xf1bc, {0x36, 0x00}, 0x02},
987 {PRO_DMOD, 0xf1cb, {0xa0, 0x01}, 0x02},
988 {PRO_DMOD, 0xf204, {0x10}, 0x01},
989 {PRO_DMOD, 0xf214, {0x00}, 0x01},
990 {PRO_DMOD, 0xf24c, {0x88, 0x95, 0x9a, 0x90}, 0x04},
991 {PRO_DMOD, 0xf25a, {0x07, 0xe8, 0x03, 0xb0, 0x04}, 0x05},
992 {PRO_DMOD, 0xf270, {0x01, 0x02, 0x01, 0x02}, 0x04},
993 {PRO_DMOD, 0xf40e, {0x0a, 0x40, 0x08}, 0x03},
994 {PRO_DMOD, 0xf55f, {0x0a}, 0x01},
995 {PRO_DMOD, 0xf561, {0x15, 0x20}, 0x02},
996 {PRO_DMOD, 0xf5e3, {0x09, 0x01, 0x01}, 0x03},
997 {PRO_DMOD, 0xf600, { 0x05, 0x08, 0x0b, 0x0e, 0x11, 0x14, 0x17,
998 0x1f}, 0x08},
999 {PRO_DMOD, 0xf60e, {0x00, 0x04, 0x32, 0x10}, 0x04},
1000 {PRO_DMOD, 0xf707, {0xfc, 0x00, 0x37, 0x00}, 0x04},
1001 {PRO_DMOD, 0xf78b, {0x01}, 0x01},
1002 {PRO_DMOD, 0xf80f, {0x40, 0x54, 0x5a}, 0x03},
1003 {PRO_DMOD, 0xf905, {0x01}, 0x01},
1004 {PRO_DMOD, 0xfb06, {0x03}, 0x01},
1005 {PRO_DMOD, 0xfd8b, {0x00}, 0x01},
1006 {0xff, 0x0000, {0x00}, 0x00} /* Terminating Entry */
1009 /* Tuner setting scripts (still keeping it9137) */
1010 static struct it913xset it9137_tuner_off[] = {
1011 {PRO_DMOD, 0xfba8, {0x01}, 0x01}, /* Tuner Clock Off */
1012 {PRO_DMOD, 0xec40, {0x00}, 0x01}, /* Power Down Tuner */
1013 {PRO_DMOD, 0xec02, {0x3f, 0x1f, 0x3f, 0x3f}, 0x04},
1014 {PRO_DMOD, 0xec06, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1015 0x00, 0x00, 0x00, 0x00}, 0x0c},
1016 {PRO_DMOD, 0xec12, {0x00, 0x00, 0x00, 0x00}, 0x04},
1017 {PRO_DMOD, 0xec17, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1018 0x00}, 0x09},
1019 {PRO_DMOD, 0xec22, {0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
1020 0x00, 0x00}, 0x0a},
1021 {PRO_DMOD, 0xec20, {0x00}, 0x01},
1022 {PRO_DMOD, 0xec3f, {0x01}, 0x01},
1023 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
1026 static struct it913xset set_it9135_template[] = {
1027 {PRO_DMOD, 0xee06, {0x00}, 0x01},
1028 {PRO_DMOD, 0xec56, {0x00}, 0x01},
1029 {PRO_DMOD, 0xec4c, {0x00}, 0x01},
1030 {PRO_DMOD, 0xec4d, {0x00}, 0x01},
1031 {PRO_DMOD, 0xec4e, {0x00}, 0x01},
1032 {PRO_DMOD, 0x011e, {0x00}, 0x01}, /* Older Devices */
1033 {PRO_DMOD, 0x011f, {0x00}, 0x01},
1034 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */
1037 static struct it913xset set_it9137_template[] = {
1038 {PRO_DMOD, 0xee06, {0x00}, 0x01},
1039 {PRO_DMOD, 0xec56, {0x00}, 0x01},
1040 {PRO_DMOD, 0xec4c, {0x00}, 0x01},
1041 {PRO_DMOD, 0xec4d, {0x00}, 0x01},
1042 {PRO_DMOD, 0xec4e, {0x00}, 0x01},
1043 {PRO_DMOD, 0xec4f, {0x00}, 0x01},
1044 {PRO_DMOD, 0xec50, {0x00}, 0x01},
1045 {0xff, 0x0000, {0x00}, 0x00}, /* Terminating Entry */