penang: Actuator noise reduction

detalis:
Add MOT_DEVICE_PENANG for workaround, follow rhodec

Change-Id: I29ce4af36ebc4024f3152a0f7215e117a6ead3c2
Reviewed-on: https://gerrit.mot.com/2352675
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <chenlj26@motorola.com>
Reviewed-by: <huqian4@motorola.com>
Reviewed-by: Zhuoran Xu <xuzr3@motorola.com>
Reviewed-by: Long Cheng <chengl1@motorola.com>
Reviewed-by: Zhichao Chen <chenzc2@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
HQ Cam LiJunyu 2022-08-03 14:34:17 +08:00 • committed by zhaoji1
commit f7a4e1ba18

View file

@ -65,6 +65,7 @@ typedef enum {
MOT_DEVICE_CORFUR,
MOT_DEVICE_RHODEC,
MOT_DEVICE_RHODEI,
MOT_DEVICE_PENANG,
MOT_DEVICE_NUM,
} mot_dev_type;
@ -499,6 +500,32 @@ static const mot_dev_info mot_dev_list[MOT_DEVICE_NUM] = {
},
},
{
.dev_type = MOT_DEVICE_PENANG,
.actuator_num = 1,
.dev_name = "penang",
.actuator_info = {
[0] = {
.actuator_type = MOT_ACTUATOR_DW9800V,
.dac_pos = 0,
.init_pos = 512,
.cci_addr = 0x0c,
.cci_dev = 0x00,
.cci_master = 0x1,
.regulator_list = {"camera_ldo_dovdd", "pm6125_l21"},
.regulator_volt_uv = {1800000, 2800000},
.launch_lens = {
.launch_lens_needed = true,
.launch_lens_step = {
{200, 100},
{100, 60},
{50, 30},
},
},
},
},
},
};
static uint32_t mot_device_index = MOT_DEVICE_NUM;