From d9df001ab8a8850984b2ca6362258948ade0c474 Mon Sep 17 00:00:00 2001 From: huaqin78 Date: Tue, 7 Dec 2021 23:18:21 +0800 Subject: [PATCH] Rhode: define CONFIG_CAMERA_FLASH_PWM details: define CONFIG_CAMERA_FLASH_PWM for rhode Eliminate impact on other projects Change-Id: I8507a14f3566b9be46b7e1040a06ea7c704a7309 Signed-off-by: huaqin78 Reviewed-on: https://gerrit.mot.com/2137558 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Long Cheng Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key Reviewed-by: PengFei Qiao Reviewed-by: Zhichao Chen --- arch/arm64/Kconfig | 6 ++++++ arch/arm64/configs/vendor/ext_config/rhode-default.config | 1 + 2 files changed, 7 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 3915b8ff02e5..e4519a2c233d 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1685,3 +1685,9 @@ config AF_NOISE_ELIMINATION default n help Enable it only for produts that suffering AF resonance noise. + +config CAMERA_FLASH_PWM + bool "control flash" + default n + help + Enable it only for produts that control flash. diff --git a/arch/arm64/configs/vendor/ext_config/rhode-default.config b/arch/arm64/configs/vendor/ext_config/rhode-default.config index ea64a44c5db5..335137b3b90e 100644 --- a/arch/arm64/configs/vendor/ext_config/rhode-default.config +++ b/arch/arm64/configs/vendor/ext_config/rhode-default.config @@ -44,3 +44,4 @@ CONFIG_SEC_NFC_PRODUCT_N5=y CONFIG_SEC_NFC_IF_I2C=y CONFIG_REGULATOR_WL2868C=y CONFIG_QCOM_I2C_NACK_ERR_WA=y +CONFIG_CAMERA_FLASH_PWM=y \ No newline at end of file