From: Konrad Dybcio <konradybcio@gmail.com>
To: konradybcio@gmail.com
Cc: lauren.kelly@msn.com, Andy Gross <agross@kernel.org>,
Bjorn Andersson <bjorn.andersson@linaro.org>,
Rob Herring <robh+dt@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org
Subject: [PATCH v2 06/10] arm64: dts: qcom: kitakami: Add Synaptics touchscreen
Date: Wed, 29 Jul 2020 14:00:52 +0200 [thread overview]
Message-ID: <20200729120057.35079-7-konradybcio@gmail.com> (raw)
In-Reply-To: <20200729120057.35079-1-konradybcio@gmail.com>
All Kitakami devices seem to use the Synaptics RMI4
touchscreen attached to the same i2c bus. Configure and
enable it.
Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>
---
.../qcom/msm8994-sony-xperia-kitakami.dtsi | 45 ++++++++++++++++++-
1 file changed, 44 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi b/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi
index 4032b7478f04..696cd39852f4 100644
--- a/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami.dtsi
@@ -138,7 +138,34 @@ &blsp_i2c5 {
&blsp_i2c6 {
status = "okay";
- /* Synaptics touchscreen */
+ rmi4-i2c-dev@2c {
+ compatible = "syna,rmi4-i2c";
+ reg = <0x2c>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ interrupt-parent = <&tlmm>;
+ interrupts = <42 IRQ_TYPE_EDGE_FALLING>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&ts_int_active &ts_reset_active>;
+
+ vdd-supply = <&pm8994_l22>;
+ vio-supply = <&pm8994_s4>;
+
+ syna,reset-delay-ms = <220>;
+ syna,startup-delay-ms = <220>;
+
+ rmi4-f01@1 {
+ reg = <0x01>;
+ syna,nosleep-mode = <1>;
+ };
+
+ rmi4-f11@11 {
+ reg = <0x11>;
+ syna,sensor-type = <1>;
+ };
+ };
};
&blsp1_uart2 {
@@ -233,3 +260,19 @@ &sdhc1 {
* vqmmc-supply = <&pm8994_s4>;
*/
};
+
+&tlmm {
+ ts_int_active: ts-int-active {
+ pins = "gpio42";
+ drive-strength = <2>;
+ bias-disable;
+ input-enable;
+ };
+
+ ts_reset_active: ts-reset-active {
+ pins = "gpio109";
+ drive-strength = <2>;
+ bias-disable;
+ output-low;
+ };
+};
--
2.27.0
next prev parent reply other threads:[~2020-07-29 12:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-29 12:00 [PATCH v2 00/10] msm8992/4 updates Konrad Dybcio
2020-07-29 12:00 ` [PATCH v2 01/10] arm64: dts: qcom: msm8992: Add support for SDHCI2 Konrad Dybcio
2020-07-29 12:00 ` [PATCH v2 02/10] arm64: dts: qcom: msm8992: Add BLSP_I2C1 support Konrad Dybcio
2020-07-29 12:00 ` [PATCH v2 03/10] arm64: dts: qcom: talkman: Add Synaptics RMI4 touchscreen Konrad Dybcio
2020-07-29 12:00 ` [PATCH v2 04/10] arm64: dts: qcom: msm8994: Add USB support Konrad Dybcio
2020-07-29 12:00 ` [PATCH v2 05/10] arm64: dts: qcom: msm8992: " Konrad Dybcio
2020-07-29 12:00 ` Konrad Dybcio [this message]
2020-07-29 12:00 ` [PATCH v2 07/10] arm64: dts: qcom: msm8994: Add SDHCI2 node Konrad Dybcio
2020-07-29 12:00 ` [PATCH v2 08/10] arm64: dts: qcom: kitakami: Enable SDHCI2 Konrad Dybcio
2020-07-29 12:00 ` [PATCH v2 09/10] clk: qcom: gcc-msm8994: Fix up the driver and modernize it Konrad Dybcio
2020-07-29 12:04 ` Konrad Dybcio
2020-07-29 12:00 ` [PATCH v2 10/10] arm64: dts: qcom: msm8992/4: Add clocks property to gcc node Konrad Dybcio
2020-08-04 10:30 ` [PATCH v2 00/10] msm8992/4 updates Konrad Dybcio
2020-08-14 15:26 ` Konrad Dybcio
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=20200729120057.35079-7-konradybcio@gmail.com \
--to=konradybcio@gmail.com \
--cc=agross@kernel.org \
--cc=bjorn.andersson@linaro.org \
--cc=devicetree@vger.kernel.org \
--cc=lauren.kelly@msn.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
/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).