diff options
author | Erik Andrén <erik.andren@gmail.com> | 2009-06-23 01:57:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:17:41 -0400 |
commit | 41532b91daeb7789472bfbdcf3a5a862230482ee (patch) | |
tree | 8b19759ef85388bebae65c241554280385574182 /drivers/media | |
parent | bf40b382f6ce53cdee48917d14b13ae004c3deab (diff) |
V4L/DVB (12985): gspca - m5602-ov7660: Replace magic constants with defines
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov7660.h | 413 |
1 files changed, 168 insertions, 245 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h index eb0b50ed00e8..8fa850c95f37 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov7660.h +++ b/drivers/media/video/gspca/m5602/m5602_ov7660.h | |||
@@ -271,251 +271,174 @@ static const unsigned char init_ov7660[][4] = | |||
271 | }; | 271 | }; |
272 | 272 | ||
273 | static const unsigned char init2_ov7660[][4] = { | 273 | static const unsigned char init2_ov7660[][4] = { |
274 | {BRIDGE, 0x13, 0x02}, | 274 | {BRIDGE, M5602_XB_MCU_CLK_DIV, 0x02}, |
275 | {BRIDGE, 0x12, 0xb0}, | 275 | {BRIDGE, M5602_XB_MCU_CLK_CTRL, 0xb0}, |
276 | {BRIDGE, 0x15, 0x00}, | 276 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, |
277 | {BRIDGE, 0x14, 0xb0}, | 277 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
278 | {BRIDGE, 0x60, 0xc0}, | 278 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, |
279 | {BRIDGE, 0x00, 0x0d}, | 279 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0d}, |
280 | {BRIDGE, 0x01, 0x00}, | 280 | {BRIDGE, M5602_XB_SENSOR_CTRL, 0x00}, |
281 | {BRIDGE, 0x77, 0x01}, | 281 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, |
282 | {BRIDGE, 0x77, 0x01}, | 282 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, |
283 | {BRIDGE, 0x15, 0x00}, | 283 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, |
284 | {BRIDGE, 0x14, 0xb0}, | 284 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
285 | {BRIDGE, 0x60, 0xc0}, | 285 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, |
286 | {BRIDGE, 0x00, 0x0c}, | 286 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, |
287 | {BRIDGE, 0x77, 0x05}, | 287 | {BRIDGE, M5602_XB_GPIO_DIR, 0x05}, |
288 | {BRIDGE, 0x76, 0x00}, | 288 | {BRIDGE, M5602_XB_GPIO_DAT, 0x00}, |
289 | {BRIDGE, 0x74, 0x06}, | 289 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
290 | {BRIDGE, 0x75, 0x00}, | 290 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, |
291 | {SENSOR, 0x12, 0x80}, | 291 | {SENSOR, OV7660_COM7, 0x80}, |
292 | {SENSOR, 0x11, 0x80}, | 292 | {SENSOR, OV7660_CLKRC, 0x80}, |
293 | {SENSOR, 0x01, 0x80}, | 293 | {SENSOR, OV7660_BLUE_GAIN, 0x80}, |
294 | {SENSOR, 0x02, 0x80}, | 294 | {SENSOR, OV7660_RED_GAIN, 0x80}, |
295 | {SENSOR, 0x14, 0x4c}, | 295 | {SENSOR, OV7660_COM9, 0x4c}, |
296 | {SENSOR, 0x39, 0x43}, | 296 | {SENSOR, OV7660_OFON, 0x43}, |
297 | {SENSOR, 0x3c, 0x28}, | 297 | {SENSOR, OV7660_COM12, 0x28}, |
298 | {SENSOR, 0x13, 0x00}, | 298 | {SENSOR, OV7660_COM8, 0x00}, |
299 | {SENSOR, 0x15, 0x40}, | 299 | {SENSOR, OV7660_COM10, 0x40}, |
300 | {SENSOR, 0x17, 0x0c}, | 300 | {SENSOR, OV7660_HSTART, 0x0c}, |
301 | {SENSOR, 0x18, 0x61}, | 301 | {SENSOR, OV7660_HSTOP, 0x61}, |
302 | {SENSOR, 0x32, 0xa4}, | 302 | {SENSOR, OV7660_HREF, 0xa4}, |
303 | {SENSOR, 0x1b, 0x0b}, | 303 | {SENSOR, OV7660_PSHFT, 0x0b}, |
304 | {SENSOR, 0x19, 0x01}, | 304 | {SENSOR, OV7660_VSTART, 0x01}, |
305 | {SENSOR, 0x1a, 0x7a}, | 305 | {SENSOR, OV7660_VSTOP, 0x7a}, |
306 | {SENSOR, 0x03, 0x00}, | 306 | {SENSOR, OV7660_VSTOP, 0x00}, |
307 | {SENSOR, 0x12, 0x05}, | 307 | {SENSOR, OV7660_COM7, 0x05}, |
308 | {SENSOR, 0x0f, 0x42}, | 308 | {SENSOR, OV7660_COM6, 0x42}, |
309 | {SENSOR, 0x27, 0x94}, | 309 | {SENSOR, OV7660_BBIAS, 0x94}, |
310 | {SENSOR, 0x28, 0x94}, | 310 | {SENSOR, OV7660_GbBIAS, 0x94}, |
311 | {SENSOR, 0x29, 0x94}, | 311 | {SENSOR, OV7660_RSVD29, 0x94}, |
312 | {SENSOR, 0x2c, 0x94}, | 312 | {SENSOR, OV7660_RBIAS, 0x94}, |
313 | {SENSOR, 0x04, 0x00}, | 313 | {SENSOR, OV7660_COM1, 0x00}, |
314 | {SENSOR, 0x10, 0x00}, | 314 | {SENSOR, OV7660_AECH, 0x00}, |
315 | {SENSOR, 0x07, 0x00}, | 315 | {SENSOR, OV7660_AECHH, 0x00}, |
316 | {SENSOR, 0x37, 0x05}, | 316 | {SENSOR, OV7660_ADC, 0x05}, |
317 | {SENSOR, 0x3d, 0x00}, | 317 | {SENSOR, OV7660_COM13, 0x00}, |
318 | {SENSOR, 0xa1, 0x23}, | 318 | {SENSOR, OV7660_RSVDA1, 0x23}, |
319 | {SENSOR, 0x3a, 0x0d}, | 319 | {SENSOR, OV7660_TSLB, 0x0d}, |
320 | {SENSOR, 0x69, 0x80}, | 320 | {SENSOR, OV7660_HV, 0x80}, |
321 | {SENSOR, 0x62, 0x00}, | 321 | {SENSOR, OV7660_LCC1, 0x00}, |
322 | {SENSOR, 0x63, 0x00}, | 322 | {SENSOR, OV7660_LCC2, 0x00}, |
323 | {SENSOR, 0x64, 0x10}, | 323 | {SENSOR, OV7660_LCC3, 0x10}, |
324 | {SENSOR, 0x65, 0x40}, | 324 | {SENSOR, OV7660_LCC4, 0x40}, |
325 | {SENSOR, 0x66, 0x01}, | 325 | {SENSOR, OV7660_LCC5, 0x01}, |
326 | {BRIDGE, 0x15, 0x06}, | 326 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, |
327 | {BRIDGE, 0x14, 0xb0}, | 327 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
328 | {BRIDGE, 0x60, 0xc0}, | 328 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, |
329 | {BRIDGE, 0x00, 0x0c}, | 329 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, |
330 | {BRIDGE, 0x02, 0x81}, | 330 | {BRIDGE, M5602_XB_LINE_OF_FRAME_H, 0x81}, |
331 | {BRIDGE, 0x04, 0x82}, | 331 | {BRIDGE, M5602_XB_PIX_OF_LINE_H, 0x82}, |
332 | {BRIDGE, 0x0a, 0x01}, | 332 | {BRIDGE, M5602_XB_SIG_INI, 0x01}, |
333 | {BRIDGE, 0x06, 0x00}, | 333 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
334 | {BRIDGE, 0x06, 0x08}, | 334 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x08}, |
335 | {BRIDGE, 0x06, 0x00}, | 335 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
336 | {BRIDGE, 0x06, 0x00}, | 336 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
337 | {BRIDGE, 0x06, 0x01}, | 337 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x01}, |
338 | {BRIDGE, 0x06, 0xec}, | 338 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, |
339 | {BRIDGE, 0x06, 0x00}, | 339 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
340 | {BRIDGE, 0x06, 0x00}, | 340 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
341 | {BRIDGE, 0x0a, 0x00}, | 341 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, |
342 | {BRIDGE, 0x0a, 0x02}, | 342 | {BRIDGE, M5602_XB_SIG_INI, 0x02}, |
343 | {BRIDGE, 0x07, 0x00}, | 343 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x00}, |
344 | {BRIDGE, 0x07, 0x27}, | 344 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x27}, |
345 | {BRIDGE, 0x07, 0x02}, | 345 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, |
346 | {BRIDGE, 0x07, 0xae}, | 346 | {BRIDGE, M5602_XB_HSYNC_PARA, 0xae}, |
347 | {BRIDGE, 0x0a, 0x00}, | 347 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, |
348 | {SENSOR, 0x01, 0x80}, | 348 | {SENSOR, OV7660_BLUE_GAIN, 0x80}, |
349 | {SENSOR, 0x02, 0x80}, | 349 | {SENSOR, OV7660_RED_GAIN, 0x80}, |
350 | {BRIDGE, 0x15, 0x02}, | 350 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x02}, |
351 | {BRIDGE, 0x14, 0xb0}, | 351 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
352 | {SENSOR, 0x10, 0x20}, | 352 | {SENSOR, OV7660_AECH, 0x20}, |
353 | {SENSOR, 0x04, 0x00}, | 353 | {SENSOR, OV7660_COM1, 0x00}, |
354 | {SENSOR, 0x00, 0x07}, | 354 | {SENSOR, OV7660_GAIN, 0x07}, |
355 | {SENSOR, 0x39, 0x0c}, | 355 | {SENSOR, OV7660_OFON, 0x0c}, |
356 | {SENSOR, 0x09, 0x11}, | 356 | {SENSOR, OV7660_COM2, 0x11}, |
357 | {SENSOR, 0x12, 0x05}, | 357 | {SENSOR, OV7660_COM7, 0x05}, |
358 | {BRIDGE, 0x77, 0x01}, | 358 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, |
359 | {BRIDGE, 0x76, 0x04}, | 359 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, |
360 | {BRIDGE, 0x74, 0x06}, | 360 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
361 | {BRIDGE, 0x72, 0x06}, | 361 | {BRIDGE, M5602_XB_GPIO_DIR_H, 0x06}, |
362 | {BRIDGE, 0x70, 0x00}, | 362 | {BRIDGE, M5602_XB_GPIO_DAT_H, 0x00}, |
363 | {BRIDGE, 0x15, 0x08}, | 363 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x08}, |
364 | {BRIDGE, 0x14, 0xb0}, | 364 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
365 | {BRIDGE, 0x15, 0x00}, | 365 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, |
366 | {BRIDGE, 0x14, 0xb0}, | 366 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
367 | {BRIDGE, 0x60, 0xc0}, | 367 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, |
368 | {BRIDGE, 0x00, 0x0c}, | 368 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, |
369 | {BRIDGE, 0x77, 0x05}, | 369 | {BRIDGE, M5602_XB_GPIO_DIR, 0x05}, |
370 | {BRIDGE, 0x76, 0x00}, | 370 | {BRIDGE, M5602_XB_GPIO_DAT, 0x00}, |
371 | {BRIDGE, 0x74, 0x06}, | 371 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
372 | {BRIDGE, 0x75, 0x00}, | 372 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, |
373 | {SENSOR, 0x12, 0x80}, | 373 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, |
374 | {SENSOR, 0x11, 0x80}, | 374 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
375 | {SENSOR, 0x01, 0x80}, | 375 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, |
376 | {SENSOR, 0x02, 0x80}, | 376 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, |
377 | {SENSOR, 0x14, 0x4c}, | 377 | {BRIDGE, M5602_XB_LINE_OF_FRAME_H, 0x81}, |
378 | {SENSOR, 0x39, 0x43}, | 378 | {BRIDGE, M5602_XB_PIX_OF_LINE_H, 0x82}, |
379 | {SENSOR, 0x3c, 0x28}, | 379 | {BRIDGE, M5602_XB_SIG_INI, 0x01}, |
380 | {SENSOR, 0x13, 0x00}, | 380 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
381 | {SENSOR, 0x15, 0x40}, | 381 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x08}, |
382 | {SENSOR, 0x17, 0x0c}, | 382 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
383 | {SENSOR, 0x18, 0x61}, | 383 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
384 | {SENSOR, 0x32, 0xa4}, | 384 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x01}, |
385 | {SENSOR, 0x1b, 0x0b}, | 385 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, |
386 | {SENSOR, 0x19, 0x01}, | 386 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
387 | {SENSOR, 0x1a, 0x7a}, | 387 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
388 | {SENSOR, 0x03, 0x00}, | 388 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, |
389 | {SENSOR, 0x12, 0x05}, | 389 | {BRIDGE, M5602_XB_SIG_INI, 0x02}, |
390 | {SENSOR, 0x0f, 0x42}, | 390 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x00}, |
391 | {SENSOR, 0x27, 0x94}, | 391 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x27}, |
392 | {SENSOR, 0x28, 0x94}, | 392 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, |
393 | {SENSOR, 0x29, 0x94}, | 393 | {BRIDGE, M5602_XB_HSYNC_PARA, 0xae}, |
394 | {SENSOR, 0x2c, 0x94}, | 394 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, |
395 | {SENSOR, 0x04, 0x00}, | 395 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, |
396 | {SENSOR, 0x10, 0x00}, | 396 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
397 | {SENSOR, 0x07, 0x00}, | 397 | {SENSOR, OV7660_AECH, 0x5f}, |
398 | {SENSOR, 0x37, 0x05}, | 398 | {SENSOR, OV7660_COM1, 0x03}, |
399 | {SENSOR, 0x3d, 0x00}, | 399 | {SENSOR, OV7660_GAIN, 0x02}, |
400 | {SENSOR, 0xa1, 0x23}, | 400 | {SENSOR, OV7660_OFON, 0x0c}, |
401 | {SENSOR, 0x3a, 0x0d}, | 401 | {SENSOR, OV7660_COM2, 0x11}, |
402 | {SENSOR, 0x69, 0x80}, | 402 | {SENSOR, OV7660_COM7, 0x05}, |
403 | {SENSOR, 0x62, 0x00}, | 403 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, |
404 | {SENSOR, 0x63, 0x00}, | 404 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, |
405 | {SENSOR, 0x64, 0x10}, | 405 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
406 | {SENSOR, 0x65, 0x40}, | 406 | {BRIDGE, M5602_XB_GPIO_DIR_H, 0x06}, |
407 | {SENSOR, 0x66, 0x01}, | 407 | {BRIDGE, M5602_XB_GPIO_DAT_H, 0x00}, |
408 | {BRIDGE, 0x15, 0x06}, | 408 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x08}, |
409 | {BRIDGE, 0x14, 0xb0}, | 409 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
410 | {BRIDGE, 0x60, 0xc0}, | 410 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, |
411 | {BRIDGE, 0x00, 0x0c}, | 411 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
412 | {BRIDGE, 0x02, 0x81}, | 412 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, |
413 | {BRIDGE, 0x04, 0x82}, | 413 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, |
414 | {BRIDGE, 0x0a, 0x01}, | 414 | {BRIDGE, M5602_XB_GPIO_DIR, 0x05}, |
415 | {BRIDGE, 0x06, 0x00}, | 415 | {BRIDGE, M5602_XB_GPIO_DAT, 0x00}, |
416 | {BRIDGE, 0x06, 0x08}, | 416 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
417 | {BRIDGE, 0x06, 0x00}, | 417 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, |
418 | {BRIDGE, 0x06, 0x00}, | 418 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, |
419 | {BRIDGE, 0x06, 0x01}, | 419 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
420 | {BRIDGE, 0x06, 0xec}, | 420 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, |
421 | {BRIDGE, 0x06, 0x00}, | 421 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, |
422 | {BRIDGE, 0x06, 0x00}, | 422 | {BRIDGE, M5602_XB_LINE_OF_FRAME_H, 0x81}, |
423 | {BRIDGE, 0x0a, 0x00}, | 423 | {BRIDGE, M5602_XB_PIX_OF_LINE_H, 0x82}, |
424 | {BRIDGE, 0x0a, 0x02}, | 424 | {BRIDGE, M5602_XB_SIG_INI, 0x01}, |
425 | {BRIDGE, 0x07, 0x00}, | 425 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
426 | {BRIDGE, 0x07, 0x27}, | 426 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x08}, |
427 | {BRIDGE, 0x07, 0x02}, | 427 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
428 | {BRIDGE, 0x07, 0xae}, | 428 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
429 | {BRIDGE, 0x0a, 0x00}, | 429 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x01}, |
430 | {SENSOR, 0x01, 0x80}, | 430 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, |
431 | {SENSOR, 0x02, 0x80}, | 431 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
432 | {BRIDGE, 0x15, 0x00}, | 432 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, |
433 | {BRIDGE, 0x14, 0xb0}, | 433 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, |
434 | {SENSOR, 0x10, 0x5f}, | 434 | {BRIDGE, M5602_XB_SIG_INI, 0x02}, |
435 | {SENSOR, 0x04, 0x03}, | 435 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x00}, |
436 | {SENSOR, 0x00, 0x02}, | 436 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x27}, |
437 | {SENSOR, 0x39, 0x0c}, | 437 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, |
438 | {SENSOR, 0x09, 0x11}, | 438 | {BRIDGE, M5602_XB_HSYNC_PARA, 0xae}, |
439 | {SENSOR, 0x12, 0x05}, | 439 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, |
440 | {BRIDGE, 0x77, 0x01}, | 440 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, |
441 | {BRIDGE, 0x76, 0x04}, | 441 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
442 | {BRIDGE, 0x74, 0x06}, | ||
443 | {BRIDGE, 0x72, 0x06}, | ||
444 | {BRIDGE, 0x70, 0x00}, | ||
445 | {BRIDGE, 0x15, 0x08}, | ||
446 | {BRIDGE, 0x14, 0xb0}, | ||
447 | {BRIDGE, 0x15, 0x00}, | ||
448 | {BRIDGE, 0x14, 0xb0}, | ||
449 | {BRIDGE, 0x60, 0xc0}, | ||
450 | {BRIDGE, 0x00, 0x0c}, | ||
451 | {BRIDGE, 0x77, 0x05}, | ||
452 | {BRIDGE, 0x76, 0x00}, | ||
453 | {BRIDGE, 0x74, 0x06}, | ||
454 | {BRIDGE, 0x75, 0x00}, | ||
455 | {SENSOR, 0x12, 0x80}, | ||
456 | {SENSOR, 0x11, 0x80}, | ||
457 | {SENSOR, 0x01, 0x80}, | ||
458 | {SENSOR, 0x02, 0x80}, | ||
459 | {SENSOR, 0x14, 0x4c}, | ||
460 | {SENSOR, 0x39, 0x43}, | ||
461 | {SENSOR, 0x3c, 0x28}, | ||
462 | {SENSOR, 0x13, 0x00}, | ||
463 | {SENSOR, 0x15, 0x40}, | ||
464 | {SENSOR, 0x17, 0x0c}, | ||
465 | {SENSOR, 0x18, 0x61}, | ||
466 | {SENSOR, 0x32, 0xa4}, | ||
467 | {SENSOR, 0x1b, 0x0b}, | ||
468 | {SENSOR, 0x19, 0x01}, | ||
469 | {SENSOR, 0x1a, 0x7a}, | ||
470 | {SENSOR, 0x03, 0x00}, | ||
471 | {SENSOR, 0x12, 0x05}, | ||
472 | {SENSOR, 0x0f, 0x42}, | ||
473 | {SENSOR, 0x27, 0x94}, | ||
474 | {SENSOR, 0x28, 0x94}, | ||
475 | {SENSOR, 0x29, 0x94}, | ||
476 | {SENSOR, 0x2c, 0x94}, | ||
477 | {SENSOR, 0x04, 0x00}, | ||
478 | {SENSOR, 0x10, 0x00}, | ||
479 | {SENSOR, 0x07, 0x00}, | ||
480 | {SENSOR, 0x37, 0x05}, | ||
481 | {SENSOR, 0x3d, 0x00}, | ||
482 | {SENSOR, 0xa1, 0x23}, | ||
483 | {SENSOR, 0x3a, 0x0d}, | ||
484 | {SENSOR, 0x69, 0x80}, | ||
485 | {SENSOR, 0x62, 0x00}, | ||
486 | {SENSOR, 0x63, 0x00}, | ||
487 | {SENSOR, 0x64, 0x10}, | ||
488 | {SENSOR, 0x65, 0x40}, | ||
489 | {SENSOR, 0x66, 0x01}, | ||
490 | {BRIDGE, 0x15, 0x06}, | ||
491 | {BRIDGE, 0x14, 0xb0}, | ||
492 | {BRIDGE, 0x60, 0xc0}, | ||
493 | {BRIDGE, 0x00, 0x0c}, | ||
494 | {BRIDGE, 0x02, 0x81}, | ||
495 | {BRIDGE, 0x04, 0x82}, | ||
496 | {BRIDGE, 0x0a, 0x01}, | ||
497 | {BRIDGE, 0x06, 0x00}, | ||
498 | {BRIDGE, 0x06, 0x08}, | ||
499 | {BRIDGE, 0x06, 0x00}, | ||
500 | {BRIDGE, 0x06, 0x00}, | ||
501 | {BRIDGE, 0x06, 0x01}, | ||
502 | {BRIDGE, 0x06, 0xec}, | ||
503 | {BRIDGE, 0x06, 0x00}, | ||
504 | {BRIDGE, 0x06, 0x00}, | ||
505 | {BRIDGE, 0x0a, 0x00}, | ||
506 | {BRIDGE, 0x0a, 0x02}, | ||
507 | {BRIDGE, 0x07, 0x00}, | ||
508 | {BRIDGE, 0x07, 0x27}, | ||
509 | {BRIDGE, 0x07, 0x02}, | ||
510 | {BRIDGE, 0x07, 0xae}, | ||
511 | {BRIDGE, 0x0a, 0x00}, | ||
512 | {SENSOR, 0x01, 0x80}, | ||
513 | {SENSOR, 0x02, 0x80}, | ||
514 | {BRIDGE, 0x15, 0x00}, | ||
515 | {BRIDGE, 0x14, 0xb0}, | ||
516 | {SENSOR, 0x10, 0x5f}, | ||
517 | {SENSOR, 0x04, 0x03}, | ||
518 | {SENSOR, 0x00, 0x02} | ||
519 | }; | 442 | }; |
520 | 443 | ||
521 | #endif | 444 | #endif |