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 4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen
Date: Tue, 07 Oct 2025 01:55:45 -0400 [thread overview]
Message-ID: <20251007-m8-dts-additions-v1-4-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 the touchscreen device node for the HTC One (M8).
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 36eb42f0f3d9..040a256f9465 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>;
@@ -358,6 +387,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.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 ` [PATCH 1/4] ARM: dts: qcom: msm8974pro-htc-m8: add status LEDs Alexandre Messier via B4 Relay
2025-10-07 10:03 ` 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 ` Alexandre Messier via B4 Relay [this message]
2025-10-07 10:04 ` [PATCH 4/4] ARM: dts: qcom: msm8974pro-htc-m8: add touchscreen 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-4-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).