* [PATCH] arm64: dts: qcom: sdm845-enchilada: Add notification LED
@ 2025-09-04 13:54 David Heidelberg
2025-09-04 14:03 ` Konrad Dybcio
2025-09-17 0:45 ` Bjorn Andersson
0 siblings, 2 replies; 3+ messages in thread
From: David Heidelberg @ 2025-09-04 13:54 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Antonio Rische,
David Heidelberg
From: Antonio Rische <nt8r@protonmail.com>
Add the notification LED for the device.
The R/G/B channels are controlled by the PMI8998 LPG.
Signed-off-by: Antonio Rische <nt8r@protonmail.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
---
.../boot/dts/qcom/sdm845-oneplus-enchilada.dts | 28 ++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
index bfbc3e6e71bb5dc846f84260d2effe0b8af628c6..a259eb9d45ae07497d4ed31c643871eebe970200 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dts
@@ -5,6 +5,7 @@
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
*/
+#include <dt-bindings/leds/common.h>
#include "sdm845-oneplus-common.dtsi"
/ {
@@ -61,6 +62,33 @@ &pmi8998_charger {
monitored-battery = <&battery>;
};
+&pmi8998_lpg {
+ status = "okay";
+
+ multi-led {
+ color = <LED_COLOR_ID_RGB>;
+ function = LED_FUNCTION_STATUS;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@3 {
+ reg = <3>;
+ color = <LED_COLOR_ID_BLUE>;
+ };
+
+ led@4 {
+ reg = <4>;
+ color = <LED_COLOR_ID_GREEN>;
+ };
+
+ led@5 {
+ reg = <5>;
+ color = <LED_COLOR_ID_RED>;
+ };
+ };
+};
+
&sound {
model = "OnePlus 6";
audio-routing = "RX_BIAS", "MCLK",
---
base-commit: 4ac65880ebca1b68495bd8704263b26c050ac010
change-id: 20250904-enchilada-led-9440974a7d51
Best regards,
--
David Heidelberg <david@ixit.cz>
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] arm64: dts: qcom: sdm845-enchilada: Add notification LED
2025-09-04 13:54 [PATCH] arm64: dts: qcom: sdm845-enchilada: Add notification LED David Heidelberg
@ 2025-09-04 14:03 ` Konrad Dybcio
2025-09-17 0:45 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Konrad Dybcio @ 2025-09-04 14:03 UTC (permalink / raw)
To: David Heidelberg, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel, Antonio Rische
On 9/4/25 3:54 PM, David Heidelberg wrote:
> From: Antonio Rische <nt8r@protonmail.com>
>
> Add the notification LED for the device.
> The R/G/B channels are controlled by the PMI8998 LPG.
>
> Signed-off-by: Antonio Rische <nt8r@protonmail.com>
> Signed-off-by: David Heidelberg <david@ixit.cz>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arm64: dts: qcom: sdm845-enchilada: Add notification LED
2025-09-04 13:54 [PATCH] arm64: dts: qcom: sdm845-enchilada: Add notification LED David Heidelberg
2025-09-04 14:03 ` Konrad Dybcio
@ 2025-09-17 0:45 ` Bjorn Andersson
1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Andersson @ 2025-09-17 0:45 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
David Heidelberg
Cc: linux-arm-msm, devicetree, linux-kernel, Antonio Rische
On Thu, 04 Sep 2025 15:54:54 +0200, David Heidelberg wrote:
> Add the notification LED for the device.
> The R/G/B channels are controlled by the PMI8998 LPG.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: sdm845-enchilada: Add notification LED
commit: 8b9b2af6de97e2d2cfcfb5d92178c198f01e1559
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-17 0:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 13:54 [PATCH] arm64: dts: qcom: sdm845-enchilada: Add notification LED David Heidelberg
2025-09-04 14:03 ` Konrad Dybcio
2025-09-17 0:45 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox