image_sensor.h 16.9 KB
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592
/*****************************************************************************
*  Copyright Statement:
*  --------------------
*  This software is protected by Copyright and the information contained
*  herein is confidential. The software may not be copied and the information
*  contained herein may not be used or disclosed except with the written
*  permission of MediaTek Inc. (C) 2005
*
*  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
*  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
*  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
*  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
*  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
*  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
*  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
*  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
*  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
*  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
*  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
*  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
*  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
*  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
*  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
*  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
*  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
*  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
*  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
*  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
*  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
*  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/

/*****************************************************************************
 *
 * Filename:
 * ---------
 *   image_sensor.h
 *
 * Project:
 * --------
 *   MT6228
 *
 * Description:
 * ------------
 *   CMOS sensor header file
 *
 * Author:
 * -------
 * -------
 *
 *============================================================================
 *             HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *------------------------------------------------------------------------------
 *------------------------------------------------------------------------------
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 *
 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *============================================================================
 ****************************************************************************/
#ifndef _IMAGE_SENSOR_H
#define _IMAGE_SENSOR_H

#include "drv_features.h"
#include "image_sensor_nvram.h"
#include "sensor_comm_def.h"

#if (defined(MT9P012_RAW))
#include "image_sensor_MT9P012.h"
#endif
#if (defined(MT9P012_MIPI_RAW))
#include "image_sensor_MT9P012_MIPI.h"
#endif
#if (defined(MT9P013_RAW))
#include "image_sensor_MT9P013.h"
#endif
#if (defined(MT9P015_RAW))
#include "image_sensor_MT9P015.h"
#endif
#if (defined(MT9T013_RAW))
#include "image_sensor_MT9T013.h"
#endif
#if (defined(MT9D113_YUV))
#include "image_sensor_MT9D113.h"
#endif
#if (defined(MT9D115_YUV))
#include "image_sensor_MT9D115.h"
#endif
#if (defined(MT9P111_YUV))
#include "image_sensor_MT9P111.h"
#endif
#if (defined(BF3703_YUV))
#include "image_sensor_BF3703.h"
#endif
#if (defined(MT9D112_YUV))
#include "image_sensor_MT9D112.h"
#endif
#if (defined(OV5642_RAW) || defined(OV5642_YUV))
#include "image_sensor_OV5642.h"
#endif
#if (defined(OV5642_MIPI_RAW))
#include "image_sensor_OV5642_MIPI.h"
#endif  
#if (defined(OV5650_RAW))
#include "image_sensor_OV5650.h"
#endif
#if (defined(OV5650_MIPI_RAW))
#include "image_sensor_OV5650_MIPI.h"
#endif
#if (defined(OV5640_YUV))
#include "image_sensor_OV5640.h"
#endif
#if (defined(OV3640_RAW) || defined(OV3640_YUV) || defined(OV3640VGA_YUV))
#include "image_sensor_OV3640.h"
#endif
#if (defined(OV3647_RAW))
#include "image_sensor_OV3647.h"
#endif
#if (defined(OV2659_YUV))
#include "image_sensor_OV2659.h"
#endif
#if (defined(OV2655_RAW) || defined(OV2655_YUV))
#include "image_sensor_OV2655.h"
#endif
#if (defined(OV2650_RAW) || defined(OV2650_YUV))
#include "image_sensor_OV2650.h"
#endif
#if (defined(OV2640_RAW) || defined(OV2640_YUV))
#include "image_sensor_OV2640.h"
#endif
#if (defined(OV7670_YUV))
#include "image_sensor_OV7670.h"
#endif
#if (defined(OV7675_YUV))
#include "image_sensor_OV7675.h"
#endif
#if (defined(OV7690_YUV))
#include "image_sensor_OV7690.h"
#endif
#if (defined(MT9T113_YUV))
#include "image_sensor_MT9T113.h"
#endif
#if (defined(S5K3E2FX_RAW))
#include "image_sensor_S5K3E2FX.h"
#endif
#if (defined(S5K5BAFX_YUV))
#include "image_sensor_S5K5BAFX.h"
#endif
#if (defined(S5KA3DFX_YUV))
#include "image_sensor_S5KA3DFX.h"
#endif
#if (defined(S5K5CAGA_YUV))
#include "image_sensor_S5K5CAGA.h"
#endif
#if (defined(S5K4ECGX_YUV))
#include "image_sensor_S5K4ECGX.h"
#endif

