[PATCH v1 06/11] dt-bindings: input: touchscreen: add Silicon Works SW42902
From: rofikkerneldev
Date: Tue Nov 17 2026 - 07:40:45 EST
Document the I2C touchscreen and its interrupt, reset, power-enable,
and panel-size properties.
Signed-off-by: rofikkerneldev <rofikcoga@xxxxxxxxx>
---
.../input/touchscreen/lg,sw42902.yaml | 74 +++++++++++++++++++
MAINTAINERS | 6 ++
2 files changed, 80 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..c56cfb8530eeb
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/lg,sw42902.yaml
@@ -0,0 +1,74 @@
+# 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: Silicon Works SW42902 touchscreen
+
+maintainers:
+ - rofikkerneldev <rofikcoga@xxxxxxxxx>
+
+description: |
+ I2C touchscreen used in the LG V60 timelm JP DCM. The controller boots
+ its existing flash firmware; the enable GPIOs switch its 3.3 V and
+ 1.8 V power rails.
+
+allOf:
+ - $ref: touchscreen.yaml#
+
+properties:
+ compatible:
+ const: lg,sw42902
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ reset-gpios:
+ maxItems: 1
+ description: Active-low controller reset
+
+ vcl-gpios:
+ maxItems: 1
+ description: Active-high enable for the 3.3 V rail
+
+ vdd-gpios:
+ maxItems: 1
+ description: Active-high enable for the 1.8 V rail
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - reset-gpios
+ - vcl-gpios
+ - vdd-gpios
+ - touchscreen-size-x
+ - touchscreen-size-y
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/gpio/gpio.h>
+ #include <dt-bindings/interrupt-controller/irq.h>
+
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ touchscreen@28 {
+ compatible = "lg,sw42902";
+ reg = <0x28>;
+ 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>;
+ };
+ };
diff --git a/MAINTAINERS b/MAINTAINERS
index abdaabe16ed53..f4c54d7d86bd8 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -25835,6 +25835,12 @@ S: Maintained
F: Documentation/fb/sm712fb.rst
F: drivers/video/fbdev/sm712*
+SILICON WORKS SW42902 TOUCHSCREEN DRIVER
+M: rofikkerneldev <rofikcoga@xxxxxxxxx>
+L: linux-input@xxxxxxxxxxxxxxx
+S: Maintained
+F: Documentation/devicetree/bindings/input/touchscreen/lg,sw42902.yaml
+
SILVACO I3C DUAL-ROLE MASTER
M: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>
M: Frank Li <Frank.Li@xxxxxxx>
--
2.39.5