lkml.org 
[lkml]   [2024]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH v2 2/3] dt-bindings: input: imagis: Document touch keys
IST3032C (and possibly some other models) has touch keys. Document this.

Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
---
.../bindings/input/touchscreen/imagis,ist3038c.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml b/Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml
index 2af71cbcc97d..960e5436642f 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml
@@ -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:
--
2.43.0



\
 
 \ /
  Last update: 2024-05-27 14:24    [W:0.119 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site