Path: blob/master/Documentation/devicetree/bindings/input/focaltech,ft8112.yaml
121834 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/input/focaltech,ft8112.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: FocalTech FT8112 touchscreen controller78maintainers:9- Daniel Peng <Daniel_Peng@pegatron.corp-partner.google.com>1011description:12Supports the FocalTech FT8112 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- focaltech,ft81122223reg: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@38 {56compatible = "focaltech,ft8112";57reg = <0x38>;5859interrupt-parent = <&pio>;60interrupts = <15 IRQ_TYPE_LEVEL_LOW>;6162reset-gpios = <&pio 126 GPIO_ACTIVE_LOW>;63vcc33-supply = <&pp3300_tchscr_x>;64};65};666768