Files
E3/e3_176_ref/drivers/include/camera/cam_res.h
2025-10-21 19:40:27 +08:00

32 lines
640 B
C

/**
* @file cam_res.h
*
* @brief Semidrive camera resource header file
*
* @copyright Copyright (c) 2021 Semidrive Semiconductor.
* All rights reserved.
*
* Revision History:
* -----------------
*/
#ifndef __CAM_RES_H__
#define __CAM_RES_H__
enum camera_id { CAMERA_0 = 0, CAMERA_1, CAMERA_2, CAMERA_NUM };
struct camera_res_cfg {
unsigned int gpio[4];
unsigned int i2c_res;
unsigned int i2c_addr;
char *name;
void *i2c_handle;
};
extern struct camera_res_cfg g_cam_cfg[CAMERA_NUM];
#if CONFIG_CSI_IOMUX
extern void csi_iomux_cfg(int sel);
#endif
#endif /* __CAM_RES_H__ */