-
大小: 38.41MB文件類型: .zip金幣: 1下載: 0 次發布日期: 2023-06-30
- 語言: 其他
- 標簽: tc358749xbg??數據手冊??驅動源碼??
資源簡介
tc358749xbg詳細數據手冊以及官方提供的驅動源碼。驅動源碼在rk、全志平臺測試成功。
代碼片段和文件信息
/*
?*?drivers/media/i2c/soc_camera/xgold/tc358749xbg.c
?*
?*?tc358749xbg?sensor?driver
?*
?*?Copyright?(C)?2016?Fuzhou?Rockchip?Electronics?Co.?Ltd.
?*?Copyright?(C)?2012-2014?Intel?Mobile?Communications?GmbH
?*?Copyright?(C)?2008?Texas?Instruments.
?*?Author:?zhoupeng?
?*
?*?This?file?is?licensed?under?the?terms?of?the?GNU?General?Public?License
?*?version?2.?This?program?is?licensed?“as?is“?without?any?warranty?of?any
?*?kind?whether?express?or?implied.
?*
?*?Note:
?*
?*?v0.1.0:
?* 1.?Initialize?version;
?*/
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?
#include?“tc_camera_module.h“
#define?TC358749xbg_DRIVER_NAME?“tc358749xbg“
/*?product?ID?*/
#define?TC358749xbg_PID_MAGIC 0x4701
#define?TC358749xbg_PID_ADDR 0x0000
#define?INIT_END??????????????????????????????0x854A
#define?SYS_STATUS????????????????????????????0x8520
#define?CONFCTL???????????????????????????????0x0004
#define?VI_REP????????????????????????????????0x8576
#define?MASK_VOUT_COLOR_SEL???????????????????0xe0
#define?MASK_VOUT_COLOR_RGB_FULL??????????????0x00
#define?MASK_VOUT_COLOR_RGB_LIMITED???????????0x20
#define?MASK_VOUT_COLOR_601_YCBCR_FULL????????0x40
#define?MASK_VOUT_COLOR_601_YCBCR_LIMITED?????0x60
#define?MASK_VOUT_COLOR_709_YCBCR_FULL????????0x80
#define?MASK_VOUT_COLOR_709_YCBCR_LIMITED?????0xa0
#define?MASK_VOUT_COLOR_FULL_TO_LIMITED???????0xc0
#define?MASK_VOUT_COLOR_LIMITED_TO_FULL???????0xe0
#define?MASK_IN_REP_HEN???????????????????????0x10
#define?MASK_IN_REP???????????????????????????0x0f
/*?========================================================================?*/
/*?base?sensor?configs?*/
/*?========================================================================?*/
/*?MCLK:24MHz??1920x1080??30fps???mipi?4lane???800Mbps/lane?*/
static?struct?tc_camera_module_reg?tc358749xbg_init_tab_1920_1080_60fps[]?=?{
???//
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0004?0x0004?2}
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0002?0x7F80?2}
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0002?0x0000?2}
????//
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0020?0x508A?2}
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0022?0x0203?2}
{TC_CAMERA_MODULE_REG_TYPE_TIMEOUT?0x0000?0x0001?1}
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0022?0x0213?2}
????//
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0006?0x012C?2}
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0060?0x0001?2}
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x7080?0x0000?2}
????//
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0014?0x0000?2}
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0016?0x05FF?2}
????//
{TC_CAMERA_MODULE_REG_TYPE_DATA?0x0100?0x00000000
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-02-18?15:08??tc358749xbg\
?????文件????42826669??2018-03-01?13:51??tc358749xbg\TC358749XBG_en_full_V0741111.pdf
?????文件???????58533??2019-02-15?23:09??tc358749xbg\tc358749xbg_v4l2-i2c-subdev.c
評論
共有 條評論