1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0 2*4882a593Smuzhiyun%YAML 1.2 3*4882a593Smuzhiyun--- 4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/input/touchscreen/touchscreen.yaml# 5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml# 6*4882a593Smuzhiyun 7*4882a593Smuzhiyuntitle: Common touchscreen Bindings 8*4882a593Smuzhiyun 9*4882a593Smuzhiyunmaintainers: 10*4882a593Smuzhiyun - Dmitry Torokhov <dmitry.torokhov@gmail.com> 11*4882a593Smuzhiyun 12*4882a593Smuzhiyunproperties: 13*4882a593Smuzhiyun touchscreen-min-x: 14*4882a593Smuzhiyun description: minimum x coordinate reported 15*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 16*4882a593Smuzhiyun default: 0 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun touchscreen-min-y: 19*4882a593Smuzhiyun description: minimum y coordinate reported 20*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 21*4882a593Smuzhiyun default: 0 22*4882a593Smuzhiyun 23*4882a593Smuzhiyun touchscreen-size-x: 24*4882a593Smuzhiyun description: horizontal resolution of touchscreen (maximum x coordinate reported + 1) 25*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun touchscreen-size-y: 28*4882a593Smuzhiyun description: vertical resolution of touchscreen (maximum y coordinate reported + 1) 29*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun touchscreen-max-pressure: 32*4882a593Smuzhiyun description: maximum reported pressure (arbitrary range dependent on the controller) 33*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun touchscreen-min-pressure: 36*4882a593Smuzhiyun description: minimum pressure on the touchscreen to be achieved in order 37*4882a593Smuzhiyun for the touchscreen driver to report a touch event. 38*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 39*4882a593Smuzhiyun 40*4882a593Smuzhiyun touchscreen-fuzz-x: 41*4882a593Smuzhiyun description: horizontal noise value of the absolute input device (in pixels) 42*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 43*4882a593Smuzhiyun 44*4882a593Smuzhiyun touchscreen-fuzz-y: 45*4882a593Smuzhiyun description: vertical noise value of the absolute input device (in pixels) 46*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 47*4882a593Smuzhiyun 48*4882a593Smuzhiyun touchscreen-fuzz-pressure: 49*4882a593Smuzhiyun description: pressure noise value of the absolute input device (arbitrary 50*4882a593Smuzhiyun range dependent on the controller) 51*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun touchscreen-average-samples: 54*4882a593Smuzhiyun description: Number of data samples which are averaged for each read (valid 55*4882a593Smuzhiyun values dependent on the controller) 56*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 57*4882a593Smuzhiyun 58*4882a593Smuzhiyun touchscreen-inverted-x: 59*4882a593Smuzhiyun description: X axis is inverted 60*4882a593Smuzhiyun type: boolean 61*4882a593Smuzhiyun 62*4882a593Smuzhiyun touchscreen-inverted-y: 63*4882a593Smuzhiyun description: Y axis is inverted 64*4882a593Smuzhiyun type: boolean 65*4882a593Smuzhiyun 66*4882a593Smuzhiyun touchscreen-swapped-x-y: 67*4882a593Smuzhiyun description: X and Y axis are swapped 68*4882a593Smuzhiyun Swapping is done after inverting the axis 69*4882a593Smuzhiyun type: boolean 70*4882a593Smuzhiyun 71*4882a593Smuzhiyun touchscreen-x-mm: 72*4882a593Smuzhiyun description: horizontal length in mm of the touchscreen 73*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 74*4882a593Smuzhiyun 75*4882a593Smuzhiyun touchscreen-y-mm: 76*4882a593Smuzhiyun description: vertical length in mm of the touchscreen 77*4882a593Smuzhiyun $ref: /schemas/types.yaml#/definitions/uint32 78*4882a593Smuzhiyun 79*4882a593Smuzhiyundependencies: 80*4882a593Smuzhiyun touchscreen-size-x: [ touchscreen-size-y ] 81*4882a593Smuzhiyun touchscreen-size-y: [ touchscreen-size-x ] 82*4882a593Smuzhiyun touchscreen-x-mm: [ touchscreen-y-mm ] 83*4882a593Smuzhiyun touchscreen-y-mm: [ touchscreen-x-mm ] 84*4882a593Smuzhiyun 85*4882a593SmuzhiyunadditionalProperties: true 86