summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input/touchscreen/technologic,ts4800-ts.yaml
blob: c033774b4f44efc63fe388539362a3f8b7b45840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/input/touchscreen/technologic,ts4800-ts.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: TS-4800 Touchscreen

maintainers:
  - Eduard Bostina <egbostina@gmail.com>

properties:
  compatible:
    const: technologic,ts4800-ts

  reg:
    maxItems: 1

  syscon:
    $ref: /schemas/types.yaml#/definitions/phandle-array
    items:
      - items:
          - description: Phandle to the FPGA's syscon
          - description: Offset to the touchscreen register
          - description: Offset to the touchscreen enable bit
    description: Phandle / integers array that points to the syscon node which
      describes the FPGA's syscon registers.

required:
  - compatible
  - reg
  - syscon

additionalProperties: false

examples:
  - |
    touchscreen@1000 {
        compatible = "technologic,ts4800-ts";
        reg = <0x1000 0x100>;
        syscon = <&fpga_syscon 0x20 3>;
    };