Merge tag 'block-6.13-20242901' of git://git.kernel.dk/linux
[drm/drm-misc.git] / Documentation / devicetree / bindings / input / touchscreen / himax,hx83112b.yaml
blobf5cfacb5e966d209739b882f36175b10be9635aa
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/input/touchscreen/himax,hx83112b.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Himax hx83112b touchscreen controller
9 maintainers:
10   - Job Noorman <job@noorman.info>
12 allOf:
13   - $ref: touchscreen.yaml#
15 properties:
16   compatible:
17     enum:
18       - himax,hx83100a
19       - himax,hx83112b
21   reg:
22     maxItems: 1
24   interrupts:
25     maxItems: 1
27   reset-gpios:
28     maxItems: 1
30   touchscreen-inverted-x: true
31   touchscreen-inverted-y: true
32   touchscreen-size-x: true
33   touchscreen-size-y: true
34   touchscreen-swapped-x-y: true
36 additionalProperties: false
38 required:
39   - compatible
40   - reg
41   - interrupts
42   - reset-gpios
43   - touchscreen-size-x
44   - touchscreen-size-y
46 examples:
47   - |
48     #include <dt-bindings/interrupt-controller/irq.h>
49     #include <dt-bindings/gpio/gpio.h>
50     i2c {
51       #address-cells = <1>;
52       #size-cells = <0>;
53       touchscreen@48 {
54         compatible = "himax,hx83112b";
55         reg = <0x48>;
56         interrupt-parent = <&tlmm>;
57         interrupts = <65 IRQ_TYPE_LEVEL_LOW>;
58         touchscreen-size-x = <1080>;
59         touchscreen-size-y = <2160>;
60         reset-gpios = <&tlmm 64 GPIO_ACTIVE_LOW>;
61       };
62     };
64 ...