xref: /linux/Documentation/devicetree/bindings/input/touchscreen/azoteq,iqs5xx.yaml (revision 5a94296bc02ac616336da7b5332b86d2ca8827f0)
1*55f2645cSJeff LaBundy# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*55f2645cSJeff LaBundy%YAML 1.2
3*55f2645cSJeff LaBundy---
4*55f2645cSJeff LaBundy$id: http://devicetree.org/schemas/input/touchscreen/azoteq,iqs5xx.yaml#
5*55f2645cSJeff LaBundy$schema: http://devicetree.org/meta-schemas/core.yaml#
6*55f2645cSJeff LaBundy
7*55f2645cSJeff LaBundytitle: Azoteq IQS550/572/525 Trackpad/Touchscreen Controller
8*55f2645cSJeff LaBundy
9*55f2645cSJeff LaBundymaintainers:
10*55f2645cSJeff LaBundy  - Jeff LaBundy <jeff@labundy.com>
11*55f2645cSJeff LaBundy
12*55f2645cSJeff LaBundydescription: |
13*55f2645cSJeff LaBundy  The Azoteq IQS550, IQS572 and IQS525 trackpad and touchscreen controllers
14*55f2645cSJeff LaBundy  employ projected-capacitance sensing and can track up to five independent
15*55f2645cSJeff LaBundy  contacts.
16*55f2645cSJeff LaBundy
17*55f2645cSJeff LaBundy  Link to datasheet: https://www.azoteq.com/
18*55f2645cSJeff LaBundy
19*55f2645cSJeff LaBundyallOf:
20*55f2645cSJeff LaBundy  - $ref: touchscreen.yaml#
21*55f2645cSJeff LaBundy
22*55f2645cSJeff LaBundyproperties:
23*55f2645cSJeff LaBundy  compatible:
24*55f2645cSJeff LaBundy    enum:
25*55f2645cSJeff LaBundy      - azoteq,iqs550
26*55f2645cSJeff LaBundy      - azoteq,iqs572
27*55f2645cSJeff LaBundy      - azoteq,iqs525
28*55f2645cSJeff LaBundy
29*55f2645cSJeff LaBundy  reg:
30*55f2645cSJeff LaBundy    maxItems: 1
31*55f2645cSJeff LaBundy
32*55f2645cSJeff LaBundy  interrupts:
33*55f2645cSJeff LaBundy    maxItems: 1
34*55f2645cSJeff LaBundy
35*55f2645cSJeff LaBundy  reset-gpios:
36*55f2645cSJeff LaBundy    maxItems: 1
37*55f2645cSJeff LaBundy
38*55f2645cSJeff LaBundy  wakeup-source: true
39*55f2645cSJeff LaBundy
40*55f2645cSJeff LaBundy  touchscreen-size-x: true
41*55f2645cSJeff LaBundy  touchscreen-size-y: true
42*55f2645cSJeff LaBundy  touchscreen-inverted-x: true
43*55f2645cSJeff LaBundy  touchscreen-inverted-y: true
44*55f2645cSJeff LaBundy  touchscreen-swapped-x-y: true
45*55f2645cSJeff LaBundy
46*55f2645cSJeff LaBundyrequired:
47*55f2645cSJeff LaBundy  - compatible
48*55f2645cSJeff LaBundy  - reg
49*55f2645cSJeff LaBundy  - interrupts
50*55f2645cSJeff LaBundy
51*55f2645cSJeff LaBundyadditionalProperties: false
52*55f2645cSJeff LaBundy
53*55f2645cSJeff LaBundyexamples:
54*55f2645cSJeff LaBundy  - |
55*55f2645cSJeff LaBundy    #include <dt-bindings/gpio/gpio.h>
56*55f2645cSJeff LaBundy    #include <dt-bindings/interrupt-controller/irq.h>
57*55f2645cSJeff LaBundy
58*55f2645cSJeff LaBundy    i2c {
59*55f2645cSJeff LaBundy            #address-cells = <1>;
60*55f2645cSJeff LaBundy            #size-cells = <0>;
61*55f2645cSJeff LaBundy
62*55f2645cSJeff LaBundy            touchscreen@74 {
63*55f2645cSJeff LaBundy                    compatible = "azoteq,iqs550";
64*55f2645cSJeff LaBundy                    reg = <0x74>;
65*55f2645cSJeff LaBundy                    interrupt-parent = <&gpio>;
66*55f2645cSJeff LaBundy                    interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
67*55f2645cSJeff LaBundy                    reset-gpios = <&gpio 22 (GPIO_ACTIVE_LOW |
68*55f2645cSJeff LaBundy                                             GPIO_PUSH_PULL)>;
69*55f2645cSJeff LaBundy
70*55f2645cSJeff LaBundy                    touchscreen-size-x = <800>;
71*55f2645cSJeff LaBundy                    touchscreen-size-y = <480>;
72*55f2645cSJeff LaBundy            };
73*55f2645cSJeff LaBundy    };
74*55f2645cSJeff LaBundy
75*55f2645cSJeff LaBundy...
76