Path: blob/master/Documentation/devicetree/bindings/input/ilitek,ili9882t.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,ili9882t.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Ilitek ili9882t touchscreen controller78maintainers:9- Cong Yang <yangcong5@huaqin.corp-partner.google.com>1011description:12Supports the Ilitek ili9882t touchscreen controller.13This touchscreen controller uses the i2c-hid protocol with a reset GPIO.1415allOf:16- $ref: /schemas/input/touchscreen/touchscreen.yaml#1718properties:19compatible:20const: ilitek,ili9882t2122reg:23const: 0x412425interrupts:26maxItems: 12728panel: true2930reset-gpios:31maxItems: 132description: Reset GPIO.3334vccio-supply:35description: The 1.8V supply to the touchscreen.3637required:38- compatible39- reg40- interrupts41- panel42- vccio-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: touchscreen@41 {56compatible = "ilitek,ili9882t";57reg = <0x41>;5859interrupt-parent = <&pio>;60interrupts = <12 IRQ_TYPE_LEVEL_LOW>;6162panel = <&panel>;63reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>;64vccio-supply = <&mt6366_vio18_reg>;65};66};676869