1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/input/input.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Input Devices Common Properties
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
14 description: Enable autorepeat when key is pressed and held down.
19 Specifies an array of numeric keycode values to be used for reporting
21 $ref: /schemas/types.yaml#/definitions/uint32-array
28 Specifies a single numeric keycode value to be used for reporting
29 button/switch events. Specify KEY_RESERVED (0) to opt out of event
31 $ref: /schemas/types.yaml#/definitions/uint32
35 $ref: /schemas/types.yaml#/definitions/uint32
42 Specifies whether the event is to be interpreted as a key, relative,
46 description: Poll interval time in milliseconds.
47 $ref: /schemas/types.yaml#/definitions/uint32
51 Duration in seconds which the key should be kept pressed for device to
52 power off automatically. Device with key pressed shutdown feature can
53 specify this property.
57 Duration in seconds which the key should be kept pressed for device to
58 reset automatically. Device with key pressed reset feature can specify
62 linux,input-type: [ "linux,code" ]
64 additionalProperties: true