brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · 3305eda Raw
69 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/input/touchscreen/pixcir,pixcir_ts.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Pixcir Touchscreen Controller8 9maintainers:10  - Dmitry Torokhov <dmitry.torokhov@gmail.com>11 12allOf:13  - $ref: touchscreen.yaml#14 15properties:16  compatible:17    enum:18      - pixcir,pixcir_ts19      - pixcir,pixcir_tangoc20 21  reg:22    maxItems: 123 24  interrupts:25    maxItems: 126 27  attb-gpio:28    maxItems: 129 30  reset-gpios:31    maxItems: 132 33  enable-gpios:34    maxItems: 135 36  wake-gpios:37    maxItems: 138 39unevaluatedProperties: false40 41required:42  - compatible43  - reg44  - interrupts45  - attb-gpio46  - touchscreen-size-x47  - touchscreen-size-y48 49examples:50  - |51    #include <dt-bindings/gpio/gpio.h>52    #include <dt-bindings/interrupt-controller/arm-gic.h>53 54    i2c {55        #address-cells = <1>;56        #size-cells = <0>;57 58        touchscreen@5c {59            compatible = "pixcir,pixcir_ts";60            reg = <0x5c>;61            interrupts = <2 0>;62            attb-gpio = <&gpf 2 0 2>;63            touchscreen-size-x = <800>;64            touchscreen-size-y = <600>;65        };66    };67 68...69