devon: Actuator noise reduction

details:

To eliminate the resonance noise during system vibrator vibrating, set actuator to
DAC 0 position,then the resonance noise can be obviously improved. To achieve
the combination between vibrator and camera AF actuator,we implement:
- Actuator separately control during camera power off.

Change-Id: I33c04bc917b55e68dc8481ed9d1c4fa6151c2059
Signed-off-by: qiaopf1 <qiaopf1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2230485
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <liuzy55@motorola.com>
Reviewed-by: <hedj3@motorola.com>
Reviewed-by: <yangmf3@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:
qiaopf1 authored and Carlos Pinho committed 2023-05-31 16:59:32 -03:00
1 parent 1bcdf8687c
commit 69731acb03
1 file changed
+27 -1
@@ -30,7 +30,7 @@
/*=================ACTUATOR HW INFO====================*/
#define DEVICE_NAME_LEN 32
#define MAX_ACTUATOR_NUM 4
#define MAX_ACTUATOR_NUM 5
#define REGULATOR_NAME_MAX_LEN 32
#define LENS_MAX_STAGES 10
@@ -54,6 +54,7 @@ typedef enum {
MOT_DEVICE_CAPRIP,
MOT_DEVICE_RHODE,
MOT_DEVICE_HAWAO,
MOT_DEVICE_DEVON,
MOT_DEVICE_NUM,
} mot_dev_type;
@@ -268,6 +269,31 @@ static const mot_dev_info mot_dev_list[MOT_DEVICE_NUM] = {
},
},
},
{
.dev_type = MOT_DEVICE_DEVON,
.dev_name = "devon",
.actuator_info = {
[0] = {
.actuator_type = MOT_ACTUATOR_DW9800V,
.dac_pos = 0,
.init_pos = 512,
.cci_addr = 0x0c,
.cci_dev = 0x00,
.cci_master = 0x0,
.regulator_list = {"camera_iovdd", "camera_main_afvdd"},
.regulator_volt_uv = {1800000, 2800000},
.park_lens_needed = true,
.launch_lens = {
.launch_lens_needed = true,
.launch_lens_step = {
{300, 150},
{200, 100},
{100, 62}
},
},
},
},
},
};
static uint32_t mot_device_index = MOT_DEVICE_NUM;