summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/input/touchscreen/imagis,ist3038c.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/input/touchscreen/imagis,ist3038c.yaml')
-rw-r--r--dts/Bindings/input/touchscreen/imagis,ist3038c.yaml23
1 files changed, 19 insertions, 4 deletions
diff --git a/dts/Bindings/input/touchscreen/imagis,ist3038c.yaml b/dts/Bindings/input/touchscreen/imagis,ist3038c.yaml
index e3a2b871e5..77ba280b3b 100644
--- a/dts/Bindings/input/touchscreen/imagis,ist3038c.yaml
+++ b/dts/Bindings/input/touchscreen/imagis,ist3038c.yaml
@@ -4,20 +4,19 @@
$id: http://devicetree.org/schemas/input/touchscreen/imagis,ist3038c.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
-title: Imagis IST30XXC family touchscreen controller bindings
+title: Imagis IST30XXC family touchscreen controller
maintainers:
- Markuss Broks <markuss.broks@gmail.com>
-allOf:
- - $ref: touchscreen.yaml#
-
properties:
$nodename:
pattern: "^touchscreen@[0-9a-f]+$"
compatible:
enum:
+ - imagis,ist3032c
+ - imagis,ist3038b
- imagis,ist3038c
reg:
@@ -32,6 +31,10 @@ properties:
vddio-supply:
description: Power supply regulator for the I2C bus
+ linux,keycodes:
+ description: Keycodes for the touch keys
+ maxItems: 5
+
touchscreen-size-x: true
touchscreen-size-y: true
touchscreen-fuzz-x: true
@@ -42,6 +45,18 @@ properties:
additionalProperties: false
+allOf:
+ - $ref: touchscreen.yaml#
+ - if:
+ not:
+ properties:
+ compatible:
+ contains:
+ const: imagis,ist3032c
+ then:
+ properties:
+ linux,keycodes: false
+
required:
- compatible
- reg