# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/input/touchscreen/hynitron,cst816s.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Hynitron CST816S Touchscreen controller description: Hynitron CST816S Touchscreen controller for 1.28-inch 240x240 Resolution Touch LCD Display Module maintainers: - Oleh Kuzhylnyi allOf: - $ref: touchscreen.yaml# properties: compatible: enum: - hynitron,cst816s reg: maxItems: 1 interrupts: maxItems: 1 reset-gpios: maxItems: 1 additionalProperties: false required: - compatible - reg - interrupts - reset-gpios examples: - | #include #include i2c { #address-cells = <1>; #size-cells = <0>; touchscreen@15 { compatible = "hynitron,cst816s"; reg = <0x15>; interrupt-parent = <&gpio0>; interrupts = <4 IRQ_TYPE_EDGE_RISING>; reset-gpios = <&gpio 17 GPIO_ACTIVE_LOW>; }; }; ...