mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
Properties with standard unit suffixes already have a type and don't need type references. Fix a few more cases which have gotten added. Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Kevin Tsai <ktsai@capellamicro.com> Cc: linux-iio@vger.kernel.org Cc: linux-input@vger.kernel.org Cc: linux-pm@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Dmity Baryshkov <dmitry.baryshkov@linaro.org> Acked-by: Mark Brown <broonie@kernel.org> Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net> Acked-by: Sebastian Reichel <sre@kernel.org> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://lore.kernel.org/r/20210316194824.3526913-1-robh@kernel.org
37 lines
997 B
YAML
37 lines
997 B
YAML
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/input/input.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Common input schema binding
|
|
|
|
maintainers:
|
|
- Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
|
|
|
properties:
|
|
autorepeat:
|
|
description: Enable autorepeat when key is pressed and held down.
|
|
type: boolean
|
|
|
|
linux,keycodes:
|
|
description:
|
|
Specifies an array of numeric keycode values to be used for reporting
|
|
button presses.
|
|
$ref: /schemas/types.yaml#/definitions/uint32-array
|
|
items:
|
|
minimum: 0
|
|
maximum: 0xff
|
|
|
|
poll-interval:
|
|
description: Poll interval time in milliseconds.
|
|
$ref: /schemas/types.yaml#/definitions/uint32
|
|
|
|
power-off-time-sec:
|
|
description:
|
|
Duration in seconds which the key should be kept pressed for device to
|
|
power off automatically. Device with key pressed shutdown feature can
|
|
specify this property.
|
|
|
|
additionalProperties: true
|