brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 1ffd17a Raw
55 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 controller8 9maintainers:10  - Andi Shyti <andi.shyti@kernel.org>11 12allOf:13  - $ref: touchscreen.yaml#14 15properties:16  compatible:17    const: samsung,s6sy76118 19  reg:20    maxItems: 121 22  interrupts:23    maxItems: 124 25  avdd-supply: true26  vdd-supply: true27 28unevaluatedProperties: false29 30required:31  - compatible32  - reg33  - interrupts34  - avdd-supply35  - vdd-supply36 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