brintos

brintos / linux-shallow public Read only

0
0
Text · 1.2 KiB · f5cfacb Raw
65 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/himax,hx83112b.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Himax hx83112b touchscreen controller8 9maintainers:10  - Job Noorman <job@noorman.info>11 12allOf:13  - $ref: touchscreen.yaml#14 15properties:16  compatible:17    enum:18      - himax,hx83100a19      - himax,hx83112b20 21  reg:22    maxItems: 123 24  interrupts:25    maxItems: 126 27  reset-gpios:28    maxItems: 129 30  touchscreen-inverted-x: true31  touchscreen-inverted-y: true32  touchscreen-size-x: true33  touchscreen-size-y: true34  touchscreen-swapped-x-y: true35 36additionalProperties: false37 38required:39  - compatible40  - reg41  - interrupts42  - reset-gpios43  - touchscreen-size-x44  - touchscreen-size-y45 46examples:47  - |48    #include <dt-bindings/interrupt-controller/irq.h>49    #include <dt-bindings/gpio/gpio.h>50    i2c {51      #address-cells = <1>;52      #size-cells = <0>;53      touchscreen@48 {54        compatible = "himax,hx83112b";55        reg = <0x48>;56        interrupt-parent = <&tlmm>;57        interrupts = <65 IRQ_TYPE_LEVEL_LOW>;58        touchscreen-size-x = <1080>;59        touchscreen-size-y = <2160>;60        reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;61      };62    };63 64...65