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/touch 4 $id: http://devicetree.org/schemas/input/touchscreen/himax,hx83112b.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Himax hx83112b touchscreen controller 7 title: Himax hx83112b touchscreen controller 8 8 9 maintainers: 9 maintainers: 10 - Job Noorman <job@noorman.info> 10 - Job Noorman <job@noorman.info> 11 11 12 allOf: 12 allOf: 13 - $ref: touchscreen.yaml# 13 - $ref: touchscreen.yaml# 14 14 15 properties: 15 properties: 16 compatible: 16 compatible: 17 enum: 17 enum: 18 - himax,hx83100a 18 - himax,hx83100a 19 - himax,hx83112b 19 - himax,hx83112b 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 23 24 interrupts: 24 interrupts: 25 maxItems: 1 25 maxItems: 1 26 26 27 reset-gpios: 27 reset-gpios: 28 maxItems: 1 28 maxItems: 1 29 29 30 touchscreen-inverted-x: true 30 touchscreen-inverted-x: true 31 touchscreen-inverted-y: true 31 touchscreen-inverted-y: true 32 touchscreen-size-x: true 32 touchscreen-size-x: true 33 touchscreen-size-y: true 33 touchscreen-size-y: true 34 touchscreen-swapped-x-y: true 34 touchscreen-swapped-x-y: true 35 35 36 additionalProperties: false 36 additionalProperties: false 37 37 38 required: 38 required: 39 - compatible 39 - compatible 40 - reg 40 - reg 41 - interrupts 41 - interrupts 42 - reset-gpios 42 - reset-gpios 43 - touchscreen-size-x 43 - touchscreen-size-x 44 - touchscreen-size-y 44 - touchscreen-size-y 45 45 46 examples: 46 examples: 47 - | 47 - | 48 #include <dt-bindings/interrupt-controller 48 #include <dt-bindings/interrupt-controller/irq.h> 49 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/gpio/gpio.h> 50 i2c { 50 i2c { 51 #address-cells = <1>; 51 #address-cells = <1>; 52 #size-cells = <0>; 52 #size-cells = <0>; 53 touchscreen@48 { 53 touchscreen@48 { 54 compatible = "himax,hx83112b"; 54 compatible = "himax,hx83112b"; 55 reg = <0x48>; 55 reg = <0x48>; 56 interrupt-parent = <&tlmm>; 56 interrupt-parent = <&tlmm>; 57 interrupts = <65 IRQ_TYPE_LEVEL_LOW>; 57 interrupts = <65 IRQ_TYPE_LEVEL_LOW>; 58 touchscreen-size-x = <1080>; 58 touchscreen-size-x = <1080>; 59 touchscreen-size-y = <2160>; 59 touchscreen-size-y = <2160>; 60 reset-gpios = <&tlmm 64 GPIO_ACTIVE_LO 60 reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; 61 }; 61 }; 62 }; 62 }; 63 63 64 ... 64 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.