devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen
@ 2024-07-23 13:15 Raymond Hackley
  2024-07-23 13:27 ` Raymond Hackley
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Raymond Hackley @ 2024-07-23 13:15 UTC (permalink / raw)
  To: linux-kernel
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Stephan Gerhold, Nikita Travkin, linux-arm-msm,
	devicetree, phone-devel, ~postmarketos/upstreaming

Core Prime uses an Imagis IST3038 touchscreen that is connected to
blsp_i2c5. Add it to the device tree.

Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
---
 .../boot/dts/qcom/msm8916-samsung-rossa.dts   | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts
index 1981bb71f6a9..3413b0970c4a 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts
@@ -16,6 +16,26 @@ &battery {
 	constant-charge-voltage-max-microvolt = <4400000>;
 };
 
+&blsp_i2c5 {
+	touchscreen@50 {
+		compatible = "imagis,ist3038";
+		reg = <0x50>;
+
+		interrupts-extended = <&tlmm 13 IRQ_TYPE_EDGE_FALLING>;
+
+		touchscreen-size-x = <480>;
+		touchscreen-size-y = <800>;
+
+		vdd-supply = <&reg_vdd_tsp_a>;
+		vddio-supply = <&pm8916_l6>;
+
+		pinctrl-0 = <&tsp_int_default>;
+		pinctrl-names = "default";
+
+		linux,keycodes = <KEY_APPSELECT KEY_BACK>;
+	};
+};
+
 &mpss_mem {
 	/* Firmware for rossa needs more space */
 	reg = <0x0 0x86800000 0x0 0x5800000>;
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen
  2024-07-23 13:15 [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen Raymond Hackley
@ 2024-07-23 13:27 ` Raymond Hackley
  2024-07-23 13:31 ` Konrad Dybcio
  2024-07-29  3:58 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Raymond Hackley @ 2024-07-23 13:27 UTC (permalink / raw)
  To: raymondhackley
  Cc: andersson, conor+dt, devicetree, konrad.dybcio,
	krzysztof.kozlowski+dt, linux-arm-msm, linux-kernel, nikita,
	phone-devel, robh+dt, stephan, ~postmarketos/upstreaming,
	Juan-Rafael Fernandez

Tested-by: Juan-Rafael Fernandez <jrfern@proton.me>

Regards,
Raymond


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen
  2024-07-23 13:15 [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen Raymond Hackley
  2024-07-23 13:27 ` Raymond Hackley
@ 2024-07-23 13:31 ` Konrad Dybcio
  2024-07-29  3:58 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Konrad Dybcio @ 2024-07-23 13:31 UTC (permalink / raw)
  To: Raymond Hackley, linux-kernel
  Cc: Bjorn Andersson, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Stephan Gerhold, Nikita Travkin, linux-arm-msm, devicetree,
	phone-devel, ~postmarketos/upstreaming

On 23.07.2024 3:15 PM, Raymond Hackley wrote:
> Core Prime uses an Imagis IST3038 touchscreen that is connected to
> blsp_i2c5. Add it to the device tree.
> 
> Signed-off-by: Raymond Hackley <raymondhackley@protonmail.com>
> ---


Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen
  2024-07-23 13:15 [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen Raymond Hackley
  2024-07-23 13:27 ` Raymond Hackley
  2024-07-23 13:31 ` Konrad Dybcio
@ 2024-07-29  3:58 ` Bjorn Andersson
  2 siblings, 0 replies; 4+ messages in thread
From: Bjorn Andersson @ 2024-07-29  3:58 UTC (permalink / raw)
  To: linux-kernel, Raymond Hackley
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Stephan Gerhold, Nikita Travkin, linux-arm-msm, devicetree,
	phone-devel, ~postmarketos/upstreaming


On Tue, 23 Jul 2024 13:15:09 +0000, Raymond Hackley wrote:
> Core Prime uses an Imagis IST3038 touchscreen that is connected to
> blsp_i2c5. Add it to the device tree.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen
      commit: 2bb08c4c9adcff11855b4a8d5e2f583306da883b

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-29  3:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-23 13:15 [PATCH] arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen Raymond Hackley
2024-07-23 13:27 ` Raymond Hackley
2024-07-23 13:31 ` Konrad Dybcio
2024-07-29  3:58 ` Bjorn Andersson

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).