camera: ois: modify aw86006 driver

optimize firmware upgrade time from 4.5s to 3.5s
aw86006 driver version v0.5.0.9

Change-Id: I0bb6963e9396d0b3fe4bc9213d18dcba326fb783
Signed-off-by: liuwang2 <liuwang2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2290795
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Shuo Wang <wangsh18@motorola.com>
Reviewed-by: <zhaoxy41@motorola.com>
Reviewed-by: <chenlj26@motorola.com>
Reviewed-by: Zhuoran Xu <xuzr3@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
liuwang2 2022-06-07 10:35:08 +08:00 • committed by zhaoji1
commit dfbf2d6327
2 changed files with 4 additions and 4 deletions

View file

@ -47,7 +47,7 @@
#include "cam_packet_util.h"
#include "cam_ois_aw86006.h"
#define AW86006_DRIVER_VERSION "v0.5.0.8"
#define AW86006_DRIVER_VERSION "v0.5.0.9"
#define AW86006_FW_NAME "mot_aw86006.prog"
const char fw_check_str[] = { 'A', 'W', 'I', 'N', 'I', 'C', 0, 0 };

View file

@ -130,11 +130,11 @@ enum soc_enum {
SOC_CONNECT_WRITE_LEN = 9,
SOC_ERASE_WRITE_LEN = 15,
SOC_READ_WRITE_LEN = 15,
SOC_ERASE_BLOCK_DELAY = 8,
SOC_ERASE_BLOCK_DELAY = 5,
SOC_WRITE_BLOCK_HEAD = 13,
SOC_WRITE_BLOCK_DELAY = 1000, /* us */
SOC_WRITE_BLOCK_DELAY = 600, /* us */
SOC_READ_BLOCK_DELAY = 200, /* us */
SOC_CONNECT_DELAY = 200, /* us */
SOC_CONNECT_DELAY = 100, /* us */
};
enum soc_flash_event {