162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci%YAML 1.2 362306a36Sopenharmony_ci--- 462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/input/touchscreen/touchscreen.yaml# 562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml# 662306a36Sopenharmony_ci 762306a36Sopenharmony_cititle: Common touchscreen 862306a36Sopenharmony_ci 962306a36Sopenharmony_cimaintainers: 1062306a36Sopenharmony_ci - Dmitry Torokhov <dmitry.torokhov@gmail.com> 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ciproperties: 1362306a36Sopenharmony_ci panel: 1462306a36Sopenharmony_ci description: If this touchscreen is integrally connected to a panel, this 1562306a36Sopenharmony_ci is a reference to that panel. The presence of this reference indicates 1662306a36Sopenharmony_ci that the touchscreen should be power sequenced together with the panel 1762306a36Sopenharmony_ci and that they may share power and/or reset signals. 1862306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/phandle 1962306a36Sopenharmony_ci 2062306a36Sopenharmony_ci touchscreen-min-x: 2162306a36Sopenharmony_ci description: minimum x coordinate reported 2262306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 2362306a36Sopenharmony_ci default: 0 2462306a36Sopenharmony_ci 2562306a36Sopenharmony_ci touchscreen-min-y: 2662306a36Sopenharmony_ci description: minimum y coordinate reported 2762306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 2862306a36Sopenharmony_ci default: 0 2962306a36Sopenharmony_ci 3062306a36Sopenharmony_ci touchscreen-size-x: 3162306a36Sopenharmony_ci description: horizontal resolution of touchscreen (maximum x coordinate reported + 1) 3262306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 3362306a36Sopenharmony_ci 3462306a36Sopenharmony_ci touchscreen-size-y: 3562306a36Sopenharmony_ci description: vertical resolution of touchscreen (maximum y coordinate reported + 1) 3662306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 3762306a36Sopenharmony_ci 3862306a36Sopenharmony_ci touchscreen-max-pressure: 3962306a36Sopenharmony_ci description: maximum reported pressure (arbitrary range dependent on the controller) 4062306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 4162306a36Sopenharmony_ci 4262306a36Sopenharmony_ci touchscreen-min-pressure: 4362306a36Sopenharmony_ci description: minimum pressure on the touchscreen to be achieved in order 4462306a36Sopenharmony_ci for the touchscreen driver to report a touch event. 4562306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 4662306a36Sopenharmony_ci 4762306a36Sopenharmony_ci touchscreen-fuzz-x: 4862306a36Sopenharmony_ci description: horizontal noise value of the absolute input device (in pixels) 4962306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 5062306a36Sopenharmony_ci 5162306a36Sopenharmony_ci touchscreen-fuzz-y: 5262306a36Sopenharmony_ci description: vertical noise value of the absolute input device (in pixels) 5362306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 5462306a36Sopenharmony_ci 5562306a36Sopenharmony_ci touchscreen-fuzz-pressure: 5662306a36Sopenharmony_ci description: pressure noise value of the absolute input device (arbitrary 5762306a36Sopenharmony_ci range dependent on the controller) 5862306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 5962306a36Sopenharmony_ci 6062306a36Sopenharmony_ci touchscreen-average-samples: 6162306a36Sopenharmony_ci description: Number of data samples which are averaged for each read (valid 6262306a36Sopenharmony_ci values dependent on the controller) 6362306a36Sopenharmony_ci $ref: /schemas/types.yaml#/definitions/uint32 6462306a36Sopenharmony_ci 6562306a36Sopenharmony_ci touchscreen-inverted-x: 6662306a36Sopenharmony_ci description: X axis is inverted 6762306a36Sopenharmony_ci type: boolean 6862306a36Sopenharmony_ci 6962306a36Sopenharmony_ci touchscreen-inverted-y: 7062306a36Sopenharmony_ci description: Y axis is inverted 7162306a36Sopenharmony_ci type: boolean 7262306a36Sopenharmony_ci 7362306a36Sopenharmony_ci touchscreen-swapped-x-y: 7462306a36Sopenharmony_ci description: X and Y axis are swapped 7562306a36Sopenharmony_ci Swapping is done after inverting the axis 7662306a36Sopenharmony_ci type: boolean 7762306a36Sopenharmony_ci 7862306a36Sopenharmony_ci touchscreen-x-mm: 7962306a36Sopenharmony_ci description: horizontal length in mm of the touchscreen 8062306a36Sopenharmony_ci 8162306a36Sopenharmony_ci touchscreen-y-mm: 8262306a36Sopenharmony_ci description: vertical length in mm of the touchscreen 8362306a36Sopenharmony_ci 8462306a36Sopenharmony_ci touchscreen-x-plate-ohms: 8562306a36Sopenharmony_ci description: Resistance of the X-plate in Ohms 8662306a36Sopenharmony_ci 8762306a36Sopenharmony_ci touchscreen-y-plate-ohms: 8862306a36Sopenharmony_ci description: Resistance of the Y-plate in Ohms 8962306a36Sopenharmony_ci 9062306a36Sopenharmony_cidependencies: 9162306a36Sopenharmony_ci touchscreen-size-x: [ touchscreen-size-y ] 9262306a36Sopenharmony_ci touchscreen-size-y: [ touchscreen-size-x ] 9362306a36Sopenharmony_ci touchscreen-x-mm: [ touchscreen-y-mm ] 9462306a36Sopenharmony_ci touchscreen-y-mm: [ touchscreen-x-mm ] 9562306a36Sopenharmony_ci 9662306a36Sopenharmony_ciadditionalProperties: true 97