Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / input / touchscreen / sitronix,st1232.yaml
blob1d8ca19fd37ae3fc5a858e5aa1fe01ff5b227090
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/sitronix,st1232.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Sitronix st1232 or st1633 touchscreen controller
9 maintainers:
10   - Bastian Hecht <hechtb@gmail.com>
12 allOf:
13   - $ref: touchscreen.yaml#
15 properties:
16   compatible:
17     enum:
18       - sitronix,st1232
19       - sitronix,st1633
21   reg:
22     maxItems: 1
24   interrupts:
25     maxItems: 1
27   gpios:
28     description: A phandle to the reset GPIO
29     maxItems: 1
31 required:
32   - compatible
33   - reg
34   - interrupts
36 unevaluatedProperties: false
38 examples:
39   - |
40     i2c {
41             #address-cells = <1>;
42             #size-cells = <0>;
44             touchscreen@55 {
45                     compatible = "sitronix,st1232";
46                     reg = <0x55>;
47                     interrupts = <2 0>;
48                     gpios = <&gpio1 166 0>;
49             };
50     };