From 9fc27a286495a5ae64ee8f64e265c687daeda02e Mon Sep 17 00:00:00 2001 From: kankan17 Date: Thu, 20 Jan 2022 14:51:57 +0800 Subject: [PATCH] arm64: defconfig: Flash compatible Distinguish IIC Flash Supplier. 1.add CAMERA_FLASH_IIC_COMPATIBLE config 2.add "CONFIG_CAMERA_FLASH_IIC_COMPATIBLE=y" in the hawao default config Change-Id: Ia495f91774971b142cca2c9078b5165d857d9a69 Signed-off-by: kankan17 Reviewed-on: https://gerrit.mot.com/2175299 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Reviewed-by: Long Cheng Reviewed-by: Zhuoran Xu Reviewed-by: Reviewed-by: PengFei Qiao Reviewed-by: Zhichao Chen Submit-Approved: Jira Key --- arch/arm64/Kconfig | 6 ++++++ arch/arm64/configs/vendor/ext_config/hawao-default.config | 1 + 2 files changed, 7 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index e4519a2c233d..acd3a7b6df4c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1691,3 +1691,9 @@ config CAMERA_FLASH_PWM default n help Enable it only for produts that control flash. + +config CAMERA_FLASH_IIC_COMPATIBLE + bool "auto select iic flash suppliers" + default n + help + Enable it, this is automatically selected flash supplers. diff --git a/arch/arm64/configs/vendor/ext_config/hawao-default.config b/arch/arm64/configs/vendor/ext_config/hawao-default.config index 7b3aac98d0db..e53a17c243b4 100644 --- a/arch/arm64/configs/vendor/ext_config/hawao-default.config +++ b/arch/arm64/configs/vendor/ext_config/hawao-default.config @@ -54,3 +54,4 @@ CONFIG_SEC_NFC_IF_I2C=y CONFIG_ZRAM_WRITEBACK=y CONFIG_CRYPTO_LZ4=y # CONFIG_QCOM_FSA4480_I2C is not set +CONFIG_CAMERA_FLASH_IIC_COMPATIBLE=y