[PATCH v1 09/11] arm64: dts: qcom: sm8250-lge-timelm: add SW42902 touchscreen
From: rofikkerneldev
Date: Tue Nov 17 2026 - 07:41:09 EST
Describe the SW42902 on GENI I2C13 with its interrupt, reset,
power-enable GPIOs, pinctrl, and native 1080x2460 touch area.
Signed-off-by: rofikkerneldev <rofikcoga@xxxxxxxxx>
---
.../arm64/boot/dts/qcom/sm8250-lge-timelm.dts | 36 +++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8250-lge-timelm.dts b/arch/arm64/boot/dts/qcom/sm8250-lge-timelm.dts
index fca48472f5dfe..a094aa81ad225 100644
--- a/arch/arm64/boot/dts/qcom/sm8250-lge-timelm.dts
+++ b/arch/arm64/boot/dts/qcom/sm8250-lge-timelm.dts
@@ -596,3 +596,39 @@ &mdss_dsi0_phy {
phy-type = <PHY_TYPE_DPHY>;
status = "okay";
};
+
+&i2c13 {
+ clock-frequency = <400000>;
+ status = "okay";
+
+ touchscreen@28 {
+ compatible = "lg,sw42902";
+ reg = <0x28>;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&touch_reset_default &touch_irq_default>;
+ interrupt-parent = <&tlmm>;
+ interrupts = <39 IRQ_TYPE_LEVEL_LOW>;
+ reset-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
+ vcl-gpios = <&tlmm 67 GPIO_ACTIVE_HIGH>;
+ vdd-gpios = <&tlmm 68 GPIO_ACTIVE_HIGH>;
+ touchscreen-size-x = <1080>;
+ touchscreen-size-y = <2460>;
+ };
+};
+
+&tlmm {
+ touch_reset_default: touch-reset-default-state {
+ pins = "gpio38";
+ function = "gpio";
+ drive-strength = <6>;
+ bias-pull-up;
+ };
+
+ touch_irq_default: touch-irq-default-state {
+ pins = "gpio39";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+};
--
2.39.5