#if (defined(SID020A_RAW))
#include "image_sensor_SID020A.h"
#endif
#if (defined(SID130B_YUV))
#include "image_sensor_SID130B.h"
#endif
#if (defined(SIM120C_YUV))
#include "image_sensor_SIM120C.h"
#endif
#if (defined(SIV120B_YUV))
#include "image_sensor_SIV120B.h"
#endif
#if (defined(SIV121D_YUV))
#include "image_sensor_SIV121D.h"
#endif
#if (defined(SIV100B_YUV))
#include "image_sensor_SIV100B.h"
#endif
#if (defined(SIC110A_YUV))
#include "image_sensor_SIC110A.h"
#endif
#if (defined(NOON200PC51_RAW))
#include "image_sensor_NOON200PC51.h"
#endif
#if (defined(NOON010PC30_YUV))
#include "image_sensor_NOON010PC30.h"
#endif
#if (defined(T8ET2_YUV))
#include "image_sensor_T8ET2.h"
#endif
#if (defined(GC0309_YUV))
#include "image_sensor_GC0309.h"
#endif
#if (defined(GC0308_YUV))
#include "image_sensor_GC0308.h"
#endif
#if (defined(GC0307_YUV))
#include "image_sensor_GC0307.h"
#endif
#if (defined(GC0329_YUV))
#include "image_sensor_GC0329.h"
#endif
#if (defined(HI251_YUV))
#include "image_sensor_HI251.h"
#endif
#if (defined(HI253_YUV))
#include "image_sensor_HI253.h"
#endif
#if (defined(GT2005_YUV))
#include "image_sensor_GT2005.h"
#endif

#if (defined(HI704_YUV))
#include "image_sensor_HI704.h"
#endif
#if (defined(PAS6327_YUV))
#include "image_sensor_PAS6327.h"
#endif
#if (defined(MC501CB_YUV))
#include "image_sensor_MC501CB.h"
#endif

#if (defined(SIC320A_SERIAL_YUV))
#include "image_sensor_SIC320A_SERIAL.h"
#endif	

#if (defined(GC6113_SERIAL_YUV))
#include "image_sensor_GC6113_SERIAL.h"
#endif	

#if (defined(GC0310_SERIAL_YUV))
#include "image_sensor_GC0310_SERIAL.h"
#endif	

#if (defined(SP0A18_YUV))
#include "image_sensor_SP0A18.h"
#endif	    // LQW
#if (defined(GC6123_SERIAL_YUV))
#if defined(__TOPWELL_SENSOR_GC0310_SERIAL__)
#include "image_sensor_GC0310_SERIAL.h"
#endif
#if defined(__TOPWELL_SENSOR_GC6113_SERIAL__)
#include "image_sensor_GC6113_SERIAL.h"
#endif
#if defined(__TOPWELL_SENSOR_BF3A01_SERIAL__)
#include "image_sensor_BF3A01_SERIAL.h"
#endif
#if defined(__TOPWELL_SENSOR_BF3901_SERIAL__)
#include "image_sensor_BF3901_SERIAL.h"
#endif
#if defined(__TOPWELL_SENSOR_HM0155_SERIAL__)
#include "image_sensor_HM0155_SERIAL.h"
#endif
#if defined(__TOPWELL_SENSOR_SP0829_SERIAL__)
#include "image_sensor_SP0829_SERIAL.h"
#endif
#if defined(__TOPWELL_SENSOR_GC6133_SERIAL__)
#include "image_sensor_GC6133_SERIAL.h"
#endif
#include "image_sensor_GC6123_SERIAL.h"
#endif
#if (defined(GC0311_YUV))
#include "image_sensor_GC0311.h"
#endif

