* [PATCH v2 1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs
2026-04-06 5:16 [PATCH v2 0/4] Describe more hardware of the HTC One (M8) Alexandre Messier via B4 Relay
@ 2026-04-06 5:16 ` Alexandre Messier via B4 Relay
2026-04-07 10:27 ` Konrad Dybcio
2026-04-06 5:16 ` [PATCH v2 2/4] ARM: dts: qcom: msm8974pro-htc-m8: add NFC support Alexandre Messier via B4 Relay
` (3 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Alexandre Messier via B4 Relay @ 2026-04-06 5:16 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Luca Weiss, linux-arm-kernel, linux-arm-msm,
~postmarketos/upstreaming, phone-devel, devicetree, linux-kernel,
Alexandre Messier, Lee Jones, Pavel Machek, linux-leds
From: Alexandre Messier <alex@me.ssier.org>
Add support for the notification LEDs on the HTC One M8.
Two LEDs are available, one orange and one green. Together,
they both form a single notification source, so use a
multicolor LED node to describe this arrangement.
Cc: Lee Jones <lee@kernel.org>
Cc: Pavel Machek <pavel@kernel.org>
Cc: linux-leds@vger.kernel.org
Signed-off-by: Alexandre Messier <alex@me.ssier.org>
---
arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts | 25 +++++++++++++++++++++++
1 file changed, 25 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 402372834c53..37df271dbdeb 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,30 @@ vreg_vph_pwr: vreg-vph-pwr {
};
};
+&pm8941_lpg {
+ qcom,power-source = <1>;
+
+ status = "okay";
+
+ multi-led {
+ color = <LED_COLOR_ID_MULTI>;
+ function = LED_FUNCTION_STATUS;
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ led@6 {
+ reg = <6>;
+ color = <LED_COLOR_ID_GREEN>;
+ };
+
+ led@7 {
+ reg = <7>;
+ color = <LED_COLOR_ID_ORANGE>;
+ };
+ };
+};
+
&pm8941_vib {
status = "okay";
};
--
2.53.0
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH v2 1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs
2026-04-06 5:16 ` [PATCH v2 1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs Alexandre Messier via B4 Relay
@ 2026-04-07 10:27 ` Konrad Dybcio
0 siblings, 0 replies; 9+ messages in thread
From: Konrad Dybcio @ 2026-04-07 10:27 UTC (permalink / raw)
To: alex, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Luca Weiss, linux-arm-kernel, linux-arm-msm,
~postmarketos/upstreaming, phone-devel, devicetree, linux-kernel,
Lee Jones, Pavel Machek, linux-leds
On 4/6/26 7:16 AM, Alexandre Messier via B4 Relay wrote:
> From: Alexandre Messier <alex@me.ssier.org>
>
> Add support for the notification LEDs on the HTC One M8.
>
> Two LEDs are available, one orange and one green. Together,
> they both form a single notification source, so use a
> multicolor LED node to describe this arrangement.
>
> Cc: Lee Jones <lee@kernel.org>
> Cc: Pavel Machek <pavel@kernel.org>
> Cc: linux-leds@vger.kernel.org
> Signed-off-by: Alexandre Messier <alex@me.ssier.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 2/4] ARM: dts: qcom: msm8974pro-htc-m8: add NFC support
2026-04-06 5:16 [PATCH v2 0/4] Describe more hardware of the HTC One (M8) Alexandre Messier via B4 Relay
2026-04-06 5:16 ` [PATCH v2 1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs Alexandre Messier via B4 Relay
@ 2026-04-06 5:16 ` Alexandre Messier via B4 Relay
2026-04-07 10:27 ` Konrad Dybcio
2026-04-06 5:16 ` [PATCH v2 3/4] ARM: dts: qcom: msm8974pro-htc-m8: add Bluetooth pins Alexandre Messier via B4 Relay
` (2 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: Alexandre Messier via B4 Relay @ 2026-04-06 5:16 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Luca Weiss, linux-arm-kernel, linux-arm-msm,
~postmarketos/upstreaming, phone-devel, devicetree, linux-kernel,
Alexandre Messier
From: Alexandre Messier <alex@me.ssier.org>
Add the NFC chip used in the HTC One M8 to its device tree.
The downstream vendor kernel used an I2C frequency of 384 kHz
for this bus. Use the same value as the vendor.
Signed-off-by: Alexandre Messier <alex@me.ssier.org>
---
arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts | 16 ++++++++++++++++
1 file changed, 16 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 37df271dbdeb..f24882dbeef3 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
@@ -65,6 +65,22 @@ vreg_vph_pwr: vreg-vph-pwr {
};
};
+&blsp1_i2c3 {
+ clock-frequency = <384000>;
+
+ status = "okay";
+
+ nfc@28 {
+ compatible = "nxp,pn544-i2c";
+ reg = <0x28>;
+
+ interrupts-extended = <&tlmm 144 IRQ_TYPE_LEVEL_HIGH>;
+
+ enable-gpios = <&tlmm 2 GPIO_ACTIVE_LOW>;
+ firmware-gpios = <&tlmm 3 GPIO_ACTIVE_HIGH>;
+ };
+};
+
&pm8941_lpg {
qcom,power-source = <1>;
--
2.53.0
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH v2 2/4] ARM: dts: qcom: msm8974pro-htc-m8: add NFC support
2026-04-06 5:16 ` [PATCH v2 2/4] ARM: dts: qcom: msm8974pro-htc-m8: add NFC support Alexandre Messier via B4 Relay
@ 2026-04-07 10:27 ` Konrad Dybcio
0 siblings, 0 replies; 9+ messages in thread
From: Konrad Dybcio @ 2026-04-07 10:27 UTC (permalink / raw)
To: alex, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Luca Weiss, linux-arm-kernel, linux-arm-msm,
~postmarketos/upstreaming, phone-devel, devicetree, linux-kernel
On 4/6/26 7:16 AM, Alexandre Messier via B4 Relay wrote:
> From: Alexandre Messier <alex@me.ssier.org>
>
> Add the NFC chip used in the HTC One M8 to its device tree.
>
> The downstream vendor kernel used an I2C frequency of 384 kHz
> for this bus. Use the same value as the vendor.
>
> Signed-off-by: Alexandre Messier <alex@me.ssier.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v2 3/4] ARM: dts: qcom: msm8974pro-htc-m8: add Bluetooth pins
2026-04-06 5:16 [PATCH v2 0/4] Describe more hardware of the HTC One (M8) Alexandre Messier via B4 Relay
2026-04-06 5:16 ` [PATCH v2 1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs Alexandre Messier via B4 Relay
2026-04-06 5:16 ` [PATCH v2 2/4] ARM: dts: qcom: msm8974pro-htc-m8: add NFC support Alexandre Messier via B4 Relay
@ 2026-04-06 5:16 ` Alexandre Messier via B4 Relay
2026-04-06 5:17 ` [PATCH v2 4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen Alexandre Messier via B4 Relay
2026-07-05 20:57 ` [PATCH v2 0/4] Describe more hardware of the HTC One (M8) Bjorn Andersson
4 siblings, 0 replies; 9+ messages in thread
From: Alexandre Messier via B4 Relay @ 2026-04-06 5:16 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Luca Weiss, linux-arm-kernel, linux-arm-msm,
~postmarketos/upstreaming, phone-devel, devicetree, linux-kernel,
Alexandre Messier, Konrad Dybcio
From: Alexandre Messier <alex@me.ssier.org>
Add the required pin configuration to enable Bluetooth.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Alexandre Messier <alex@me.ssier.org>
---
arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)
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 f24882dbeef3..2edf407db567 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
@@ -354,10 +354,19 @@ cmd-data-pins {
};
wcnss_pin_a: wcnss-pin-active-state {
- pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
- function = "wlan";
- drive-strength = <6>;
- bias-pull-down;
+ bt-pins {
+ pins = "gpio35", "gpio43", "gpio44";
+ function = "bt";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+
+ wlan-pins {
+ pins = "gpio36", "gpio37", "gpio38", "gpio39", "gpio40";
+ function = "wlan";
+ drive-strength = <6>;
+ bias-pull-down;
+ };
};
};
--
2.53.0
^ permalink raw reply [flat|nested] 9+ messages in thread* [PATCH v2 4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen
2026-04-06 5:16 [PATCH v2 0/4] Describe more hardware of the HTC One (M8) Alexandre Messier via B4 Relay
` (2 preceding siblings ...)
2026-04-06 5:16 ` [PATCH v2 3/4] ARM: dts: qcom: msm8974pro-htc-m8: add Bluetooth pins Alexandre Messier via B4 Relay
@ 2026-04-06 5:17 ` Alexandre Messier via B4 Relay
2026-04-07 10:28 ` Konrad Dybcio
2026-07-05 20:57 ` [PATCH v2 0/4] Describe more hardware of the HTC One (M8) Bjorn Andersson
4 siblings, 1 reply; 9+ messages in thread
From: Alexandre Messier via B4 Relay @ 2026-04-06 5:17 UTC (permalink / raw)
To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley
Cc: Luca Weiss, linux-arm-kernel, linux-arm-msm,
~postmarketos/upstreaming, phone-devel, devicetree, linux-kernel,
Alexandre Messier
From: Alexandre Messier <alex@me.ssier.org>
Add the touchscreen device node for the HTC One (M8).
The downstream vendor kernel used an I2C frequency of 384 kHz
for this bus. Use the same value as the vendor.
Signed-off-by: Alexandre Messier <alex@me.ssier.org>
---
arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts | 36 +++++++++++++++++++++++
1 file changed, 36 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 2edf407db567..66ad93e7dd20 100644
--- a/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
+++ b/arch/arm/boot/dts/qcom/qcom-msm8974pro-htc-m8.dts
@@ -65,6 +65,35 @@ vreg_vph_pwr: vreg-vph-pwr {
};
};
+&blsp1_i2c2 {
+ clock-frequency = <384000>;
+
+ status = "okay";
+
+ touch@20 {
+ compatible = "syna,rmi4-i2c";
+ reg = <0x20>;
+
+ interrupts-extended = <&tlmm 18 IRQ_TYPE_LEVEL_LOW>;
+
+ pinctrl-0 = <&ts_int_pin>;
+ pinctrl-names = "default";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ rmi4-f01@1 {
+ reg = <0x1>;
+ syna,nosleep-mode = <1>;
+ };
+
+ rmi4-f11@11 {
+ reg = <0x11>;
+ syna,sensor-type = <1>;
+ };
+ };
+};
+
&blsp1_i2c3 {
clock-frequency = <384000>;
@@ -353,6 +382,13 @@ cmd-data-pins {
};
};
+ ts_int_pin: ts-int-pin-state {
+ pins = "gpio18";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
wcnss_pin_a: wcnss-pin-active-state {
bt-pins {
pins = "gpio35", "gpio43", "gpio44";
--
2.53.0
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: [PATCH v2 4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen
2026-04-06 5:17 ` [PATCH v2 4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen Alexandre Messier via B4 Relay
@ 2026-04-07 10:28 ` Konrad Dybcio
0 siblings, 0 replies; 9+ messages in thread
From: Konrad Dybcio @ 2026-04-07 10:28 UTC (permalink / raw)
To: alex, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: Luca Weiss, linux-arm-kernel, linux-arm-msm,
~postmarketos/upstreaming, phone-devel, devicetree, linux-kernel
On 4/6/26 7:17 AM, Alexandre Messier via B4 Relay wrote:
> From: Alexandre Messier <alex@me.ssier.org>
>
> Add the touchscreen device node for the HTC One (M8).
>
> The downstream vendor kernel used an I2C frequency of 384 kHz
> for this bus. Use the same value as the vendor.
>
> Signed-off-by: Alexandre Messier <alex@me.ssier.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Konrad
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v2 0/4] Describe more hardware of the HTC One (M8)
2026-04-06 5:16 [PATCH v2 0/4] Describe more hardware of the HTC One (M8) Alexandre Messier via B4 Relay
` (3 preceding siblings ...)
2026-04-06 5:17 ` [PATCH v2 4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen Alexandre Messier via B4 Relay
@ 2026-07-05 20:57 ` Bjorn Andersson
4 siblings, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2026-07-05 20:57 UTC (permalink / raw)
To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Alexandre Messier
Cc: Luca Weiss, linux-arm-kernel, linux-arm-msm,
~postmarketos/upstreaming, phone-devel, devicetree, linux-kernel,
Lee Jones, Pavel Machek, linux-leds, Konrad Dybcio
On Mon, 06 Apr 2026 01:16:56 -0400, Alexandre Messier wrote:
> Add hardware description for these parts of the HTC One (M8):
>
> - Notification LEDs
> - Bluetooth
> - NFC
> - Touchscreen
>
> [...]
Applied, thanks!
[1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs
commit: c11865aa07e8a1b1b3c50b995f7175312a4045a8
[2/4] ARM: dts: qcom: msm8974pro-htc-m8: add NFC support
commit: 858e8a50ba0c0c9caa45f25dfbbb8b6bb26154b0
[3/4] ARM: dts: qcom: msm8974pro-htc-m8: add Bluetooth pins
commit: 132a69d4092737d35470adc0f9c89fc68caf6288
[4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen
commit: 811a24b0ec0c3ec74dbe324c390b75a2b92571ea
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 9+ messages in thread