1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/input/touchscreen/touchscreen.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Common touchscreen Bindings
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
14 description: minimum x coordinate reported
15 $ref: /schemas/types.yaml#/definitions/uint32
19 description: minimum y coordinate reported
20 $ref: /schemas/types.yaml#/definitions/uint32
24 description: horizontal resolution of touchscreen (maximum x coordinate reported + 1)
25 $ref: /schemas/types.yaml#/definitions/uint32
28 description: vertical resolution of touchscreen (maximum y coordinate reported + 1)
29 $ref: /schemas/types.yaml#/definitions/uint32
31 touchscreen-max-pressure:
32 description: maximum reported pressure (arbitrary range dependent on the controller)
33 $ref: /schemas/types.yaml#/definitions/uint32
35 touchscreen-min-pressure:
36 description: minimum pressure on the touchscreen to be achieved in order
37 for the touchscreen driver to report a touch event.
38 $ref: /schemas/types.yaml#/definitions/uint32
41 description: horizontal noise value of the absolute input device (in pixels)
42 $ref: /schemas/types.yaml#/definitions/uint32
45 description: vertical noise value of the absolute input device (in pixels)
46 $ref: /schemas/types.yaml#/definitions/uint32
48 touchscreen-fuzz-pressure:
49 description: pressure noise value of the absolute input device (arbitrary
50 range dependent on the controller)
51 $ref: /schemas/types.yaml#/definitions/uint32
53 touchscreen-average-samples:
54 description: Number of data samples which are averaged for each read (valid
55 values dependent on the controller)
56 $ref: /schemas/types.yaml#/definitions/uint32
58 touchscreen-inverted-x:
59 description: X axis is inverted
62 touchscreen-inverted-y:
63 description: Y axis is inverted
66 touchscreen-swapped-x-y:
67 description: X and Y axis are swapped
68 Swapping is done after inverting the axis
72 description: horizontal length in mm of the touchscreen
73 $ref: /schemas/types.yaml#/definitions/uint32
76 description: vertical length in mm of the touchscreen
77 $ref: /schemas/types.yaml#/definitions/uint32
80 touchscreen-size-x: [ touchscreen-size-y ]
81 touchscreen-size-y: [ touchscreen-size-x ]
82 touchscreen-x-mm: [ touchscreen-y-mm ]
83 touchscreen-y-mm: [ touchscreen-x-mm ]
85 additionalProperties: true