xref: /linux/Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.yaml (revision 06d07429858317ded2db7986113a9e0129cd599b)
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/samsung,s6sy761.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Samsung S6SY761 touchscreen controller
8
9maintainers:
10  - Andi Shyti <andi.shyti@kernel.org>
11
12allOf:
13  - $ref: touchscreen.yaml#
14
15properties:
16  compatible:
17    const: samsung,s6sy761
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  avdd-supply: true
26  vdd-supply: true
27
28unevaluatedProperties: false
29
30required:
31  - compatible
32  - reg
33  - interrupts
34  - avdd-supply
35  - vdd-supply
36
37examples:
38  - |
39    #include <dt-bindings/interrupt-controller/irq.h>
40    i2c {
41        #address-cells = <1>;
42        #size-cells = <0>;
43
44        touchscreen@48 {
45            compatible = "samsung,s6sy761";
46            reg = <0x48>;
47            interrupt-parent = <&gpa1>;
48            interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
49            avdd-supply = <&ldo30_reg>;
50            vdd-supply = <&ldo31_reg>;
51            touchscreen-size-x = <4096>;
52            touchscreen-size-y = <4096>;
53        };
54    };
55