diff mbox series

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

Message ID 20210803162641.1525980-4-nfraprado@collabora.com (mailing list archive)
State Changes Requested
Headers show
Series Add support for QCOM SPMI Flash LEDs | expand

Commit Message

NĂ­colas F. R. A. Prado Aug. 3, 2021, 4:26 p.m. UTC
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@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 mbox series

Patch

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