[RFC PATCH 2/2] dt-bindings: input: gpio-keys: document label and autorepeat properties
From: Krzysztof Kozlowski
Date: Fri Jun 03 2022 - 06:16:36 EST
The original text bindings documented "autorepeat" and "label"
properties (in the device node, beside the nodes with keys).
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
Documentation/devicetree/bindings/input/gpio-keys.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Documentation/devicetree/bindings/input/gpio-keys.yaml b/Documentation/devicetree/bindings/input/gpio-keys.yaml
index 49d388dc8d78..b1c910a5e233 100644
--- a/Documentation/devicetree/bindings/input/gpio-keys.yaml
+++ b/Documentation/devicetree/bindings/input/gpio-keys.yaml
@@ -15,6 +15,14 @@ properties:
- gpio-keys
- gpio-keys-polled
+ autorepeat:
+ type: boolean
+ description:
+ Enable operating system (not hardware) key auto repeat feature.
+
+ label:
+ description: Name of entire device
+
patternProperties:
"^(key|key-[a-z0-9-]+|[a-z0-9-]+-key)$":
$ref: input.yaml#
--
2.34.1