1354d7675SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
2354d7675SEmmanuel Vadot%YAML 1.2
3354d7675SEmmanuel Vadot---
4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/input/touchscreen/pixcir,pixcir_ts.yaml#
5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6354d7675SEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Pixcir Touchscreen Controller
8354d7675SEmmanuel Vadot
9354d7675SEmmanuel Vadotmaintainers:
10354d7675SEmmanuel Vadot  - Dmitry Torokhov <dmitry.torokhov@gmail.com>
11354d7675SEmmanuel Vadot
12354d7675SEmmanuel VadotallOf:
13354d7675SEmmanuel Vadot  - $ref: touchscreen.yaml#
14354d7675SEmmanuel Vadot
15354d7675SEmmanuel Vadotproperties:
16354d7675SEmmanuel Vadot  compatible:
17354d7675SEmmanuel Vadot    enum:
18354d7675SEmmanuel Vadot      - pixcir,pixcir_ts
19354d7675SEmmanuel Vadot      - pixcir,pixcir_tangoc
20354d7675SEmmanuel Vadot
21354d7675SEmmanuel Vadot  reg:
22354d7675SEmmanuel Vadot    maxItems: 1
23354d7675SEmmanuel Vadot
24354d7675SEmmanuel Vadot  interrupts:
25354d7675SEmmanuel Vadot    maxItems: 1
26354d7675SEmmanuel Vadot
27354d7675SEmmanuel Vadot  attb-gpio:
28354d7675SEmmanuel Vadot    maxItems: 1
29354d7675SEmmanuel Vadot
30354d7675SEmmanuel Vadot  reset-gpios:
31354d7675SEmmanuel Vadot    maxItems: 1
32354d7675SEmmanuel Vadot
33354d7675SEmmanuel Vadot  enable-gpios:
34354d7675SEmmanuel Vadot    maxItems: 1
35354d7675SEmmanuel Vadot
36354d7675SEmmanuel Vadot  wake-gpios:
37354d7675SEmmanuel Vadot    maxItems: 1
38354d7675SEmmanuel Vadot
39354d7675SEmmanuel VadotunevaluatedProperties: false
40354d7675SEmmanuel Vadot
41354d7675SEmmanuel Vadotrequired:
42354d7675SEmmanuel Vadot  - compatible
43354d7675SEmmanuel Vadot  - reg
44354d7675SEmmanuel Vadot  - interrupts
45354d7675SEmmanuel Vadot  - attb-gpio
46354d7675SEmmanuel Vadot  - touchscreen-size-x
47354d7675SEmmanuel Vadot  - touchscreen-size-y
48354d7675SEmmanuel Vadot
49354d7675SEmmanuel Vadotexamples:
50354d7675SEmmanuel Vadot  - |
51354d7675SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
52354d7675SEmmanuel Vadot    #include <dt-bindings/interrupt-controller/arm-gic.h>
53354d7675SEmmanuel Vadot
54354d7675SEmmanuel Vadot    i2c {
55354d7675SEmmanuel Vadot        #address-cells = <1>;
56354d7675SEmmanuel Vadot        #size-cells = <0>;
57354d7675SEmmanuel Vadot
58354d7675SEmmanuel Vadot        touchscreen@5c {
59354d7675SEmmanuel Vadot            compatible = "pixcir,pixcir_ts";
60354d7675SEmmanuel Vadot            reg = <0x5c>;
61354d7675SEmmanuel Vadot            interrupts = <2 0>;
62354d7675SEmmanuel Vadot            attb-gpio = <&gpf 2 0 2>;
63354d7675SEmmanuel Vadot            touchscreen-size-x = <800>;
64354d7675SEmmanuel Vadot            touchscreen-size-y = <600>;
65354d7675SEmmanuel Vadot        };
66354d7675SEmmanuel Vadot    };
67354d7675SEmmanuel Vadot
68354d7675SEmmanuel Vadot...
69