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