Path: blob/master/Documentation/devicetree/bindings/input/ilitek,ili2901.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/input/ilitek,ili2901.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Ilitek ILI2901 touchscreen controller78maintainers:9- Jiri Kosina <jkosina@suse.com>1011description:12Supports the Ilitek ILI2901 touchscreen controller.13This touchscreen controller uses the i2c-hid protocol with a reset GPIO.1415allOf:16- $ref: /schemas/input/touchscreen/touchscreen.yaml#1718properties:19compatible:20enum:21- ilitek,ili29012223reg:24maxItems: 12526interrupts:27maxItems: 12829panel: true3031reset-gpios:32maxItems: 13334vcc33-supply: true3536vccio-supply: true3738required:39- compatible40- reg41- interrupts42- vcc33-supply4344additionalProperties: false4546examples:47- |48#include <dt-bindings/gpio/gpio.h>49#include <dt-bindings/interrupt-controller/irq.h>5051i2c {52#address-cells = <1>;53#size-cells = <0>;5455touchscreen@41 {56compatible = "ilitek,ili2901";57reg = <0x41>;5859interrupt-parent = <&tlmm>;60interrupts = <9 IRQ_TYPE_LEVEL_LOW>;6162reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>;63vcc33-supply = <&pp3300_ts>;64};65};666768