1cd044ff9SJob Noorman# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2cd044ff9SJob Noorman%YAML 1.2 3cd044ff9SJob Noorman--- 4cd044ff9SJob Noorman$id: http://devicetree.org/schemas/input/touchscreen/himax,hx83112b.yaml# 5cd044ff9SJob Noorman$schema: http://devicetree.org/meta-schemas/core.yaml# 6cd044ff9SJob Noorman 784e85359SKrzysztof Kozlowskititle: Himax hx83112b touchscreen controller 8cd044ff9SJob Noorman 9cd044ff9SJob Noormanmaintainers: 10cd044ff9SJob Noorman - Job Noorman <job@noorman.info> 11cd044ff9SJob Noorman 12cd044ff9SJob NoormanallOf: 13cd044ff9SJob Noorman - $ref: touchscreen.yaml# 14cd044ff9SJob Noorman 15cd044ff9SJob Noormanproperties: 16cd044ff9SJob Noorman compatible: 17cd044ff9SJob Noorman enum: 18*a742e61dSFelix Kaechele - himax,hx83100a 19cd044ff9SJob Noorman - himax,hx83112b 20cd044ff9SJob Noorman 21cd044ff9SJob Noorman reg: 22cd044ff9SJob Noorman maxItems: 1 23cd044ff9SJob Noorman 24cd044ff9SJob Noorman interrupts: 25cd044ff9SJob Noorman maxItems: 1 26cd044ff9SJob Noorman 27cd044ff9SJob Noorman reset-gpios: 28cd044ff9SJob Noorman maxItems: 1 29cd044ff9SJob Noorman 30cd044ff9SJob Noorman touchscreen-inverted-x: true 31cd044ff9SJob Noorman touchscreen-inverted-y: true 32cd044ff9SJob Noorman touchscreen-size-x: true 33cd044ff9SJob Noorman touchscreen-size-y: true 34cd044ff9SJob Noorman touchscreen-swapped-x-y: true 35cd044ff9SJob Noorman 36cd044ff9SJob NoormanadditionalProperties: false 37cd044ff9SJob Noorman 38cd044ff9SJob Noormanrequired: 39cd044ff9SJob Noorman - compatible 40cd044ff9SJob Noorman - reg 41cd044ff9SJob Noorman - interrupts 42cd044ff9SJob Noorman - reset-gpios 43cd044ff9SJob Noorman - touchscreen-size-x 44cd044ff9SJob Noorman - touchscreen-size-y 45cd044ff9SJob Noorman 46cd044ff9SJob Noormanexamples: 47cd044ff9SJob Noorman - | 48cd044ff9SJob Noorman #include <dt-bindings/interrupt-controller/irq.h> 49cd044ff9SJob Noorman #include <dt-bindings/gpio/gpio.h> 50cd044ff9SJob Noorman i2c { 51cd044ff9SJob Noorman #address-cells = <1>; 52cd044ff9SJob Noorman #size-cells = <0>; 53cd044ff9SJob Noorman touchscreen@48 { 54cd044ff9SJob Noorman compatible = "himax,hx83112b"; 55cd044ff9SJob Noorman reg = <0x48>; 56cd044ff9SJob Noorman interrupt-parent = <&tlmm>; 57cd044ff9SJob Noorman interrupts = <65 IRQ_TYPE_LEVEL_LOW>; 58cd044ff9SJob Noorman touchscreen-size-x = <1080>; 59cd044ff9SJob Noorman touchscreen-size-y = <2160>; 60cd044ff9SJob Noorman reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>; 61cd044ff9SJob Noorman }; 62cd044ff9SJob Noorman }; 63cd044ff9SJob Noorman 64cd044ff9SJob Noorman... 65