From 4a52021f0c23026fdab3df751ce47e03ff0401c8 Mon Sep 17 00:00:00 2001 From: huaqin90 Date: Mon, 6 Dec 2021 19:01:21 +0800 Subject: [PATCH] define CONFIG_CAMERA_FLASH_PWM details: define CONFIG_CAMERA_FLASH_PWM for rhodep Eliminate impact on other projects Change-Id: I34641f8b8370a87030cdf24c4ccc244ae2dd1831 Signed-off-by: huaqin90 Reviewed-on: https://gerrit.mot.com/2136222 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Long Cheng Reviewed-by: Ying Xu Reviewed-by: Guobin Zhang Submit-Approved: Jira Key --- arch/arm64/Kconfig | 6 ++++++ .../configs/vendor/ext_config/debug-holi-rhodep.config | 1 + .../configs/vendor/ext_config/factory-holi-rhodep.config | 2 +- .../arm64/configs/vendor/ext_config/moto-holi-rhodep.config | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 6ca32117e06e..48d489e17dcc 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -1885,3 +1885,9 @@ config AW882XX_STEREO_SMARTPA default n help Enable it only for params of smartPA is stored in bin file. + +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/debug-holi-rhodep.config b/arch/arm64/configs/vendor/ext_config/debug-holi-rhodep.config index 13f71e03c466..701c9f48cd63 100644 --- a/arch/arm64/configs/vendor/ext_config/debug-holi-rhodep.config +++ b/arch/arm64/configs/vendor/ext_config/debug-holi-rhodep.config @@ -23,3 +23,4 @@ # CONFIG_PROVE_LOCKING is not set # CONFIG_RCU_TORTURE_TEST is not set # CONFIG_TEST_USER_COPY is not set +CONFIG_CAMERA_FLASH_PWM=y \ No newline at end of file diff --git a/arch/arm64/configs/vendor/ext_config/factory-holi-rhodep.config b/arch/arm64/configs/vendor/ext_config/factory-holi-rhodep.config index 830e8a22f610..81e70367af1f 100644 --- a/arch/arm64/configs/vendor/ext_config/factory-holi-rhodep.config +++ b/arch/arm64/configs/vendor/ext_config/factory-holi-rhodep.config @@ -13,4 +13,4 @@ # You can check the .config file to verify that your configuration option is # being set as expected. # - +CONFIG_CAMERA_FLASH_PWM=y diff --git a/arch/arm64/configs/vendor/ext_config/moto-holi-rhodep.config b/arch/arm64/configs/vendor/ext_config/moto-holi-rhodep.config index 421a8bf160c3..6ba3b682bcc3 100644 --- a/arch/arm64/configs/vendor/ext_config/moto-holi-rhodep.config +++ b/arch/arm64/configs/vendor/ext_config/moto-holi-rhodep.config @@ -23,3 +23,4 @@ CONFIG_AW882XX_STEREO_SMARTPA=y CONFIG_AW882XX_PARAMS_FROM_BIN=y # CONFIG_MICRON_UFSHID is not set CONFIG_QUP0_SE2_AP=y +CONFIG_CAMERA_FLASH_PWM=y \ No newline at end of file