1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/input/input.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Common input schema binding 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Dmitry Torokhov <dmitry.torokhov@gmail.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotproperties: 13c66ec88fSEmmanuel Vadot autorepeat: 14c66ec88fSEmmanuel Vadot description: Enable autorepeat when key is pressed and held down. 15c66ec88fSEmmanuel Vadot type: boolean 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot linux,keycodes: 18c66ec88fSEmmanuel Vadot description: 19c66ec88fSEmmanuel Vadot Specifies an array of numeric keycode values to be used for reporting 20c66ec88fSEmmanuel Vadot button presses. 21c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32-array 22c66ec88fSEmmanuel Vadot items: 23c66ec88fSEmmanuel Vadot minimum: 0 24c66ec88fSEmmanuel Vadot maximum: 0xff 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot poll-interval: 27c66ec88fSEmmanuel Vadot description: Poll interval time in milliseconds. 28c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadot power-off-time-sec: 31c66ec88fSEmmanuel Vadot description: 32c66ec88fSEmmanuel Vadot Duration in seconds which the key should be kept pressed for device to 33c66ec88fSEmmanuel Vadot power off automatically. Device with key pressed shutdown feature can 34c66ec88fSEmmanuel Vadot specify this property. 35c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 36*6be33864SEmmanuel Vadot 37*6be33864SEmmanuel VadotadditionalProperties: true 38