增加所有文件

This commit is contained in:
2025-11-07 10:05:24 +08:00
parent e248b10f07
commit 7dc1e89694
8376 changed files with 2995205 additions and 42 deletions

View File

@@ -0,0 +1,31 @@
/**
* @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__ */