#if (defined(HM0155_SERIAL_YUV))
#include "image_sensor_HM0155_SERIAL.h"
#endif	

#if (defined(PAS6180_SERIAL_YUV))
#include "image_sensor_PAS6180_SERIAL.h"
#endif	
#if (defined(BF3903_YUV))
#include "image_sensor_BF3903.h"
#endif	

#if (defined(BF3703_YUV))
#include "image_sensor_BF3703.h"
#endif	
#if (defined(SP0838_YUV))
#include "image_sensor_SP0838.h"
#endif	
#if (defined(HIQD1_SERIAL_YUV))
#include "image_sensor_HIQD1_SERIAL.h"
#endif	

#if (defined(GC6103_YUV))
#include "image_sensor_GC6103.h"
#endif
#if (defined(GC6103_SERIAL_YUV))
#include "image_sensor_GC6103_SERIAL.h"
#endif

#if (defined(SP0828_YUV))
#include "image_sensor_SP0828.h"
#endif 
#if (defined(__ATV_SUPPORT__))
#include "matv_hostdrv.h"
#endif
#if (defined(ET8EV3_MIPI_RAW))
#include "image_sensor_ET8EV3_MIPI.h"
#endif

#define CCT_END_ADDR FACTORY_END_ADDR

/* SENSOR CHIP VERSION */
#define MC501CB_SENSOR_ID                       0x0062
#define MC501CC_SENSOR_ID                       0x0074
#define MC501CA_SENSOR_ID                       0x0011

#define MT9P012_SENSOR_ID                       0x2801
#define MT9P012_MIPI_SENSOR_ID                  0x2801
#define MT9P013_SENSOR_ID                       0x2803
#define MT9P015_SENSOR_ID                       0x2803
#define MT9T013_SENSOR_ID                       0x2600
#define MT9D112_SENSOR_ID                       0x1580
#define MT9D113_SENSOR_ID                       0x2580
#define MT9T113_SENSOR_ID						0x4680
#define MT9P111_SENSOR_ID                       0x2880
#define BF3703_SENSOR_ID                        0x3703
#define NOON200PC51_SENSOR_ID                   0x006C
#define NOON010PC30_SENSOR_ID                   0x0086

#define OV5642_MIPI_SENSOR_ID                   0x5642
#define OV5642_SENSOR_ID                        0x5642
#define OV5640_SENSOR_ID                        0x5640
#define OV5650_SENSOR_ID                        0x5651
#define OV5650_MIPI_SENSOR_ID                        0x5651
#define OV3640_SENSOR_ID                        0x364C
#define OV3647_SENSOR_ID                        0x364A
#define OV2659_SENSOR_ID                        0x2656
#define OV2655_SENSOR_ID                        0x2656
#define OV2650_SENSOR_ID                        0x2652
#define OV2640_SENSOR_ID                        0x2642
#define OV9665_SENSOR_ID                        0x9663
#define OV7675_SENSOR_ID                        0x7673
#define OV7670_SENSOR_ID                        0x7673
#define OV7690_SENSOR_ID                        0x7691

#define SID020A_SENSOR_ID                       0x12B4
#define SIV100B_SENSOR_ID                       0x0C11
#define SIV120B_SENSOR_ID                       0x0012
#define SIM120C_SENSOR_ID                       0x0012
#define SID130B_SENSOR_ID                       0x001b
#define SIC110A_SENSOR_ID                       0x000D
#define SIV121D_SENSOR_ID                       0x00DE


