97 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/input/touchscreen/touchscreen.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Common touchscreen8 9maintainers:10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>11 12properties:13 panel:14 description: If this touchscreen is integrally connected to a panel, this15 is a reference to that panel. The presence of this reference indicates16 that the touchscreen should be power sequenced together with the panel17 and that they may share power and/or reset signals.18 $ref: /schemas/types.yaml#/definitions/phandle19 20 touchscreen-min-x:21 description: minimum x coordinate reported22 $ref: /schemas/types.yaml#/definitions/uint3223 default: 024 25 touchscreen-min-y:26 description: minimum y coordinate reported27 $ref: /schemas/types.yaml#/definitions/uint3228 default: 029 30 touchscreen-size-x:31 description: horizontal resolution of touchscreen (maximum x coordinate reported + 1)32 $ref: /schemas/types.yaml#/definitions/uint3233 34 touchscreen-size-y:35 description: vertical resolution of touchscreen (maximum y coordinate reported + 1)36 $ref: /schemas/types.yaml#/definitions/uint3237 38 touchscreen-max-pressure:39 description: maximum reported pressure (arbitrary range dependent on the controller)40 $ref: /schemas/types.yaml#/definitions/uint3241 42 touchscreen-min-pressure:43 description: minimum pressure on the touchscreen to be achieved in order44 for the touchscreen driver to report a touch event.45 $ref: /schemas/types.yaml#/definitions/uint3246 47 touchscreen-fuzz-x:48 description: horizontal noise value of the absolute input device (in pixels)49 $ref: /schemas/types.yaml#/definitions/uint3250 51 touchscreen-fuzz-y:52 description: vertical noise value of the absolute input device (in pixels)53 $ref: /schemas/types.yaml#/definitions/uint3254 55 touchscreen-fuzz-pressure:56 description: pressure noise value of the absolute input device (arbitrary57 range dependent on the controller)58 $ref: /schemas/types.yaml#/definitions/uint3259 60 touchscreen-average-samples:61 description: Number of data samples which are averaged for each read (valid62 values dependent on the controller)63 $ref: /schemas/types.yaml#/definitions/uint3264 65 touchscreen-inverted-x:66 description: X axis is inverted67 type: boolean68 69 touchscreen-inverted-y:70 description: Y axis is inverted71 type: boolean72 73 touchscreen-swapped-x-y:74 description: X and Y axis are swapped75 Swapping is done after inverting the axis76 type: boolean77 78 touchscreen-x-mm:79 description: horizontal length in mm of the touchscreen80 81 touchscreen-y-mm:82 description: vertical length in mm of the touchscreen83 84 touchscreen-x-plate-ohms:85 description: Resistance of the X-plate in Ohms86 87 touchscreen-y-plate-ohms:88 description: Resistance of the Y-plate in Ohms89 90dependencies:91 touchscreen-size-x: [ touchscreen-size-y ]92 touchscreen-size-y: [ touchscreen-size-x ]93 touchscreen-x-mm: [ touchscreen-y-mm ]94 touchscreen-y-mm: [ touchscreen-x-mm ]95 96additionalProperties: true97