新增4轮4转-补丁代码

This commit is contained in:
2026-01-09 16:48:24 +08:00
parent 43d95adee5
commit 0442bff0c6
10522 changed files with 4465174 additions and 0 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__ */