Skip to content

Commit b0b255d

Browse files
passgatdtor
authored andcommitted
dt-bindings: touchscreen: convert eeti bindings to json schema
Convert EETI touchscreen controller device tree binding to json-schema. Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250925153144.4082786-1-dario.binacchi@amarulasolutions.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 9712fe0 commit b0b255d

2 files changed

Lines changed: 14 additions & 32 deletions

File tree

Documentation/devicetree/bindings/input/touchscreen/eeti,exc3000.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,14 @@ properties:
1616
- const: eeti,exc80h60
1717
- const: eeti,exc80h84
1818
- const: eeti,egalax_ts # Do NOT use for new binding
19+
- const: eeti,exc3000-i2c
20+
deprecated: true
1921
- items:
2022
- enum:
2123
- eeti,exc81w32
2224
- const: eeti,exc80h84
2325
reg:
24-
enum: [0x4, 0x2a]
26+
enum: [0x4, 0xa, 0x2a]
2527
interrupts:
2628
maxItems: 1
2729
reset-gpios:
@@ -30,6 +32,12 @@ properties:
3032
maxItems: 1
3133
vdd-supply:
3234
description: Power supply regulator for the chip
35+
attn-gpios:
36+
deprecated: true
37+
maxItems: 1
38+
description: Phandle to a GPIO to check whether interrupt is still
39+
latched. This is necessary for platforms that lack
40+
support for level-triggered IRQs.
3341
touchscreen-size-x: true
3442
touchscreen-size-y: true
3543
touchscreen-inverted-x: true
@@ -51,14 +59,18 @@ allOf:
5159
compatible:
5260
not:
5361
contains:
54-
const: eeti,egalax_ts
62+
enum:
63+
- eeti,egalax_ts
64+
- eeti,exc3000-i2c
5565
then:
5666
properties:
5767
reg:
5868
const: 0x2a
5969

6070
wakeup-gpios: false
6171

72+
attn-gpios: false
73+
6274
required:
6375
- touchscreen-size-x
6476
- touchscreen-size-y

Documentation/devicetree/bindings/input/touchscreen/eeti.txt

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)