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,ili2901.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Ilitek ILI2901 touchscreen controller 7 title: Ilitek ILI2901 touchscreen controller 8 8 9 maintainers: 9 maintainers: 10 - Jiri Kosina <jkosina@suse.com> 10 - Jiri Kosina <jkosina@suse.com> 11 11 12 description: 12 description: 13 Supports the Ilitek ILI2901 touchscreen cont 13 Supports the Ilitek ILI2901 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 enum: 21 enum: 22 - ilitek,ili2901 22 - ilitek,ili2901 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 interrupts: 27 interrupts: 28 maxItems: 1 28 maxItems: 1 29 29 30 panel: true 30 panel: true 31 31 32 reset-gpios: 32 reset-gpios: 33 maxItems: 1 33 maxItems: 1 34 34 35 vcc33-supply: true 35 vcc33-supply: true 36 36 37 vccio-supply: true 37 vccio-supply: true 38 38 39 required: 39 required: 40 - compatible 40 - compatible 41 - reg 41 - reg 42 - interrupts 42 - interrupts 43 - vcc33-supply 43 - vcc33-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@41 { 56 touchscreen@41 { 57 compatible = "ilitek,ili2901"; 57 compatible = "ilitek,ili2901"; 58 reg = <0x41>; 58 reg = <0x41>; 59 59 60 interrupt-parent = <&tlmm>; 60 interrupt-parent = <&tlmm>; 61 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 61 interrupts = <9 IRQ_TYPE_LEVEL_LOW>; 62 62 63 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW 63 reset-gpios = <&tlmm 8 GPIO_ACTIVE_LOW>; 64 vcc33-supply = <&pp3300_ts>; 64 vcc33-supply = <&pp3300_ts>; 65 }; 65 }; 66 }; 66 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.