Add OCFB feature in MT6595/MT6735/MT6752/MT6795

Add OCFB feature in MT6595/MT6735/MT6752/MT6795

[DESCRIPTION]

有客户要求開啟VSIM OCFB的功能,預防vsim電流過大,造成不預期的影響。

[SOLUTION]

In mcu/custom/driver/drv/misc_drv/project/custom_sim_driver.c, add the
following code
roject = _Default_BB/MTxxxx or customer’s specific project folder
•In void sim_init_all_cb(void) function, add the following codes
DCL_HANDLE handle;
PMU_CTRL_LDO_BUCK_SET_OCFB_EN val;
val.enable = DCL_TRUE;
val.mod = VSIM1;
handle = DclPMU_Open(DCL_PMU, FLAGS_NONE);
DclPMU_Control(handle, LDO_BUCK_SET_OCFB_EN, (DCL_CTRL_DATA_T*) &val);
#if defined(__GEMINI__)
val.mod = VSIM2;
DclPMU_Control(handle, LDO_BUCK_SET_OCFB_EN, (DCL_CTRL_DATA_T*) &val);
#endif
DclPMU_Close(handle);


Changes to be committed: (use "git restore --staged <file>..." to unstage) renamed: common/hal/imgsensor_metadata/sensor/casioxmainzyl_mipi_raw/config_static_metadata.sensor.casioxmainmipirawzyl.h -> common/hal/imgsensor_metadata/sensor/casioxmainzyl_mipi_raw/config_static_metadata.sensor.casioxmainzylmipiraw.h renamed: mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/MTKATMS_NVRAM_IF_casioxmainmipirawzyl.xlsx -> mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/MTKATMS_NVRAM_IF_casioxmainzylmipiraw.xlsx modified: mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_AE_custom_transform.cpp renamed: mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_COLOR_param_casioxmainmipirawzyl.h -> mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_COLOR_param_casioxmainzylmipiraw.h renamed: mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_FEATURE_version_casioxmainmipirawzyl.h -> mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_FEATURE_version_casioxmainzylmipiraw.h renamed: mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_flicker_para_casioxmainmipirawzyl.cpp -> mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_flicker_para_casioxmainzylmipiraw.cpp renamed: mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_gis_para_casioxmainmipirawzyl.h -> mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_gis_para_casioxmainzylmipiraw.h renamed: mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_info_casioxmainmipirawzyl.h -> mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_info_casioxmainzylmipiraw.h renamed: mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_tuning_para_casioxmainmipirawzyl.cpp -> mt6878/hal/imgsensor/ver1/casioxmainzyl_mipi_raw/camera_tuning_para_casioxmainzylmipiraw.cpp modified: mt6878/hal/lens/vcm/vcm_list.cpp renamed: oplus/mt6878/imgsensor_metadata/24706/casioxmainzyl_mipi_raw/config_static_metadata.lens.casioxmainmipirawzyl.h -> oplus/mt6878/imgsensor_metadata/24706/casioxmainzyl_mipi_raw/config_static_metadata.lens.casioxmainzylmipiraw.h renamed: oplus/mt6878/imgsensor_metadata/24706/casioxmainzyl_mipi_raw/config_static_metadata.module.casioxmainmipirawzyl.h -> oplus/mt6878/imgsensor_metadata/24706/casioxmainzyl_mipi_raw/config_static_metadata.module.casioxmainzylmipiraw.h
07-24
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值