bangkk: Powerup and initialize sensor early [4/4]

Powering on and initializing main sensor in camera open instead of
streams configuration to optimize the startup KPI.
  It is a common feature and depends on sensor setting.
  It can save about 30ms.
Porting this func from (CR) and (CR).

mot-cam-category: KPI

Change-Id: I622db10b469c0e3f26619200bebad95836d8ed9f
Signed-off-by: Liu Yang <liuyang81@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2640370
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Zilong Zhang <zhangzl7@lenovo.com>
Reviewed-by: <leixu1@motorola.com>
Reviewed-by: Bolei Shang <shangbl1@lenovo.com>
Reviewed-by: <zhanys2@motorola.com>
Reviewed-by: <wuhao38@lenovo.com>
Reviewed-by: Ji Zhao <zhaoji1@lenovo.com>
Reviewed-by: Dongju He <hedj3@motorola.com>
Reviewed-by: <weilt2@motorola.com>
Reviewed-by: Zhuoran Xu <xuzr3@motorola.com>
Reviewed-by: Guobin Zhang <zhanggb@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
Liu Yang 2023-06-12 10:46:32 +08:00 • committed by Xiaojun Ji
commit 0c44b6ea8c
2 changed files with 7 additions and 0 deletions

View file

@ -1933,3 +1933,9 @@ config MOT_DONGWOON_OIS_AF_DRIFT
default n
help
Enable it will support dongwoon ois af drift.
config MOT_SENSOR_PRE_POWERUP
bool "For sensor power up and initialization early"
default n
help
Enable it to power up and initialise early.

View file

@ -41,3 +41,4 @@ CONFIG_QUP0_SE2_AP=y
CONFIG_CAMERA_FLASH_IIC_COMPATIBLE=y
CONFIG_EROFS_FS_PCPU_KTHREAD=y
CONFIG_EROFS_FS_PCPU_KTHREAD_HIPRI=y
CONFIG_MOT_SENSOR_PRE_POWERUP=y