xref: /openbmc/linux/Documentation/devicetree/bindings/input/input.yaml (revision 3d21a46093352f7802b9c66c7cce35cd02a50e53)
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.
21*3d21a460SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32-array
22*3d21a460SRob 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
36