1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/input/touch 4 $id: http://devicetree.org/schemas/input/touchscreen/touchscreen.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Common touchscreen 7 title: Common touchscreen 8 8 9 maintainers: 9 maintainers: 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 11 11 12 properties: 12 properties: 13 panel: 13 panel: 14 description: If this touchscreen is integr 14 description: If this touchscreen is integrally connected to a panel, this 15 is a reference to that panel. The presen 15 is a reference to that panel. The presence of this reference indicates 16 that the touchscreen should be power seq 16 that the touchscreen should be power sequenced together with the panel 17 and that they may share power and/or res 17 and that they may share power and/or reset signals. 18 $ref: /schemas/types.yaml#/definitions/pha 18 $ref: /schemas/types.yaml#/definitions/phandle 19 19 20 touchscreen-min-x: 20 touchscreen-min-x: 21 description: minimum x coordinate reported 21 description: minimum x coordinate reported 22 $ref: /schemas/types.yaml#/definitions/uin 22 $ref: /schemas/types.yaml#/definitions/uint32 23 default: 0 23 default: 0 24 24 25 touchscreen-min-y: 25 touchscreen-min-y: 26 description: minimum y coordinate reported 26 description: minimum y coordinate reported 27 $ref: /schemas/types.yaml#/definitions/uin 27 $ref: /schemas/types.yaml#/definitions/uint32 28 default: 0 28 default: 0 29 29 30 touchscreen-size-x: 30 touchscreen-size-x: 31 description: horizontal resolution of touc 31 description: horizontal resolution of touchscreen (maximum x coordinate reported + 1) 32 $ref: /schemas/types.yaml#/definitions/uin 32 $ref: /schemas/types.yaml#/definitions/uint32 33 33 34 touchscreen-size-y: 34 touchscreen-size-y: 35 description: vertical resolution of touchs 35 description: vertical resolution of touchscreen (maximum y coordinate reported + 1) 36 $ref: /schemas/types.yaml#/definitions/uin 36 $ref: /schemas/types.yaml#/definitions/uint32 37 37 38 touchscreen-max-pressure: 38 touchscreen-max-pressure: 39 description: maximum reported pressure (ar 39 description: maximum reported pressure (arbitrary range dependent on the controller) 40 $ref: /schemas/types.yaml#/definitions/uin 40 $ref: /schemas/types.yaml#/definitions/uint32 41 41 42 touchscreen-min-pressure: 42 touchscreen-min-pressure: 43 description: minimum pressure on the touch 43 description: minimum pressure on the touchscreen to be achieved in order 44 for the touchscreen driver to report a t 44 for the touchscreen driver to report a touch event. 45 $ref: /schemas/types.yaml#/definitions/uin 45 $ref: /schemas/types.yaml#/definitions/uint32 46 46 47 touchscreen-fuzz-x: 47 touchscreen-fuzz-x: 48 description: horizontal noise value of the 48 description: horizontal noise value of the absolute input device (in pixels) 49 $ref: /schemas/types.yaml#/definitions/uin 49 $ref: /schemas/types.yaml#/definitions/uint32 50 50 51 touchscreen-fuzz-y: 51 touchscreen-fuzz-y: 52 description: vertical noise value of the a 52 description: vertical noise value of the absolute input device (in pixels) 53 $ref: /schemas/types.yaml#/definitions/uin 53 $ref: /schemas/types.yaml#/definitions/uint32 54 54 55 touchscreen-fuzz-pressure: 55 touchscreen-fuzz-pressure: 56 description: pressure noise value of the a 56 description: pressure noise value of the absolute input device (arbitrary 57 range dependent on the controller) 57 range dependent on the controller) 58 $ref: /schemas/types.yaml#/definitions/uin 58 $ref: /schemas/types.yaml#/definitions/uint32 59 59 60 touchscreen-average-samples: 60 touchscreen-average-samples: 61 description: Number of data samples which 61 description: Number of data samples which are averaged for each read (valid 62 values dependent on the controller) 62 values dependent on the controller) 63 $ref: /schemas/types.yaml#/definitions/uin 63 $ref: /schemas/types.yaml#/definitions/uint32 64 64 65 touchscreen-inverted-x: 65 touchscreen-inverted-x: 66 description: X axis is inverted 66 description: X axis is inverted 67 type: boolean 67 type: boolean 68 68 69 touchscreen-inverted-y: 69 touchscreen-inverted-y: 70 description: Y axis is inverted 70 description: Y axis is inverted 71 type: boolean 71 type: boolean 72 72 73 touchscreen-swapped-x-y: 73 touchscreen-swapped-x-y: 74 description: X and Y axis are swapped 74 description: X and Y axis are swapped 75 Swapping is done after invert 75 Swapping is done after inverting the axis 76 type: boolean 76 type: boolean 77 77 78 touchscreen-x-mm: 78 touchscreen-x-mm: 79 description: horizontal length in mm of th 79 description: horizontal length in mm of the touchscreen 80 80 81 touchscreen-y-mm: 81 touchscreen-y-mm: 82 description: vertical length in mm of the 82 description: vertical length in mm of the touchscreen 83 83 84 touchscreen-x-plate-ohms: 84 touchscreen-x-plate-ohms: 85 description: Resistance of the X-plate in 85 description: Resistance of the X-plate in Ohms 86 86 87 touchscreen-y-plate-ohms: 87 touchscreen-y-plate-ohms: 88 description: Resistance of the Y-plate in 88 description: Resistance of the Y-plate in Ohms 89 89 90 dependencies: 90 dependencies: 91 touchscreen-size-x: [ touchscreen-size-y ] 91 touchscreen-size-x: [ touchscreen-size-y ] 92 touchscreen-size-y: [ touchscreen-size-x ] 92 touchscreen-size-y: [ touchscreen-size-x ] 93 touchscreen-x-mm: [ touchscreen-y-mm ] 93 touchscreen-x-mm: [ touchscreen-y-mm ] 94 touchscreen-y-mm: [ touchscreen-x-mm ] 94 touchscreen-y-mm: [ touchscreen-x-mm ] 95 95 96 additionalProperties: true 96 additionalProperties: true
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.