Linux ARM-MSM sub-architecture
 help / color / mirror / Atom feed
From: Dzmitry Sankouski <dsankouski@gmail.com>
To: cros-qcom-dts-watchers@chromium.org,
	 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: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	Dzmitry Sankouski <dsankouski@gmail.com>
Subject: [PATCH v5 09/12] arm64: dts: qcom: starqltechn: add touchscreen support
Date: Thu, 26 Sep 2024 17:22:09 +0300	[thread overview]
Message-ID: <20240926-starqltechn_integration_upstream-v5-9-d2084672ff2f@gmail.com> (raw)
In-Reply-To: <20240926-starqltechn_integration_upstream-v5-0-d2084672ff2f@gmail.com>

Add support for samsung,s6sy761 touchscreen.

Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
---
 arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
index 53b9a7d71f1d..00f67d1299b2 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
+++ b/arch/arm64/boot/dts/qcom/sdm845-samsung-starqltechn.dts
@@ -561,6 +561,23 @@ &sdhc_2 {
 	status = "okay";
 };
 
+&i2c11 {
+	clock-frequency = <400000>;
+	status = "okay";
+
+	touchscreen@48 {
+		compatible = "samsung,s6sy761";
+		reg = <0x48>;
+		interrupt-parent = <&tlmm>;
+		interrupts = <120 IRQ_TYPE_LEVEL_HIGH>;
+		vdd-supply = <&s2dos05_ldo2>;
+		avdd-supply = <&s2dos05_ldo3>;
+
+		pinctrl-0 = <&touch_irq_state>;
+		pinctrl-names = "default";
+	};
+};
+
 &usb_1 {
 	status = "okay";
 };
@@ -665,4 +682,15 @@ i2c21_scl_state: i2c21-scl-state {
 		drive-strength = <2>;
 		bias-disable;
 	};
+
+	touch_irq_state: touch-irq-state {
+		pins = "gpio120";
+		function = "gpio";
+		bias-disable;
+	};
+};
+
+&qup_i2c11_default {
+	drive-strength = <2>;
+	bias-disable;
 };

-- 
2.39.2


  parent reply	other threads:[~2024-09-26 14:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-26 14:22 [PATCH v5 00/12] This is continued work on Samsung S9(SM-9600) starqltechn Dzmitry Sankouski
2024-09-26 14:22 ` [PATCH v5 01/12] arm64: dts: qcom: sdm845: enable gmu Dzmitry Sankouski
2024-09-26 14:22 ` [PATCH v5 02/12] arm64: dts: qcom: starqltechn: remove wifi Dzmitry Sankouski
2024-09-26 14:41   ` Dmitry Baryshkov
2024-09-26 14:22 ` [PATCH v5 03/12] arm64: dts: qcom: starqltechn: fix usb regulator mistake Dzmitry Sankouski
2024-09-26 14:22 ` [PATCH v5 04/12] arm64: dts: qcom: starqltechn: refactor node order Dzmitry Sankouski
2024-09-26 14:22 ` [PATCH v5 05/12] arm64: dts: qcom: starqltechn: remove excess reserved gpios Dzmitry Sankouski
2024-09-26 14:22 ` [PATCH v5 06/12] arm64: dts: qcom: starqltechn: add gpio keys Dzmitry Sankouski
2024-09-26 14:22 ` [PATCH v5 07/12] arm64: dts: qcom: starqltechn: add max77705 PMIC Dzmitry Sankouski
2024-09-26 14:22 ` [PATCH v5 08/12] arm64: dts: qcom: starqltechn: add display PMIC Dzmitry Sankouski
2024-09-26 14:22 ` Dzmitry Sankouski [this message]
2024-09-26 14:22 ` [PATCH v5 10/12] arm64: dts: qcom: starqltechn: add initial sound support Dzmitry Sankouski
2024-09-26 14:22 ` [PATCH v5 11/12] arm64: dts: qcom: starqltechn: add graphics support Dzmitry Sankouski
2024-09-30  3:55   ` Bjorn Andersson
2024-09-26 14:22 ` [PATCH v5 12/12] arm64: dts: qcom: starqltechn: add modem support Dzmitry Sankouski

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=20240926-starqltechn_integration_upstream-v5-9-d2084672ff2f@gmail.com \
    --to=dsankouski@gmail.com \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@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