Ilitek ili9882t touchscreen controller
Schema identifier ($id): "http://devicetree.org/schemas/input/ilitek,ili9882t.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Cong Yang <yangcong5@huaqin.corp-partner.google.com>"
Supports the Ilitek ili9882t touchscreen controller. This touchscreen controller uses the i2c-hid protocol with a reset GPIO.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/input/touchscreen/touchscreen.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "ilitek,ili9882t"
reg — required here #
Exact value (const): 65
interrupts — required here #
Maximum number of items (maxItems): 1
panel — required here #
true — No constraints added by this property rule.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
Reset GPIO.
vccio-supply — required here #
The 1.8V supply to the touchscreen.
Required in this object (required): "compatible", "reg", "interrupts", "panel", "vccio-supply"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
touchscreen: touchscreen@41 {
compatible = "ilitek,ili9882t";
reg = <0x41>;
interrupt-parent = <&pio>;
interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
panel = <&panel>;
reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>;
vccio-supply = <&mt6366_vio18_reg>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)