Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / input / ilitek,ili2901.yaml
blob1abeec768d79cbc833b3de3a261d41e62f2bf314
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/input/ilitek,ili2901.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ilitek ILI2901 touchscreen controller
9 maintainers:
10   - Jiri Kosina <jkosina@suse.com>
12 description:
13   Supports the Ilitek ILI2901 touchscreen controller.
14   This touchscreen controller uses the i2c-hid protocol with a reset GPIO.
16 allOf:
17   - $ref: /schemas/input/touchscreen/touchscreen.yaml#
19 properties:
20   compatible:
21     enum:
22       - ilitek,ili2901
24   reg:
25     maxItems: 1
27   interrupts:
28     maxItems: 1
30   panel: true
32   reset-gpios:
33     maxItems: 1
35   vcc33-supply: true
37   vccio-supply: true
39 required:
40   - compatible
41   - reg
42   - interrupts
43   - vcc33-supply
45 additionalProperties: false
47 examples:
48   - |
49     #include <dt-bindings/gpio/gpio.h>
50     #include <dt-bindings/interrupt-controller/irq.h>
52     i2c {
53       #address-cells = <1>;
54       #size-cells = <0>;
56       touchscreen@41 {
57         compatible = "ilitek,ili2901";
58         reg = <0x41>;
60         interrupt-parent = <&tlmm>;
61         interrupts = <9 IRQ_TYPE_LEVEL_LOW>;
63         reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;
64         vcc33-supply = <&pp3300_ts>;
65       };
66     };