]> git.dujemihanovic.xyz Git - linux.git/commitdiff
dt-bindings: input: imagis: Document touch keys
authorDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 27 Dec 2023 15:36:57 +0000 (16:36 +0100)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 27 Dec 2023 15:38:17 +0000 (16:38 +0100)
IST3032C (and possibly some other models) has touch keys. Document this.

Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml

index 2af71cbcc97d96bf8d5335a6500e50207d00df3c..960e5436642fdf4fb86d1450faf049584ce49aeb 100644 (file)
@@ -42,6 +42,17 @@ properties:
   touchscreen-inverted-y: true
   touchscreen-swapped-x-y: true
 
+if:
+  properties:
+    compatible:
+      contains:
+        const: imagis,ist3032c
+then:
+  properties:
+    linux,keycodes:
+      description: Keycodes for the touch keys
+      maxItems: 2
+
 additionalProperties: false
 
 required: