1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/touchscreen/hynitron,cstxxx.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Hynitron cstxxx series touchscreen controller
10 Bindings for Hynitron cstxxx series multi-touch touchscreen
14 - Chris Morgan <macromorgan@hotmail.com>
17 - $ref: touchscreen.yaml#
33 touchscreen-size-x: true
34 touchscreen-size-y: true
35 touchscreen-inverted-x: true
36 touchscreen-inverted-y: true
37 touchscreen-swapped-x-y: true
39 additionalProperties: false
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/interrupt-controller/arm-gic.h>
55 compatible = "hynitron,cst340";
57 interrupt-parent = <&gpio4>;
58 interrupts = <9 IRQ_TYPE_EDGE_FALLING>;
59 reset-gpios = <&gpio4 6 GPIO_ACTIVE_LOW>;
60 touchscreen-size-x = <640>;
61 touchscreen-size-y = <480>;