Skip to contentSkip to conversation

arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen

PATCH Applied Raymond Hackley 3 participants 4 messages Jul 23, 2024 – Jul 29, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: msm8916-samsung-rossa: Add touchscreen

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

---
 .../boot/dts/qcom/msm8916-samsung-rossa.dts   | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm64/boot/dts/qcom/msm8916-samsung-rossa.dts +20 -0
index 1981bb71f6a9..3413b0970c4a 100644
@@ -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>;
Signature · 1 line
2.39.2
maintainer Applied
#3 lore raw
In reply to Raymond Hackley
Quoted 4 lines · Raymond Hackley

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,

Signature · 1 line
Bjorn Andersson <[email protected]>