[PATCH v6 4/6] dt-bindings: input: touchscreen: add LG SW42902

From: Abdur Rofik

Date: Tue Nov 24 2026 - 22:28:34 EST


Document the LG SW42902 I2C touchscreen controller, including
its interrupt, reset GPIO, power supplies, and panel touch properties.

Signed-off-by: Abdur Rofik <rofikcoga@xxxxxxxxx>
---
.../input/touchscreen/lg,sw42902.yaml | 72 +++++++++++++++++++
MAINTAINERS | 6 ++
2 files changed, 78 insertions(+)
create mode 100644 Documentation/devicetree/bindings/input/touchscreen/lg,sw42902.yaml

diff --git a/Documentation/devicetree/bindings/input/touchscreen/lg,sw42902.yaml b/Documentation/devicetree/bindings/input/touchscreen/lg,sw42902.yaml
new file mode 100644
index 0000000000000..e8ef2d325635d
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/lg,sw42902.yaml
@@ -0,0 +1,72 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/input/touchscreen/lg,sw42902.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: LG SW42902 Touchscreen Controller
+
+maintainers:
+ - Abdur Rofik <rofikcoga@xxxxxxxxx>
+
+description:
+ The LG SW42902 is an I2C capacitive touchscreen controller used on the
+ LG V60 (timelm).
+
+allOf:
+ - $ref: touchscreen.yaml#
+
+properties:
+ compatible:
+ const: lg,sw42902
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ reset-gpios:
+ maxItems: 1
+ description: Active-low hardware reset
+
+ vcl-supply:
+ description: 3.3 V power supply
+
+ vdd-supply:
+ description: 1.8 V power supply
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - reset-gpios
+ - vcl-supply
+ - vdd-supply
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ touchscreen@48 {
+ compatible = "lg,sw42902";
+ reg = <0x48>;
+
+ interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>;
+
+ reset-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
+ vcl-supply = <&reg_ts_vcl>;
+ vdd-supply = <&reg_ts_vdd>;
+
+ touchscreen-size-x = <1080>;
+ touchscreen-size-y = <2460>;
+ };
+ };
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 6a41a0690d9f0..8c88429e647ba 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -15211,6 +15211,12 @@ F: Documentation/ABI/testing/sysfs-platform-lg-laptop
F: Documentation/admin-guide/laptops/lg-laptop.rst
F: drivers/platform/x86/lg-laptop.c

+LG SW42902 TOUCHSCREEN DRIVER
+M: Abdur Rofik <rofikcoga@xxxxxxxxx>
+L: linux-input@xxxxxxxxxxxxxxx
+S: Maintained
+F: Documentation/devicetree/bindings/input/touchscreen/lg,sw42902.yaml
+
LG SW43103 PANEL DRIVER
M: Abdur Rofik <rofikcoga@xxxxxxxxx>
S: Maintained
--
2.39.5