xref: /linux/Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.yaml (revision 06d07429858317ded2db7986113a9e0129cd599b)
1*ccb9e9ddSKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*ccb9e9ddSKrzysztof Kozlowski%YAML 1.2
3*ccb9e9ddSKrzysztof Kozlowski---
4*ccb9e9ddSKrzysztof Kozlowski$id: http://devicetree.org/schemas/input/touchscreen/samsung,s6sy761.yaml#
5*ccb9e9ddSKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml#
6*ccb9e9ddSKrzysztof Kozlowski
7*ccb9e9ddSKrzysztof Kozlowskititle: Samsung S6SY761 touchscreen controller
8*ccb9e9ddSKrzysztof Kozlowski
9*ccb9e9ddSKrzysztof Kozlowskimaintainers:
10*ccb9e9ddSKrzysztof Kozlowski  - Andi Shyti <andi.shyti@kernel.org>
11*ccb9e9ddSKrzysztof Kozlowski
12*ccb9e9ddSKrzysztof KozlowskiallOf:
13*ccb9e9ddSKrzysztof Kozlowski  - $ref: touchscreen.yaml#
14*ccb9e9ddSKrzysztof Kozlowski
15*ccb9e9ddSKrzysztof Kozlowskiproperties:
16*ccb9e9ddSKrzysztof Kozlowski  compatible:
17*ccb9e9ddSKrzysztof Kozlowski    const: samsung,s6sy761
18*ccb9e9ddSKrzysztof Kozlowski
19*ccb9e9ddSKrzysztof Kozlowski  reg:
20*ccb9e9ddSKrzysztof Kozlowski    maxItems: 1
21*ccb9e9ddSKrzysztof Kozlowski
22*ccb9e9ddSKrzysztof Kozlowski  interrupts:
23*ccb9e9ddSKrzysztof Kozlowski    maxItems: 1
24*ccb9e9ddSKrzysztof Kozlowski
25*ccb9e9ddSKrzysztof Kozlowski  avdd-supply: true
26*ccb9e9ddSKrzysztof Kozlowski  vdd-supply: true
27*ccb9e9ddSKrzysztof Kozlowski
28*ccb9e9ddSKrzysztof KozlowskiunevaluatedProperties: false
29*ccb9e9ddSKrzysztof Kozlowski
30*ccb9e9ddSKrzysztof Kozlowskirequired:
31*ccb9e9ddSKrzysztof Kozlowski  - compatible
32*ccb9e9ddSKrzysztof Kozlowski  - reg
33*ccb9e9ddSKrzysztof Kozlowski  - interrupts
34*ccb9e9ddSKrzysztof Kozlowski  - avdd-supply
35*ccb9e9ddSKrzysztof Kozlowski  - vdd-supply
36*ccb9e9ddSKrzysztof Kozlowski
37*ccb9e9ddSKrzysztof Kozlowskiexamples:
38*ccb9e9ddSKrzysztof Kozlowski  - |
39*ccb9e9ddSKrzysztof Kozlowski    #include <dt-bindings/interrupt-controller/irq.h>
40*ccb9e9ddSKrzysztof Kozlowski    i2c {
41*ccb9e9ddSKrzysztof Kozlowski        #address-cells = <1>;
42*ccb9e9ddSKrzysztof Kozlowski        #size-cells = <0>;
43*ccb9e9ddSKrzysztof Kozlowski
44*ccb9e9ddSKrzysztof Kozlowski        touchscreen@48 {
45*ccb9e9ddSKrzysztof Kozlowski            compatible = "samsung,s6sy761";
46*ccb9e9ddSKrzysztof Kozlowski            reg = <0x48>;
47*ccb9e9ddSKrzysztof Kozlowski            interrupt-parent = <&gpa1>;
48*ccb9e9ddSKrzysztof Kozlowski            interrupts = <1 IRQ_TYPE_LEVEL_HIGH>;
49*ccb9e9ddSKrzysztof Kozlowski            avdd-supply = <&ldo30_reg>;
50*ccb9e9ddSKrzysztof Kozlowski            vdd-supply = <&ldo31_reg>;
51*ccb9e9ddSKrzysztof Kozlowski            touchscreen-size-x = <4096>;
52*ccb9e9ddSKrzysztof Kozlowski            touchscreen-size-y = <4096>;
53*ccb9e9ddSKrzysztof Kozlowski        };
54*ccb9e9ddSKrzysztof Kozlowski    };
55