1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26#ifndef STV0900_INIT_H
27#define STV0900_INIT_H
28
29#include "stv0900_priv.h"
30
31
32static const struct stv0900_table stv0900_s2_cn = {
33 55,
34 {
35 { -30, 13348 },
36 { -20, 12640 },
37 { -10, 11883 },
38 { 0, 11101 },
39 { 5, 10718 },
40 { 10, 10339 },
41 { 15, 9947 },
42 { 20, 9552 },
43 { 25, 9183 },
44 { 30, 8799 },
45 { 35, 8422 },
46 { 40, 8062 },
47 { 45, 7707 },
48 { 50, 7353 },
49 { 55, 7025 },
50 { 60, 6684 },
51 { 65, 6331 },
52 { 70, 6036 },
53 { 75, 5727 },
54 { 80, 5437 },
55 { 85, 5164 },
56 { 90, 4902 },
57 { 95, 4653 },
58 { 100, 4408 },
59 { 105, 4187 },
60 { 110, 3961 },
61 { 115, 3751 },
62 { 120, 3558 },
63 { 125, 3368 },
64 { 130, 3191 },
65 { 135, 3017 },
66 { 140, 2862 },
67 { 145, 2710 },
68 { 150, 2565 },
69 { 160, 2300 },
70 { 170, 2058 },
71 { 180, 1849 },
72 { 190, 1663 },
73 { 200, 1495 },
74 { 210, 1349 },
75 { 220, 1222 },
76 { 230, 1110 },
77 { 240, 1011 },
78 { 250, 925 },
79 { 260, 853 },
80 { 270, 789 },
81 { 280, 734 },
82 { 290, 690 },
83 { 300, 650 },
84 { 310, 619 },
85 { 320, 593 },
86 { 330, 571 },
87 { 400, 498 },
88 { 450, 484 },
89 { 500, 481 }
90 }
91};
92
93
94static const struct stv0900_table stv0900_rf = {
95 14,
96 {
97 { -5, 0xCAA1 },
98 { -10, 0xC229 },
99 { -15, 0xBB08 },
100 { -20, 0xB4BC },
101 { -25, 0xAD5A },
102 { -30, 0xA298 },
103 { -35, 0x98A8 },
104 { -40, 0x8389 },
105 { -45, 0x59BE },
106 { -50, 0x3A14 },
107 { -55, 0x2D11 },
108 { -60, 0x210D },
109 { -65, 0xA14F },
110 { -70, 0x7AA }
111 }
112};
113
114struct stv0900_car_loop_optim {
115 enum fe_stv0900_modcode modcode;
116 u8 car_loop_pilots_on_2;
117 u8 car_loop_pilots_off_2;
118 u8 car_loop_pilots_on_5;
119 u8 car_loop_pilots_off_5;
120 u8 car_loop_pilots_on_10;
121 u8 car_loop_pilots_off_10;
122 u8 car_loop_pilots_on_20;
123 u8 car_loop_pilots_off_20;
124 u8 car_loop_pilots_on_30;
125 u8 car_loop_pilots_off_30;
126
127};
128
129struct stv0900_short_frames_car_loop_optim {
130 enum fe_stv0900_modulation modulation;
131 u8 car_loop_cut12_2;
132 u8 car_loop_cut20_2;
133 u8 car_loop_cut12_5;
134 u8 car_loop_cut20_5;
135 u8 car_loop_cut12_10;
136 u8 car_loop_cut20_10;
137 u8 car_loop_cut12_20;
138 u8 car_loop_cut20_20;
139 u8 car_loop_cut12_30;
140 u8 car_loop_cut20_30;
141
142};
143
144struct stv0900_short_frames_car_loop_optim_vs_mod {
145 enum fe_stv0900_modulation modulation;
146 u8 car_loop_2;
147 u8 car_loop_5;
148 u8 car_loop_10;
149 u8 car_loop_20;
150 u8 car_loop_30;
151};
152
153
154static const struct stv0900_car_loop_optim FE_STV0900_S2CarLoop[14] = {
155
156
157 { STV0900_QPSK_12, 0x1C, 0x0D, 0x1B, 0x2C, 0x3A,
158 0x1C, 0x2A, 0x3B, 0x2A, 0x1B },
159 { STV0900_QPSK_35, 0x2C, 0x0D, 0x2B, 0x2C, 0x3A,
160 0x0C, 0x3A, 0x2B, 0x2A, 0x0B },
161 { STV0900_QPSK_23, 0x2C, 0x0D, 0x2B, 0x2C, 0x0B,
162 0x0C, 0x3A, 0x1B, 0x2A, 0x3A },
163 { STV0900_QPSK_34, 0x3C, 0x0D, 0x3B, 0x1C, 0x0B,
164 0x3B, 0x3A, 0x0B, 0x2A, 0x3A },
165 { STV0900_QPSK_45, 0x3C, 0x0D, 0x3B, 0x1C, 0x0B,
166 0x3B, 0x3A, 0x0B, 0x2A, 0x3A },
167 { STV0900_QPSK_56, 0x0D, 0x0D, 0x3B, 0x1C, 0x0B,
168 0x3B, 0x3A, 0x0B, 0x2A, 0x3A },
169 { STV0900_QPSK_89, 0x0D, 0x0D, 0x3B, 0x1C, 0x1B,
170 0x3B, 0x3A, 0x0B, 0x2A, 0x3A },
171 { STV0900_QPSK_910, 0x1D, 0x0D, 0x3B, 0x1C, 0x1B,
172 0x3B, 0x3A, 0x0B, 0x2A, 0x3A },
173 { STV0900_8PSK_35, 0x29, 0x3B, 0x09, 0x2B, 0x38,
174 0x0B, 0x18, 0x1A, 0x08, 0x0A },
175 { STV0900_8PSK_23, 0x0A, 0x3B, 0x29, 0x2B, 0x19,
176 0x0B, 0x38, 0x1A, 0x18, 0x0A },
177 { STV0900_8PSK_34, 0x3A, 0x3B, 0x2A, 0x2B, 0x39,
178 0x0B, 0x19, 0x1A, 0x38, 0x0A },
179 { STV0900_8PSK_56, 0x1B, 0x3B, 0x0B, 0x2B, 0x1A,
180 0x0B, 0x39, 0x1A, 0x19, 0x0A },
181 { STV0900_8PSK_89, 0x3B, 0x3B, 0x0B, 0x2B, 0x2A,
182 0x0B, 0x39, 0x1A, 0x29, 0x39 },
183 { STV0900_8PSK_910, 0x3B, 0x3B, 0x0B, 0x2B, 0x2A,
184 0x0B, 0x39, 0x1A, 0x29, 0x39 }
185};
186
187
188
189static const struct stv0900_car_loop_optim FE_STV0900_S2CarLoopCut20[14] = {
190
191
192 { STV0900_QPSK_12, 0x1F, 0x3F, 0x1E, 0x3F, 0x3D,
193 0x1F, 0x3D, 0x3E, 0x3D, 0x1E },
194 { STV0900_QPSK_35, 0x2F, 0x3F, 0x2E, 0x2F, 0x3D,
195 0x0F, 0x0E, 0x2E, 0x3D, 0x0E },
196 { STV0900_QPSK_23, 0x2F, 0x3F, 0x2E, 0x2F, 0x0E,
197 0x0F, 0x0E, 0x1E, 0x3D, 0x3D },
198 { STV0900_QPSK_34, 0x3F, 0x3F, 0x3E, 0x1F, 0x0E,
199 0x3E, 0x0E, 0x1E, 0x3D, 0x3D },
200 { STV0900_QPSK_45, 0x3F, 0x3F, 0x3E, 0x1F, 0x0E,
201 0x3E, 0x0E, 0x1E, 0x3D, 0x3D },
202 { STV0900_QPSK_56, 0x3F, 0x3F, 0x3E, 0x1F, 0x0E,
203 0x3E, 0x0E, 0x1E, 0x3D, 0x3D },
204 { STV0900_QPSK_89, 0x3F, 0x3F, 0x3E, 0x1F, 0x1E,
205 0x3E, 0x0E, 0x1E, 0x3D, 0x3D },
206 { STV0900_QPSK_910, 0x3F, 0x3F, 0x3E, 0x1F, 0x1E,
207 0x3E, 0x0E, 0x1E, 0x3D, 0x3D },
208 { STV0900_8PSK_35, 0x3c, 0x0c, 0x1c, 0x3b, 0x0c,
209 0x3b, 0x2b, 0x2b, 0x1b, 0x2b },
210 { STV0900_8PSK_23, 0x1d, 0x0c, 0x3c, 0x0c, 0x2c,
211 0x3b, 0x0c, 0x2b, 0x2b, 0x2b },
212 { STV0900_8PSK_34, 0x0e, 0x1c, 0x3d, 0x0c, 0x0d,
213 0x3b, 0x2c, 0x3b, 0x0c, 0x2b },
214 { STV0900_8PSK_56, 0x2e, 0x3e, 0x1e, 0x2e, 0x2d,
215 0x1e, 0x3c, 0x2d, 0x2c, 0x1d },
216 { STV0900_8PSK_89, 0x3e, 0x3e, 0x1e, 0x2e, 0x3d,
217 0x1e, 0x0d, 0x2d, 0x3c, 0x1d },
218 { STV0900_8PSK_910, 0x3e, 0x3e, 0x1e, 0x2e, 0x3d,
219 0x1e, 0x1d, 0x2d, 0x0d, 0x1d },
220};
221
222
223
224
225static const struct stv0900_car_loop_optim FE_STV0900_S2APSKCarLoopCut20[11] = {
226
227
228 { STV0900_16APSK_23, 0x0C, 0x0C, 0x0C, 0x0C, 0x1D,
229 0x0C, 0x3C, 0x0C, 0x2C, 0x0C },
230 { STV0900_16APSK_34, 0x0C, 0x0C, 0x0C, 0x0C, 0x0E,
231 0x0C, 0x2D, 0x0C, 0x1D, 0x0C },
232 { STV0900_16APSK_45, 0x0C, 0x0C, 0x0C, 0x0C, 0x1E,
233 0x0C, 0x3D, 0x0C, 0x2D, 0x0C },
234 { STV0900_16APSK_56, 0x0C, 0x0C, 0x0C, 0x0C, 0x1E,
235 0x0C, 0x3D, 0x0C, 0x2D, 0x0C },
236 { STV0900_16APSK_89, 0x0C, 0x0C, 0x0C, 0x0C, 0x2E,
237 0x0C, 0x0E, 0x0C, 0x3D, 0x0C },
238 { STV0900_16APSK_910, 0x0C, 0x0C, 0x0C, 0x0C, 0x2E,
239 0x0C, 0x0E, 0x0C, 0x3D, 0x0C },
240 { STV0900_32APSK_34, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C,
241 0x0C, 0x0C, 0x0C, 0x0C, 0x0C },
242 { STV0900_32APSK_45, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C,
243 0x0C, 0x0C, 0x0C, 0x0C, 0x0C },
244 { STV0900_32APSK_56, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C,
245 0x0C, 0x0C, 0x0C, 0x0C, 0x0C },
246 { STV0900_32APSK_89, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C,
247 0x0C, 0x0C, 0x0C, 0x0C, 0x0C },
248 { STV0900_32APSK_910, 0x0C, 0x0C, 0x0C, 0x0C, 0x0C,
249 0x0C, 0x0C, 0x0C, 0x0C, 0x0C },
250};
251
252
253
254static const struct stv0900_car_loop_optim FE_STV0900_S2LowQPCarLoopCut20[3] = {
255
256
257 { STV0900_QPSK_14, 0x0F, 0x3F, 0x0E, 0x3F, 0x2D,
258 0x2F, 0x2D, 0x1F, 0x3D, 0x3E },
259 { STV0900_QPSK_13, 0x0F, 0x3F, 0x0E, 0x3F, 0x2D,
260 0x2F, 0x3D, 0x0F, 0x3D, 0x2E },
261 { STV0900_QPSK_25, 0x1F, 0x3F, 0x1E, 0x3F, 0x3D,
262 0x1F, 0x3D, 0x3E, 0x3D, 0x2E }
263};
264
265
266
267static const
268struct stv0900_short_frames_car_loop_optim FE_STV0900_S2ShortCarLoop[4] = {
269
270
271 { STV0900_QPSK, 0x3C, 0x2F, 0x2B, 0x2E, 0x0B,
272 0x0E, 0x3A, 0x0E, 0x2A, 0x3D },
273 { STV0900_8PSK, 0x0B, 0x3E, 0x2A, 0x0E, 0x0A,
274 0x2D, 0x19, 0x0D, 0x09, 0x3C },
275 { STV0900_16APSK, 0x1B, 0x1E, 0x1B, 0x1E, 0x1B,
276 0x1E, 0x3A, 0x3D, 0x2A, 0x2D },
277 { STV0900_32APSK, 0x1B, 0x1E, 0x1B, 0x1E, 0x1B,
278 0x1E, 0x3A, 0x3D, 0x2A, 0x2D }
279};
280
281static const struct stv0900_car_loop_optim FE_STV0900_S2CarLoopCut30[14] = {
282
283
284 { STV0900_QPSK_12, 0x3C, 0x2C, 0x0C, 0x2C, 0x1B,
285 0x2C, 0x1B, 0x1C, 0x0B, 0x3B },
286 { STV0900_QPSK_35, 0x0D, 0x0D, 0x0C, 0x0D, 0x1B,
287 0x3C, 0x1B, 0x1C, 0x0B, 0x3B },
288 { STV0900_QPSK_23, 0x1D, 0x0D, 0x0C, 0x1D, 0x2B,
289 0x3C, 0x1B, 0x1C, 0x0B, 0x3B },
290 { STV0900_QPSK_34, 0x1D, 0x1D, 0x0C, 0x1D, 0x2B,
291 0x3C, 0x1B, 0x1C, 0x0B, 0x3B },
292 { STV0900_QPSK_45, 0x2D, 0x1D, 0x1C, 0x1D, 0x2B,
293 0x3C, 0x2B, 0x0C, 0x1B, 0x3B },
294 { STV0900_QPSK_56, 0x2D, 0x1D, 0x1C, 0x1D, 0x2B,
295 0x3C, 0x2B, 0x0C, 0x1B, 0x3B },
296 { STV0900_QPSK_89, 0x3D, 0x2D, 0x1C, 0x1D, 0x3B,
297 0x3C, 0x2B, 0x0C, 0x1B, 0x3B },
298 { STV0900_QPSK_910, 0x3D, 0x2D, 0x1C, 0x1D, 0x3B,
299 0x3C, 0x2B, 0x0C, 0x1B, 0x3B },
300 { STV0900_8PSK_35, 0x39, 0x19, 0x39, 0x19, 0x19,
301 0x19, 0x19, 0x19, 0x09, 0x19 },
302 { STV0900_8PSK_23, 0x2A, 0x39, 0x1A, 0x0A, 0x39,
303 0x0A, 0x29, 0x39, 0x29, 0x0A },
304 { STV0900_8PSK_34, 0x0B, 0x3A, 0x0B, 0x0B, 0x3A,
305 0x1B, 0x1A, 0x0B, 0x1A, 0x3A },
306 { STV0900_8PSK_56, 0x0C, 0x1B, 0x3B, 0x2B, 0x1B,
307 0x3B, 0x3A, 0x3B, 0x3A, 0x1B },
308 { STV0900_8PSK_89, 0x2C, 0x2C, 0x2C, 0x1C, 0x2B,
309 0x0C, 0x0B, 0x3B, 0x0B, 0x1B },
310 { STV0900_8PSK_910, 0x2C, 0x3C, 0x2C, 0x1C, 0x3B,
311 0x1C, 0x0B, 0x3B, 0x0B, 0x1B }
312};
313
314static const
315struct stv0900_car_loop_optim FE_STV0900_S2APSKCarLoopCut30[11] = {
316
317
318 { STV0900_16APSK_23, 0x0A, 0x0A, 0x0A, 0x0A, 0x1A,
319 0x0A, 0x3A, 0x0A, 0x2A, 0x0A },
320 { STV0900_16APSK_34, 0x0A, 0x0A, 0x0A, 0x0A, 0x0B,
321 0x0A, 0x3B, 0x0A, 0x1B, 0x0A },
322 { STV0900_16APSK_45, 0x0A, 0x0A, 0x0A, 0x0A, 0x1B,
323 0x0A, 0x3B, 0x0A, 0x2B, 0x0A },
324 { STV0900_16APSK_56, 0x0A, 0x0A, 0x0A, 0x0A, 0x1B,
325 0x0A, 0x3B, 0x0A, 0x2B, 0x0A },
326 { STV0900_16APSK_89, 0x0A, 0x0A, 0x0A, 0x0A, 0x2B,
327 0x0A, 0x0C, 0x0A, 0x3B, 0x0A },
328 { STV0900_16APSK_910, 0x0A, 0x0A, 0x0A, 0x0A, 0x2B,
329 0x0A, 0x0C, 0x0A, 0x3B, 0x0A },
330 { STV0900_32APSK_34, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A,
331 0x0A, 0x0A, 0x0A, 0x0A, 0x0A },
332 { STV0900_32APSK_45, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A,
333 0x0A, 0x0A, 0x0A, 0x0A, 0x0A },
334 { STV0900_32APSK_56, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A,
335 0x0A, 0x0A, 0x0A, 0x0A, 0x0A },
336 { STV0900_32APSK_89, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A,
337 0x0A, 0x0A, 0x0A, 0x0A, 0x0A },
338 { STV0900_32APSK_910, 0x0A, 0x0A, 0x0A, 0x0A, 0x0A,
339 0x0A, 0x0A, 0x0A, 0x0A, 0x0A }
340};
341
342static const
343struct stv0900_car_loop_optim FE_STV0900_S2LowQPCarLoopCut30[3] = {
344
345
346 { STV0900_QPSK_14, 0x0C, 0x3C, 0x0B, 0x3C, 0x2A,
347 0x2C, 0x2A, 0x1C, 0x3A, 0x3B },
348 { STV0900_QPSK_13, 0x0C, 0x3C, 0x0B, 0x3C, 0x2A,
349 0x2C, 0x3A, 0x0C, 0x3A, 0x2B },
350 { STV0900_QPSK_25, 0x1C, 0x3C, 0x1B, 0x3C, 0x3A,
351 0x1C, 0x3A, 0x3B, 0x3A, 0x2B }
352};
353
354static const struct stv0900_short_frames_car_loop_optim_vs_mod
355FE_STV0900_S2ShortCarLoopCut30[4] = {
356
357 { STV0900_QPSK, 0x2C, 0x2B, 0x0B, 0x0B, 0x3A },
358 { STV0900_8PSK, 0x3B, 0x0B, 0x2A, 0x0A, 0x39 },
359 { STV0900_16APSK, 0x1B, 0x1B, 0x1B, 0x3A, 0x2A },
360 { STV0900_32APSK, 0x1B, 0x1B, 0x1B, 0x3A, 0x2A },
361
362};
363
364static const u16 STV0900_InitVal[181][2] = {
365 { R0900_OUTCFG , 0x00 },
366 { R0900_AGCRF1CFG , 0x11 },
367 { R0900_AGCRF2CFG , 0x13 },
368 { R0900_TSGENERAL1X , 0x14 },
369 { R0900_TSTTNR2 , 0x21 },
370 { R0900_TSTTNR4 , 0x21 },
371 { R0900_P2_DISTXCTL , 0x22 },
372 { R0900_P2_F22TX , 0xc0 },
373 { R0900_P2_F22RX , 0xc0 },
374 { R0900_P2_DISRXCTL , 0x00 },
375 { R0900_P2_TNRSTEPS , 0x87 },
376 { R0900_P2_TNRGAIN , 0x09 },
377 { R0900_P2_DMDCFGMD , 0xF9 },
378 { R0900_P2_DEMOD , 0x08 },
379 { R0900_P2_DMDCFG3 , 0xc4 },
380 { R0900_P2_CARFREQ , 0xed },
381 { R0900_P2_TNRCFG2 , 0x02 },
382 { R0900_P2_TNRCFG3 , 0x02 },
383 { R0900_P2_LDT , 0xd0 },
384 { R0900_P2_LDT2 , 0xb8 },
385 { R0900_P2_TMGCFG , 0xd2 },
386 { R0900_P2_TMGTHRISE , 0x20 },
387 { R0900_P2_TMGTHFALL , 0x00 },
388 { R0900_P2_FECSPY , 0x88 },
389 { R0900_P2_FSPYDATA , 0x3a },
390 { R0900_P2_FBERCPT4 , 0x00 },
391 { R0900_P2_FSPYBER , 0x10 },
392 { R0900_P2_ERRCTRL1 , 0x35 },
393 { R0900_P2_ERRCTRL2 , 0xc1 },
394 { R0900_P2_CFRICFG , 0xf8 },
395 { R0900_P2_NOSCFG , 0x1c },
396 { R0900_P2_DMDT0M , 0x20 },
397 { R0900_P2_CORRELMANT , 0x70 },
398 { R0900_P2_CORRELABS , 0x88 },
399 { R0900_P2_AGC2O , 0x5b },
400 { R0900_P2_AGC2REF , 0x38 },
401 { R0900_P2_CARCFG , 0xe4 },
402 { R0900_P2_ACLC , 0x1A },
403 { R0900_P2_BCLC , 0x09 },
404 { R0900_P2_CARHDR , 0x08 },
405 { R0900_P2_KREFTMG , 0xc1 },
406 { R0900_P2_SFRUPRATIO , 0xf0 },
407 { R0900_P2_SFRLOWRATIO , 0x70 },
408 { R0900_P2_SFRSTEP , 0x58 },
409 { R0900_P2_TMGCFG2 , 0x01 },
410 { R0900_P2_CAR2CFG , 0x26 },
411 { R0900_P2_BCLC2S2Q , 0x86 },
412 { R0900_P2_BCLC2S28 , 0x86 },
413 { R0900_P2_SMAPCOEF7 , 0x77 },
414 { R0900_P2_SMAPCOEF6 , 0x85 },
415 { R0900_P2_SMAPCOEF5 , 0x77 },
416 { R0900_P2_TSCFGL , 0x20 },
417 { R0900_P2_DMDCFG2 , 0x3b },
418 { R0900_P2_MODCODLST0 , 0xff },
419 { R0900_P2_MODCODLST1 , 0xff },
420 { R0900_P2_MODCODLST2 , 0xff },
421 { R0900_P2_MODCODLST3 , 0xff },
422 { R0900_P2_MODCODLST4 , 0xff },
423 { R0900_P2_MODCODLST5 , 0xff },
424 { R0900_P2_MODCODLST6 , 0xff },
425 { R0900_P2_MODCODLST7 , 0xcc },
426 { R0900_P2_MODCODLST8 , 0xcc },
427 { R0900_P2_MODCODLST9 , 0xcc },
428 { R0900_P2_MODCODLSTA , 0xcc },
429 { R0900_P2_MODCODLSTB , 0xcc },
430 { R0900_P2_MODCODLSTC , 0xcc },
431 { R0900_P2_MODCODLSTD , 0xcc },
432 { R0900_P2_MODCODLSTE , 0xcc },
433 { R0900_P2_MODCODLSTF , 0xcf },
434 { R0900_P1_DISTXCTL , 0x22 },
435 { R0900_P1_F22TX , 0xc0 },
436 { R0900_P1_F22RX , 0xc0 },
437 { R0900_P1_DISRXCTL , 0x00 },
438 { R0900_P1_TNRSTEPS , 0x87 },
439 { R0900_P1_TNRGAIN , 0x09 },
440 { R0900_P1_DMDCFGMD , 0xf9 },
441 { R0900_P1_DEMOD , 0x08 },
442 { R0900_P1_DMDCFG3 , 0xc4 },
443 { R0900_P1_DMDT0M , 0x20 },
444 { R0900_P1_CARFREQ , 0xed },
445 { R0900_P1_TNRCFG2 , 0x82 },
446 { R0900_P1_TNRCFG3 , 0x02 },
447 { R0900_P1_LDT , 0xd0 },
448 { R0900_P1_LDT2 , 0xb8 },
449 { R0900_P1_TMGCFG , 0xd2 },
450 { R0900_P1_TMGTHRISE , 0x20 },
451 { R0900_P1_TMGTHFALL , 0x00 },
452 { R0900_P1_SFRUPRATIO , 0xf0 },
453 { R0900_P1_SFRLOWRATIO , 0x70 },
454 { R0900_P1_TSCFGL , 0x20 },
455 { R0900_P1_FECSPY , 0x88 },
456 { R0900_P1_FSPYDATA , 0x3a },
457 { R0900_P1_FBERCPT4 , 0x00 },
458 { R0900_P1_FSPYBER , 0x10 },
459 { R0900_P1_ERRCTRL1 , 0x35 },
460 { R0900_P1_ERRCTRL2 , 0xc1 },
461 { R0900_P1_CFRICFG , 0xf8 },
462 { R0900_P1_NOSCFG , 0x1c },
463 { R0900_P1_CORRELMANT , 0x70 },
464 { R0900_P1_CORRELABS , 0x88 },
465 { R0900_P1_AGC2O , 0x5b },
466 { R0900_P1_AGC2REF , 0x38 },
467 { R0900_P1_CARCFG , 0xe4 },
468 { R0900_P1_ACLC , 0x1A },
469 { R0900_P1_BCLC , 0x09 },
470 { R0900_P1_CARHDR , 0x08 },
471 { R0900_P1_KREFTMG , 0xc1 },
472 { R0900_P1_SFRSTEP , 0x58 },
473 { R0900_P1_TMGCFG2 , 0x01 },
474 { R0900_P1_CAR2CFG , 0x26 },
475 { R0900_P1_BCLC2S2Q , 0x86 },
476 { R0900_P1_BCLC2S28 , 0x86 },
477 { R0900_P1_SMAPCOEF7 , 0x77 },
478 { R0900_P1_SMAPCOEF6 , 0x85 },
479 { R0900_P1_SMAPCOEF5 , 0x77 },
480 { R0900_P1_DMDCFG2 , 0x3b },
481 { R0900_P1_MODCODLST0 , 0xff },
482 { R0900_P1_MODCODLST1 , 0xff },
483 { R0900_P1_MODCODLST2 , 0xff },
484 { R0900_P1_MODCODLST3 , 0xff },
485 { R0900_P1_MODCODLST4 , 0xff },
486 { R0900_P1_MODCODLST5 , 0xff },
487 { R0900_P1_MODCODLST6 , 0xff },
488 { R0900_P1_MODCODLST7 , 0xcc },
489 { R0900_P1_MODCODLST8 , 0xcc },
490 { R0900_P1_MODCODLST9 , 0xcc },
491 { R0900_P1_MODCODLSTA , 0xcc },
492 { R0900_P1_MODCODLSTB , 0xcc },
493 { R0900_P1_MODCODLSTC , 0xcc },
494 { R0900_P1_MODCODLSTD , 0xcc },
495 { R0900_P1_MODCODLSTE , 0xcc },
496 { R0900_P1_MODCODLSTF , 0xcf },
497 { R0900_GENCFG , 0x1d },
498 { R0900_NBITER_NF4 , 0x37 },
499 { R0900_NBITER_NF5 , 0x29 },
500 { R0900_NBITER_NF6 , 0x37 },
501 { R0900_NBITER_NF7 , 0x33 },
502 { R0900_NBITER_NF8 , 0x31 },
503 { R0900_NBITER_NF9 , 0x2f },
504 { R0900_NBITER_NF10 , 0x39 },
505 { R0900_NBITER_NF11 , 0x3a },
506 { R0900_NBITER_NF12 , 0x29 },
507 { R0900_NBITER_NF13 , 0x37 },
508 { R0900_NBITER_NF14 , 0x33 },
509 { R0900_NBITER_NF15 , 0x2f },
510 { R0900_NBITER_NF16 , 0x39 },
511 { R0900_NBITER_NF17 , 0x3a },
512 { R0900_NBITERNOERR , 0x04 },
513 { R0900_GAINLLR_NF4 , 0x0C },
514 { R0900_GAINLLR_NF5 , 0x0F },
515 { R0900_GAINLLR_NF6 , 0x11 },
516 { R0900_GAINLLR_NF7 , 0x14 },
517 { R0900_GAINLLR_NF8 , 0x17 },
518 { R0900_GAINLLR_NF9 , 0x19 },
519 { R0900_GAINLLR_NF10 , 0x20 },
520 { R0900_GAINLLR_NF11 , 0x21 },
521 { R0900_GAINLLR_NF12 , 0x0D },
522 { R0900_GAINLLR_NF13 , 0x0F },
523 { R0900_GAINLLR_NF14 , 0x13 },
524 { R0900_GAINLLR_NF15 , 0x1A },
525 { R0900_GAINLLR_NF16 , 0x1F },
526 { R0900_GAINLLR_NF17 , 0x21 },
527 { R0900_RCCFG2 , 0x20 },
528 { R0900_P1_FECM , 0x01 },
529 { R0900_P2_FECM , 0x01 },
530 { R0900_P1_PRVIT , 0x2F },
531 { R0900_P2_PRVIT , 0x2F },
532 { R0900_STROUT1CFG , 0x4c },
533 { R0900_STROUT2CFG , 0x4c },
534 { R0900_CLKOUT1CFG , 0x50 },
535 { R0900_CLKOUT2CFG , 0x50 },
536 { R0900_DPN1CFG , 0x4a },
537 { R0900_DPN2CFG , 0x4a },
538 { R0900_DATA71CFG , 0x52 },
539 { R0900_DATA72CFG , 0x52 },
540 { R0900_P1_TSCFGM , 0xc0 },
541 { R0900_P2_TSCFGM , 0xc0 },
542 { R0900_P1_TSCFGH , 0xe0 },
543 { R0900_P2_TSCFGH , 0xe0 },
544 { R0900_P1_TSSPEED , 0x40 },
545 { R0900_P2_TSSPEED , 0x40 },
546};
547
548static const u16 STV0900_Cut20_AddOnVal[32][2] = {
549 { R0900_P2_DMDCFG3 , 0xe8 },
550 { R0900_P2_DMDCFG4 , 0x10 },
551 { R0900_P2_CARFREQ , 0x38 },
552 { R0900_P2_CARHDR , 0x20 },
553 { R0900_P2_KREFTMG , 0x5a },
554 { R0900_P2_SMAPCOEF7 , 0x06 },
555 { R0900_P2_SMAPCOEF6 , 0x00 },
556 { R0900_P2_SMAPCOEF5 , 0x04 },
557 { R0900_P2_NOSCFG , 0x0c },
558 { R0900_P1_DMDCFG3 , 0xe8 },
559 { R0900_P1_DMDCFG4 , 0x10 },
560 { R0900_P1_CARFREQ , 0x38 },
561 { R0900_P1_CARHDR , 0x20 },
562 { R0900_P1_KREFTMG , 0x5a },
563 { R0900_P1_SMAPCOEF7 , 0x06 },
564 { R0900_P1_SMAPCOEF6 , 0x00 },
565 { R0900_P1_SMAPCOEF5 , 0x04 },
566 { R0900_P1_NOSCFG , 0x0c },
567 { R0900_GAINLLR_NF4 , 0x21 },
568 { R0900_GAINLLR_NF5 , 0x21 },
569 { R0900_GAINLLR_NF6 , 0x20 },
570 { R0900_GAINLLR_NF7 , 0x1F },
571 { R0900_GAINLLR_NF8 , 0x1E },
572 { R0900_GAINLLR_NF9 , 0x1E },
573 { R0900_GAINLLR_NF10 , 0x1D },
574 { R0900_GAINLLR_NF11 , 0x1B },
575 { R0900_GAINLLR_NF12 , 0x20 },
576 { R0900_GAINLLR_NF13 , 0x20 },
577 { R0900_GAINLLR_NF14 , 0x20 },
578 { R0900_GAINLLR_NF15 , 0x20 },
579 { R0900_GAINLLR_NF16 , 0x20 },
580 { R0900_GAINLLR_NF17 , 0x21 }
581
582};
583
584#endif
585