[PATCH v3 3/5] ARM: qcom_defconfig: Enable QCOM SPMI Flash LEDs

Nícolas F. R. A. Prado nfraprado at collabora.com
Tue Aug 3 09:26:39 PDT 2021


Enable module for the Qualcomm SPMI Flash LEDs present on the PM8941
PMIC. These LEDs are used on phones based on the MSM8974 SoC like the
Nexus 5.

Also enable LED flash class since these LEDs make use of it.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
---

Changes in v3:
- Made CONFIG_LEDS_CLASS_FLASH =m

Changes in v2:
- Enabled CONFIG_LEDS_CLASS_FLASH since the driver now depends on it.

 arch/arm/configs/qcom_defconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig
index 9c286861a9c0..1be619a12637 100644
--- a/arch/arm/configs/qcom_defconfig
+++ b/arch/arm/configs/qcom_defconfig
@@ -206,6 +206,7 @@ CONFIG_MMC_SDHCI_PLTFM=y
 CONFIG_MMC_SDHCI_MSM=y
 CONFIG_NEW_LEDS=y
 CONFIG_LEDS_CLASS=y
+CONFIG_LEDS_CLASS_FLASH=m
 CONFIG_LEDS_GPIO=y
 CONFIG_LEDS_PM8058=y
 CONFIG_LEDS_TRIGGERS=y
@@ -308,3 +309,4 @@ CONFIG_QCOM_WDT=y
 CONFIG_ARM_PSCI=y
 CONFIG_CPU_FREQ=y
 CONFIG_CPUFREQ_DT=y
+CONFIG_LEDS_QCOM_SPMI_FLASH=m
-- 
2.32.0




More information about the linux-arm-kernel mailing list