17cef1079SMichal Vokáč# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 27cef1079SMichal Vokáč%YAML 1.2 37cef1079SMichal Vokáč--- 47cef1079SMichal Vokáč$id: http://devicetree.org/schemas/input/input.yaml# 57cef1079SMichal Vokáč$schema: http://devicetree.org/meta-schemas/core.yaml# 67cef1079SMichal Vokáč 77cef1079SMichal Vokáčtitle: Common input schema binding 87cef1079SMichal Vokáč 97cef1079SMichal Vokáčmaintainers: 107cef1079SMichal Vokáč - Dmitry Torokhov <dmitry.torokhov@gmail.com> 117cef1079SMichal Vokáč 127cef1079SMichal Vokáčproperties: 137cef1079SMichal Vokáč autorepeat: 147cef1079SMichal Vokáč description: Enable autorepeat when key is pressed and held down. 157cef1079SMichal Vokáč type: boolean 167cef1079SMichal Vokáč 177cef1079SMichal Vokáč linux,keycodes: 187cef1079SMichal Vokáč description: 197cef1079SMichal Vokáč Specifies an array of numeric keycode values to be used for reporting 207cef1079SMichal Vokáč button presses. 213d21a460SRob Herring $ref: /schemas/types.yaml#/definitions/uint32-array 223d21a460SRob Herring items: 237cef1079SMichal Vokáč minimum: 0 247cef1079SMichal Vokáč maximum: 0xff 257cef1079SMichal Vokáč 26ee358cb4SMichal Vokáč poll-interval: 27ee358cb4SMichal Vokáč description: Poll interval time in milliseconds. 28ee358cb4SMichal Vokáč $ref: /schemas/types.yaml#/definitions/uint32 29ee358cb4SMichal Vokáč 307cef1079SMichal Vokáč power-off-time-sec: 317cef1079SMichal Vokáč description: 327cef1079SMichal Vokáč Duration in seconds which the key should be kept pressed for device to 337cef1079SMichal Vokáč power off automatically. Device with key pressed shutdown feature can 347cef1079SMichal Vokáč specify this property. 357cef1079SMichal Vokáč $ref: /schemas/types.yaml#/definitions/uint32 366a0e321eSRob Herring 37*44a8c5a9SCristian Ciocaltea reset-time-sec: 38*44a8c5a9SCristian Ciocaltea description: 39*44a8c5a9SCristian Ciocaltea Duration in seconds which the key should be kept pressed for device to 40*44a8c5a9SCristian Ciocaltea reset automatically. Device with key pressed reset feature can specify 41*44a8c5a9SCristian Ciocaltea this property. 42*44a8c5a9SCristian Ciocaltea $ref: /schemas/types.yaml#/definitions/uint32 43*44a8c5a9SCristian Ciocaltea 446a0e321eSRob HerringadditionalProperties: true 45