1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/input/ilite 4 $id: http://devicetree.org/schemas/input/ilitek,ili9882t.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Ilitek ili9882t touchscreen controller 7 title: Ilitek ili9882t touchscreen controller 8 8 9 maintainers: 9 maintainers: 10 - Cong Yang <yangcong5@huaqin.corp-partner.go 10 - Cong Yang <yangcong5@huaqin.corp-partner.google.com> 11 11 12 description: 12 description: 13 Supports the Ilitek ili9882t touchscreen con 13 Supports the Ilitek ili9882t touchscreen controller. 14 This touchscreen controller uses the i2c-hid 14 This touchscreen controller uses the i2c-hid protocol with a reset GPIO. 15 15 16 allOf: 16 allOf: 17 - $ref: /schemas/input/touchscreen/touchscre 17 - $ref: /schemas/input/touchscreen/touchscreen.yaml# 18 18 19 properties: 19 properties: 20 compatible: 20 compatible: 21 const: ilitek,ili9882t 21 const: ilitek,ili9882t 22 22 23 reg: 23 reg: 24 const: 0x41 24 const: 0x41 25 25 26 interrupts: 26 interrupts: 27 maxItems: 1 27 maxItems: 1 28 28 29 panel: true 29 panel: true 30 30 31 reset-gpios: 31 reset-gpios: 32 maxItems: 1 32 maxItems: 1 33 description: Reset GPIO. 33 description: Reset GPIO. 34 34 35 vccio-supply: 35 vccio-supply: 36 description: The 1.8V supply to the touchs 36 description: The 1.8V supply to the touchscreen. 37 37 38 required: 38 required: 39 - compatible 39 - compatible 40 - reg 40 - reg 41 - interrupts 41 - interrupts 42 - panel 42 - panel 43 - vccio-supply 43 - vccio-supply 44 44 45 additionalProperties: false 45 additionalProperties: false 46 46 47 examples: 47 examples: 48 - | 48 - | 49 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/gpio/gpio.h> 50 #include <dt-bindings/interrupt-controller 50 #include <dt-bindings/interrupt-controller/irq.h> 51 51 52 i2c { 52 i2c { 53 #address-cells = <1>; 53 #address-cells = <1>; 54 #size-cells = <0>; 54 #size-cells = <0>; 55 55 56 touchscreen: touchscreen@41 { 56 touchscreen: touchscreen@41 { 57 compatible = "ilitek,ili9882t"; 57 compatible = "ilitek,ili9882t"; 58 reg = <0x41>; 58 reg = <0x41>; 59 59 60 interrupt-parent = <&pio>; 60 interrupt-parent = <&pio>; 61 interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 61 interrupts = <12 IRQ_TYPE_LEVEL_LOW>; 62 62 63 panel = <&panel>; 63 panel = <&panel>; 64 reset-gpios = <&pio 60 GPIO_ACTIVE_LOW 64 reset-gpios = <&pio 60 GPIO_ACTIVE_LOW>; 65 vccio-supply = <&mt6366_vio18_reg>; 65 vccio-supply = <&mt6366_vio18_reg>; 66 }; 66 }; 67 }; 67 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.