xref: /linux/Documentation/devicetree/bindings/input/touchscreen/technologic,ts4800-ts.yaml (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
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/technologic,ts4800-ts.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: TS-4800 Touchscreen
8
9maintainers:
10  - Eduard Bostina <egbostina@gmail.com>
11
12properties:
13  compatible:
14    const: technologic,ts4800-ts
15
16  reg:
17    maxItems: 1
18
19  syscon:
20    $ref: /schemas/types.yaml#/definitions/phandle-array
21    items:
22      - items:
23          - description: Phandle to the FPGA's syscon
24          - description: Offset to the touchscreen register
25          - description: Offset to the touchscreen enable bit
26    description: Phandle / integers array that points to the syscon node which
27      describes the FPGA's syscon registers.
28
29required:
30  - compatible
31  - reg
32  - syscon
33
34additionalProperties: false
35
36examples:
37  - |
38    touchscreen@1000 {
39        compatible = "technologic,ts4800-ts";
40        reg = <0x1000 0x100>;
41        syscon = <&fpga_syscon 0x20 3>;
42    };
43