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 Bindings 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: << 14 description: If this touchscreen is integr << 15 is a reference to that panel. The presen << 16 that the touchscreen should be power seq << 17 and that they may share power and/or res << 18 $ref: /schemas/types.yaml#/definitions/pha << 19 << 20 touchscreen-min-x: 13 touchscreen-min-x: 21 description: minimum x coordinate reported 14 description: minimum x coordinate reported 22 $ref: /schemas/types.yaml#/definitions/uin 15 $ref: /schemas/types.yaml#/definitions/uint32 23 default: 0 16 default: 0 24 17 25 touchscreen-min-y: 18 touchscreen-min-y: 26 description: minimum y coordinate reported 19 description: minimum y coordinate reported 27 $ref: /schemas/types.yaml#/definitions/uin 20 $ref: /schemas/types.yaml#/definitions/uint32 28 default: 0 21 default: 0 29 22 30 touchscreen-size-x: 23 touchscreen-size-x: 31 description: horizontal resolution of touc 24 description: horizontal resolution of touchscreen (maximum x coordinate reported + 1) 32 $ref: /schemas/types.yaml#/definitions/uin 25 $ref: /schemas/types.yaml#/definitions/uint32 33 26 34 touchscreen-size-y: 27 touchscreen-size-y: 35 description: vertical resolution of touchs 28 description: vertical resolution of touchscreen (maximum y coordinate reported + 1) 36 $ref: /schemas/types.yaml#/definitions/uin 29 $ref: /schemas/types.yaml#/definitions/uint32 37 30 38 touchscreen-max-pressure: 31 touchscreen-max-pressure: 39 description: maximum reported pressure (ar 32 description: maximum reported pressure (arbitrary range dependent on the controller) 40 $ref: /schemas/types.yaml#/definitions/uin 33 $ref: /schemas/types.yaml#/definitions/uint32 41 34 42 touchscreen-min-pressure: 35 touchscreen-min-pressure: 43 description: minimum pressure on the touch !! 36 description: minimum pressure on the touchscreen to be achieved in order for the 44 for the touchscreen driver to report a t !! 37 touchscreen driver to report a touch event. 45 $ref: /schemas/types.yaml#/definitions/uin 38 $ref: /schemas/types.yaml#/definitions/uint32 46 39 47 touchscreen-fuzz-x: 40 touchscreen-fuzz-x: 48 description: horizontal noise value of the 41 description: horizontal noise value of the absolute input device (in pixels) 49 $ref: /schemas/types.yaml#/definitions/uin 42 $ref: /schemas/types.yaml#/definitions/uint32 50 43 51 touchscreen-fuzz-y: 44 touchscreen-fuzz-y: 52 description: vertical noise value of the a 45 description: vertical noise value of the absolute input device (in pixels) 53 $ref: /schemas/types.yaml#/definitions/uin 46 $ref: /schemas/types.yaml#/definitions/uint32 54 47 55 touchscreen-fuzz-pressure: 48 touchscreen-fuzz-pressure: 56 description: pressure noise value of the a !! 49 description: pressure noise value of the absolute input device (arbitrary range 57 range dependent on the controller) !! 50 dependent on the controller) 58 $ref: /schemas/types.yaml#/definitions/uin 51 $ref: /schemas/types.yaml#/definitions/uint32 59 52 60 touchscreen-average-samples: 53 touchscreen-average-samples: 61 description: Number of data samples which !! 54 description: Number of data samples which are averaged for each read (valid values 62 values dependent on the controller) !! 55 dependent on the controller) 63 $ref: /schemas/types.yaml#/definitions/uin 56 $ref: /schemas/types.yaml#/definitions/uint32 64 57 65 touchscreen-inverted-x: 58 touchscreen-inverted-x: 66 description: X axis is inverted 59 description: X axis is inverted 67 type: boolean 60 type: boolean 68 61 69 touchscreen-inverted-y: 62 touchscreen-inverted-y: 70 description: Y axis is inverted 63 description: Y axis is inverted 71 type: boolean 64 type: boolean 72 65 73 touchscreen-swapped-x-y: 66 touchscreen-swapped-x-y: 74 description: X and Y axis are swapped 67 description: X and Y axis are swapped 75 Swapping is done after invert 68 Swapping is done after inverting the axis 76 type: boolean 69 type: boolean 77 70 78 touchscreen-x-mm: 71 touchscreen-x-mm: 79 description: horizontal length in mm of th 72 description: horizontal length in mm of the touchscreen >> 73 $ref: /schemas/types.yaml#/definitions/uint32 80 74 81 touchscreen-y-mm: 75 touchscreen-y-mm: 82 description: vertical length in mm of the 76 description: vertical length in mm of the touchscreen 83 !! 77 $ref: /schemas/types.yaml#/definitions/uint32 84 touchscreen-x-plate-ohms: << 85 description: Resistance of the X-plate in << 86 << 87 touchscreen-y-plate-ohms: << 88 description: Resistance of the Y-plate in << 89 78 90 dependencies: 79 dependencies: 91 touchscreen-size-x: [ touchscreen-size-y ] 80 touchscreen-size-x: [ touchscreen-size-y ] 92 touchscreen-size-y: [ touchscreen-size-x ] 81 touchscreen-size-y: [ touchscreen-size-x ] 93 touchscreen-x-mm: [ touchscreen-y-mm ] 82 touchscreen-x-mm: [ touchscreen-y-mm ] 94 touchscreen-y-mm: [ touchscreen-x-mm ] 83 touchscreen-y-mm: [ touchscreen-x-mm ] 95 << 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.