#define S5KA3DFX_SENSOR_ID                      0x00AB
#define S5K5BAFX_SENSOR_ID                      0x05BA
#define S5K3E2FX_SENSOR_ID                      0x3E2F
#define S5K5CAGA_SENSOR_ID                      0x05CA

#define HI251_SENSOR_ID                         0x0084

#define GC0309_SENSOR_ID                        0x00a0
#define GC0308_SENSOR_ID                        0x009B
#define GC0307_SENSOR_ID                        0x0099
#define GC6103_SENSOR_ID                        0x00b0
#define GC6113_SERIAL_SENSOR_ID                        0x00b8
#define GC6103_SERIAL_SENSOR_ID                        0xb0
#define MT9D115_SENSOR_ID                       0x2580
#define HI704_SENSOR_ID                         0x0096
#define PAS6327_SENSOR_ID						0x6325

#define PAS6175_SENSOR_ID                       0x6175      //lqw

#define SP0A18_SENSOR_ID				        0x0a
#define SP0838_SENSOR_ID		                0x0027
#define GC0329_SENSOR_ID                        0x00C0
#define BF3903_SENSOR_ID				0x3803

#define PAS6175_SENSOR_ID                       0x6175
#define BF3703_SENSOR_ID				0x3703
#define BF3901_SERIAL_SENSOR_ID				0x3901
#define BF3A01_SERIAL_SENSOR_ID				0x0001
#define GC6113_SENSOR_ID                        0x00b8

#define SP0A18_SENSOR_ID				0x0a
#define SP0A19_SENSOR_ID				0xa6
#define SP0829_SERIAL_SENSOR_ID				0x9a

#define GC0311_SENSOR_ID                  0X00bb   

/* Serial Sensor (SPI Interface) */
#define SIC320A_SERIAL_SENSOR_ID				0x0011
#define HM0155_SERIAL_SENSOR_ID					0x1055
#define PAS6180_SERIAL_SENSOR_ID				0x6179
#define HIQD1_SERIAL_SENSOR_ID					0x00B2
#define SP0838_SENSOR_ID		0x0027
#define GC6133_SERIAL_SENSOR_ID					0x00BA
#define GC6123_SERIAL_SENSOR_ID					0x00B9
#define GC0310_SERIAL_SENSOR_ID					0xA310


#define  TOPWELL_SENSOR_ID      0x0000

