brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · b5f3772 Raw
76 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/azoteq,iqs5xx.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Azoteq IQS550/572/525 Trackpad/Touchscreen Controller8 9maintainers:10  - Jeff LaBundy <jeff@labundy.com>11 12description: |13  The Azoteq IQS550, IQS572 and IQS525 trackpad and touchscreen controllers14  employ projected-capacitance sensing and can track up to five independent15  contacts.16 17  Link to datasheet: https://www.azoteq.com/18 19allOf:20  - $ref: touchscreen.yaml#21 22properties:23  compatible:24    enum:25      - azoteq,iqs55026      - azoteq,iqs57227      - azoteq,iqs52528 29  reg:30    maxItems: 131 32  interrupts:33    maxItems: 134 35  reset-gpios:36    maxItems: 137 38  wakeup-source: true39 40  touchscreen-size-x: true41  touchscreen-size-y: true42  touchscreen-inverted-x: true43  touchscreen-inverted-y: true44  touchscreen-swapped-x-y: true45 46required:47  - compatible48  - reg49  - interrupts50 51additionalProperties: false52 53examples:54  - |55    #include <dt-bindings/gpio/gpio.h>56    #include <dt-bindings/interrupt-controller/irq.h>57 58    i2c {59            #address-cells = <1>;60            #size-cells = <0>;61 62            touchscreen@74 {63                    compatible = "azoteq,iqs550";64                    reg = <0x74>;65                    interrupt-parent = <&gpio>;66                    interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;67                    reset-gpios = <&gpio 22 (GPIO_ACTIVE_LOW |68                                             GPIO_PUSH_PULL)>;69 70                    touchscreen-size-x = <800>;71                    touchscreen-size-y = <480>;72            };73    };74 75...76