1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/touchscreen/imagis,ist3038c.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Imagis IST30XXC family touchscreen controller bindings
10 - Markuss Broks <markuss.broks@gmail.com>
13 - $ref: touchscreen.yaml#
17 pattern: "^touchscreen@[0-9a-f]+$"
30 description: Power supply regulator for the chip
33 description: Power supply regulator for the I2C bus
35 touchscreen-size-x: true
36 touchscreen-size-y: true
37 touchscreen-fuzz-x: true
38 touchscreen-fuzz-y: true
39 touchscreen-inverted-x: true
40 touchscreen-inverted-y: true
41 touchscreen-swapped-x-y: true
43 additionalProperties: false
54 #include <dt-bindings/interrupt-controller/irq.h>
59 compatible = "imagis,ist3038c";
61 interrupt-parent = <&gpio>;
62 interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
63 vdd-supply = <&ldo1_reg>;
64 vddio-supply = <&ldo2_reg>;
65 touchscreen-size-x = <720>;
66 touchscreen-size-y = <1280>;
67 touchscreen-fuzz-x = <10>;
68 touchscreen-fuzz-y = <10>;
69 touchscreen-inverted-x;
70 touchscreen-inverted-y;