xref: /linux/Documentation/devicetree/bindings/input/touchscreen/technologic,ts4800-ts.yaml (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1*35e688ecSEduard Bostina# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*35e688ecSEduard Bostina%YAML 1.2
3*35e688ecSEduard Bostina---
4*35e688ecSEduard Bostina$id: http://devicetree.org/schemas/input/touchscreen/technologic,ts4800-ts.yaml#
5*35e688ecSEduard Bostina$schema: http://devicetree.org/meta-schemas/core.yaml#
6*35e688ecSEduard Bostina
7*35e688ecSEduard Bostinatitle: TS-4800 Touchscreen
8*35e688ecSEduard Bostina
9*35e688ecSEduard Bostinamaintainers:
10*35e688ecSEduard Bostina  - Eduard Bostina <egbostina@gmail.com>
11*35e688ecSEduard Bostina
12*35e688ecSEduard Bostinaproperties:
13*35e688ecSEduard Bostina  compatible:
14*35e688ecSEduard Bostina    const: technologic,ts4800-ts
15*35e688ecSEduard Bostina
16*35e688ecSEduard Bostina  reg:
17*35e688ecSEduard Bostina    maxItems: 1
18*35e688ecSEduard Bostina
19*35e688ecSEduard Bostina  syscon:
20*35e688ecSEduard Bostina    $ref: /schemas/types.yaml#/definitions/phandle-array
21*35e688ecSEduard Bostina    items:
22*35e688ecSEduard Bostina      - items:
23*35e688ecSEduard Bostina          - description: Phandle to the FPGA's syscon
24*35e688ecSEduard Bostina          - description: Offset to the touchscreen register
25*35e688ecSEduard Bostina          - description: Offset to the touchscreen enable bit
26*35e688ecSEduard Bostina    description: Phandle / integers array that points to the syscon node which
27*35e688ecSEduard Bostina      describes the FPGA's syscon registers.
28*35e688ecSEduard Bostina
29*35e688ecSEduard Bostinarequired:
30*35e688ecSEduard Bostina  - compatible
31*35e688ecSEduard Bostina  - reg
32*35e688ecSEduard Bostina  - syscon
33*35e688ecSEduard Bostina
34*35e688ecSEduard BostinaadditionalProperties: false
35*35e688ecSEduard Bostina
36*35e688ecSEduard Bostinaexamples:
37*35e688ecSEduard Bostina  - |
38*35e688ecSEduard Bostina    touchscreen@1000 {
39*35e688ecSEduard Bostina        compatible = "technologic,ts4800-ts";
40*35e688ecSEduard Bostina        reg = <0x1000 0x100>;
41*35e688ecSEduard Bostina        syscon = <&fpga_syscon 0x20 3>;
42*35e688ecSEduard Bostina    };
43