Debian Codegraph @

Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.yaml

raw
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
7 title: Samsung S6SY761 touchscreen controller
8
9 maintainers:
10 - Andi Shyti <[email protected]>
11
12 allOf:
13 - $ref: touchscreen.yaml#
14
15 properties:
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
28 unevaluatedProperties: false
29
30 required:
31 - compatible
32 - reg
33 - interrupts
34 - avdd-supply
35 - vdd-supply
36
37 examples:
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 };