brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 1c7ae05 Raw
65 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/input/touchscreen/eeti,exc3000.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: EETI EXC3000 series touchscreen controller8 9maintainers:10  - Dmitry Torokhov <dmitry.torokhov@gmail.com>11 12allOf:13  - $ref: touchscreen.yaml#14 15properties:16  compatible:17    oneOf:18      - const: eeti,exc300019      - const: eeti,exc80h6020      - const: eeti,exc80h8421      - items:22          - enum:23              - eeti,exc81w3224          - const: eeti,exc80h8425  reg:26    const: 0x2a27  interrupts:28    maxItems: 129  reset-gpios:30    maxItems: 131  vdd-supply:32    description: Power supply regulator for the chip33  touchscreen-size-x: true34  touchscreen-size-y: true35  touchscreen-inverted-x: true36  touchscreen-inverted-y: true37  touchscreen-swapped-x-y: true38 39required:40  - compatible41  - reg42  - interrupts43  - touchscreen-size-x44  - touchscreen-size-y45 46additionalProperties: false47 48examples:49  - |50    #include "dt-bindings/interrupt-controller/irq.h"51    i2c {52        #address-cells = <1>;53        #size-cells = <0>;54        touchscreen@2a {55                compatible = "eeti,exc3000";56                reg = <0x2a>;57                interrupt-parent = <&gpio1>;58                interrupts = <9 IRQ_TYPE_LEVEL_LOW>;59                touchscreen-size-x = <4096>;60                touchscreen-size-y = <4096>;61                touchscreen-inverted-x;62                touchscreen-swapped-x-y;63        };64    };65