mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
rhodei: Actuator noise reduction
detalis: add MOT_DEVICE_RHODEI for workaround Change-Id: I158117f91479a3e6c63cbc070de2f9dad5f337e9 Signed-off-by: hansx3 <hansx3@Lenovo.com> Reviewed-on: https://gerrit.mot.com/2227387 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: <liuzy55@motorola.com> Reviewed-by: XiaoFeng Wang <wangxf32@lenovo.com> Reviewed-by: Zhichao Chen <chenzc2@motorola.com> Tested-by: Jira Key Submit-Approved: Jira Key
This commit is contained in:
parent
82fb44bef6
commit
543572a53a
1 changed files with 28 additions and 0 deletions
|
|
@ -64,6 +64,7 @@ typedef enum {
|
|||
MOT_DEVICE_CORFUQ,
|
||||
MOT_DEVICE_CORFUR,
|
||||
MOT_DEVICE_RHODEC,
|
||||
MOT_DEVICE_RHODEI,
|
||||
MOT_DEVICE_NUM,
|
||||
} mot_dev_type;
|
||||
|
||||
|
|
@ -471,6 +472,33 @@ static const mot_dev_info mot_dev_list[MOT_DEVICE_NUM] = {
|
|||
},
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
.dev_type = MOT_DEVICE_RHODEI,
|
||||
.actuator_num = 1,
|
||||
.dev_name = "rhodei",
|
||||
.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 = {"pm6125_l9", "cam_rear_af"},
|
||||
.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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue