Skip to content

Commit 44b6cee

Browse files
LegoLivesMatterdtor
authored andcommitted
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> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240306-b4-imagis-keys-v3-2-2c429afa8420@skole.hr Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent c0ca3db commit 44b6cee

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

Documentation/devicetree/bindings/input/touchscreen/imagis,ist3038c.yaml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ title: Imagis IST30XXC family touchscreen controller
99
maintainers:
1010
- Markuss Broks <markuss.broks@gmail.com>
1111

12-
allOf:
13-
- $ref: touchscreen.yaml#
14-
1512
properties:
1613
$nodename:
1714
pattern: "^touchscreen@[0-9a-f]+$"
@@ -34,6 +31,10 @@ properties:
3431
vddio-supply:
3532
description: Power supply regulator for the I2C bus
3633

34+
linux,keycodes:
35+
description: Keycodes for the touch keys
36+
maxItems: 5
37+
3738
touchscreen-size-x: true
3839
touchscreen-size-y: true
3940
touchscreen-fuzz-x: true
@@ -44,6 +45,18 @@ properties:
4445

4546
additionalProperties: false
4647

48+
allOf:
49+
- $ref: touchscreen.yaml#
50+
- if:
51+
not:
52+
properties:
53+
compatible:
54+
contains:
55+
const: imagis,ist3032c
56+
then:
57+
properties:
58+
linux,keycodes: false
59+
4760
required:
4861
- compatible
4962
- reg

0 commit comments

Comments
 (0)