From: Alexandre Messier via B4 Relay <devnull+alex.me.ssier.org@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: Luca Weiss <luca@lucaweiss.eu>,
linux-arm-kernel@lists.infradead.org,
linux-arm-msm@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht,
phone-devel@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Alexandre Messier <alex@me.ssier.org>
Subject: [PATCH 1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs
Date: Tue, 07 Oct 2025 01:55:42 -0400 [thread overview]
Message-ID: <20251007-m8-dts-additions-v1-1-53d7ab3594e7@me.ssier.org> (raw)
In-Reply-To: <20251007-m8-dts-additions-v1-0-53d7ab3594e7@me.ssier.org>
From: Alexandre Messier <alex@me.ssier.org>
Add support for the notification LEDs on the HTC One M8.
Two LEDs are available, one amber and one green.
Signed-off-by: Alexandre Messier <alex@me.ssier.org>
---
arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts b/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
index b896cc1ad6f7..9c3859069aba 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
@@ -3,6 +3,7 @@
#include "pm8841.dtsi"
#include "pm8941.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "HTC One (M8)";
@@ -64,6 +65,24 @@ vreg_vph_pwr: vreg-vph-pwr {
};
};
+&pm8941_lpg {
+ qcom,power-source = <1>;
+
+ status = "okay";
+
+ led@6 {
+ reg = <6>;
+ color = <LED_COLOR_ID_GREEN>;
+ function = LED_FUNCTION_STATUS;
+ };
+
+ led@7 {
+ reg = <7>;
+ color = <LED_COLOR_ID_AMBER>;
+ function = LED_FUNCTION_STATUS;
+ };
+};
+
&pm8941_vib {
status = "okay";
};
--
2.51.0
next prev parent reply other threads:[~2025-10-07 5:55 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-07 5:55 [PATCH 0/4] Describe more hardware of the HTC One (M8) Alexandre Messier via B4 Relay
2025-10-07 5:55 ` Alexandre Messier via B4 Relay [this message]
2025-10-07 10:03 ` [PATCH 1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs Konrad Dybcio
2025-10-12 6:03 ` Alexandre Messier
2025-10-20 12:02 ` Konrad Dybcio
2025-10-22 7:00 ` Alexandre Messier
2025-11-24 17:13 ` Pavel Machek
2025-10-07 5:55 ` [PATCH 2/4] ARM: dts: qcom: msm8974pro-htc-m8: add NFC support Alexandre Messier via B4 Relay
2025-10-07 10:03 ` Konrad Dybcio
2025-10-07 5:55 ` [PATCH 3/4] ARM: dts: qcom: msm8974pro-htc-m8: add Bluetooth pins Alexandre Messier via B4 Relay
2025-10-07 10:05 ` Konrad Dybcio
2025-10-07 5:55 ` [PATCH 4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen Alexandre Messier via B4 Relay
2025-10-07 10:04 ` Konrad Dybcio
2025-10-09 5:50 ` Alexandre Messier
2025-10-09 9:30 ` Konrad Dybcio
2025-10-12 6:06 ` Alexandre Messier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251007-m8-dts-additions-v1-1-53d7ab3594e7@me.ssier.org \
--to=devnull+alex.me.ssier.org@kernel.org \
--cc=alex@me.ssier.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca@lucaweiss.eu \
--cc=phone-devel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).