/* sensor id definition */
#define OV7660_OMNIVISION       { 101, CMOS_SENSOR }
#define OV9650_OMNIVISION       { 102, CMOS_SENSOR }
#define MT9MX11_MICRON          { 103, CMOS_SENSOR }
#define S5K3AAEA_SAMSUNG        { 104, CMOS_SENSOR }
#define PO3030K_PIXELPLUS       { 105, CMOS_SENSOR }
#define PO3130D_PIXELPLUS       { 106, CMOS_SENSOR }
#define HV7131RP_HYNIX          { 107, CMOS_SENSOR }
#define NOON130PC20_SILICONFILE { 108, CMOS_SENSOR }
#define MT9D011_MICRON          { 109, CMOS_SENSOR }
#define S5K3BAFB_SAMSUNG        { 110, CMOS_SENSOR }
#define OV2630_OMNIVISION       { 111, CMOS_SENSOR }
#define NOON200PC11_SILICONFILE { 112, CMOS_SENSOR }
#define S5K83AFX_SAMSUNG        { 113, CMOS_SENSOR }
#define OM6802_PHILIPS          { 114, CMOS_SENSOR }
#define S5K53BEX_SAMSUNG        { 115, CMOS_SENSOR }
#define OV7670_OMNIVISION       { 116, CMOS_SENSOR }
#define OV9655_OMNIVISION       { 117, CMOS_SENSOR }
#define OV3630_OMNIVISION       { 118, CMOS_SENSOR }
#define NOON200PC20_SILICONFILE { 119, CMOS_SENSOR }
#define OV2640_OMNIVISION       { 120, CMOS_SENSOR }
#define MC501CA_MAGNACHIP       { 121, CMOS_SENSOR }
#define MT9T012_MICRON          { 122, CMOS_SENSOR }
#define MT9V112_MICRON          { 123, CMOS_SENSOR }
#define ET8EF2_TOSHIBA          { 124, CMOS_SENSOR }
#define ET8EE6_TOSHIBA          { 125, CMOS_SENSOR }
#define S5K4BAFX_SAMSUNG        { 126, CMOS_SENSOR }
#define OV3640_OMNIVISION       { 127, CMOS_SENSOR }
#define MT9P012_MICRON          { 128, CMOS_SENSOR }
#define OV2650_OMNIVISION       { 129, CMOS_SENSOR }
#define RJ53S1BA0C_SHARP        { 130, CMOS_SENSOR }
#define MT9T013_MICRON          { 131, CMOS_SENSOR }
#define SID020A_SET             { 132, CMOS_SENSOR }
#define MO4020_MOBIEN           { 133, CMOS_SENSOR }
#define OV3647_OMNIVISION       { 134, CMOS_SENSOR }
#define S5K3E2FX_SAMSUNG        { 135, CMOS_SENSOR }
#define MT9DX12_MICRON          { 136, CMOS_SENSOR }
#define MT9M113_MICRON          { 137, CMOS_SENSOR }
#define PO6030K_PIXELPLUS       { 138, CMOS_SENSOR }
#define PS6200K_PIXELPLUS       { 139, CMOS_SENSOR }
#define NOON200PC51_SILICONFILE { 140, CMOS_SENSOR }
#define NOON200PC40_SILICONFILE { 141, CMOS_SENSOR }
#define S5K4B2FX_SAMSUNG        { 142, CMOS_SENSOR }
#define OV5630_OMNIVISION       { 143, CMOS_SENSOR }
#define IMX058_SONY             { 144, CMOS_SENSOR }
#define OV2655_OMNIVISION       { 145, CMOS_SENSOR }
#define MT9P013_MICRON          { 146, CMOS_SENSOR }
#define MT9P015_MICRON          { 147, CMOS_SENSOR }
#define OV5642_OMNIVISION       { 148, CMOS_SENSOR } 
#define ET8EV3_MICRON           { 149, CMOS_SENSOR } // danbo add for ET8EV3
#define OV5650_OMNIVISION       { 150, CMOS_SENSOR } 
#define OV5650_MIPI_OMNIVISION  { 151, CMOS_SENSOR } 
#define SIV121D_SET                 { 152, CMOS_SENSOR } 

#define ADD_SENSOR(id, prefix_name, SensorIdx)\
{\
  id,\
  ##prefix_name##SensorFunc,\
  SensorIdx,\
}

extern IMAGE_SENSOR_LIST_STRUCT SensorList[MAX_SENSOR_SUPPORT_NUMBER + 1];

MM_ERROR_CODE_ENUM GetSensorInitFunc(P_IMAGE_SENSOR_LIST_STRUCT *pSensorList);

/* ------------------------ Camera HW API ------------------------ */
void CamRstPinCtrl(IMAGE_SENSOR_INDEX_ENUM Idx, kal_int8 Data);
void CamPdnPinCtrl(IMAGE_SENSOR_INDEX_ENUM Idx, kal_int8 Data);
void CamGetHWInfo(IMAGE_SENSOR_INDEX_ENUM Idx, P_IMAGE_SENSOR_HW_DEPENDENT_STRUCT Info);
void CisModulePowerOn(IMAGE_SENSOR_INDEX_ENUM Idx, kal_bool On);
void FlashlightPowerOn(IMAGE_SENSOR_INDEX_ENUM Idx, kal_bool On);


#if defined(__TOPWELL_SENSOR_MORE__)
extern void Topwell_Search_SensorID(void);
#endif

#endif /* _IMAGE_SENSOR_H */