[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210803162641.1525980-4-nfraprado@collabora.com>
Date: Tue, 3 Aug 2021 13:26:39 -0300
From: Nícolas F. R. A. Prado
<nfraprado@...labora.com>
To: Pavel Machek <pavel@....cz>, Dan Murphy <dmurphy@...com>,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Andy Gross <agross@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Jacek Anaszewski <jacek.anaszewski@...il.com>
Cc: linux-leds@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
Brian Masney <masneyb@...tation.org>,
Luca Weiss <luca@...tu.xyz>,
Russell King <linux@...linux.org.uk>,
Georgi Djakov <georgi.djakov@...aro.org>,
linux-kernel@...r.kernel.org, phone-devel@...r.kernel.org,
~postmarketos/upstreaming@...ts.sr.ht, ~lkcamp/patches@...ts.sr.ht,
André Almeida <andrealmeid@...labora.com>,
kernel@...labora.com
Subject: [PATCH v3 3/5] ARM: qcom_defconfig: Enable QCOM SPMI Flash LEDs
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@...labora.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
Powered by blists - more mailing lists