* [PATCH] arm64: dts: qcom: msm8998-yoshino: Enable RGB led
@ 2024-03-16 12:10 Konrad Dybcio
2024-04-04 21:22 ` Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Konrad Dybcio @ 2024-03-16 12:10 UTC (permalink / raw)
To: Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Sebastian Raase, Konrad Dybcio
From: Konrad Dybcio <konradybcio@kernel.org>
Add the multicolor description and enable the PMI8998 LPG to expose the
RGB notification LED.
Signed-off-by: Konrad Dybcio <konradybcio@kernel.org>
---
Depends on: <20240315225237.1616550-1-linux@sraa.de>
---
.../boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi b/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi
index fdd3953938d9..d8cc0d729e99 100644
--- a/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8998-sony-xperia-yoshino.dtsi
@@ -418,6 +418,35 @@ vib_ldo_en: vib-ldo-en-state {
};
};
+&pmi8998_lpg {
+ qcom,power-source = <1>;
+
+ 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>;
+ };
+ };
+};
+
&qusb2phy {
status = "okay";
---
base-commit: 6a2bcf40b85ff77e3f32a2fbced3faaf3f59b43c
change-id: 20240316-topic-maple_led-f54a21620dd9
Best regards,
--
Konrad Dybcio <konrad.dybcio@linaro.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] arm64: dts: qcom: msm8998-yoshino: Enable RGB led
2024-03-16 12:10 [PATCH] arm64: dts: qcom: msm8998-yoshino: Enable RGB led Konrad Dybcio
@ 2024-04-04 21:22 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2024-04-04 21:22 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Konrad Dybcio
Cc: Marijn Suijten, linux-arm-msm, devicetree, linux-kernel,
Sebastian Raase, Konrad Dybcio
On Sat, 16 Mar 2024 13:10:46 +0100, Konrad Dybcio wrote:
> Add the multicolor description and enable the PMI8998 LPG to expose the
> RGB notification LED.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: msm8998-yoshino: Enable RGB led
commit: 7c2a774f028f6e2acc40bf969fcac288d3143c7f
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-04 21:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-16 12:10 [PATCH] arm64: dts: qcom: msm8998-yoshino: Enable RGB led Konrad Dybcio
2024-04-04 21:22 ` Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®