dt-bindings: input: Add reset-time-sec common property
authorCristian Ciocaltea <cristian.ciocaltea@gmail.com>
Tue, 26 Jan 2021 09:55:57 +0000 (11:55 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 10 Mar 2021 11:10:18 +0000 (11:10 +0000)
Add a new common property 'reset-time-sec' to be used in conjunction
with the devices supporting the key pressed reset feature.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/input/input.yaml

index ab407f266bef1038b8ce97c0e98f6872be4f644b..caba93209ae755d761ed79748598ebb32764a0eb 100644 (file)
@@ -34,4 +34,11 @@ properties:
       specify this property.
     $ref: /schemas/types.yaml#/definitions/uint32
 
+  reset-time-sec:
+    description:
+      Duration in seconds which the key should be kept pressed for device to
+      reset automatically. Device with key pressed reset feature can specify
+      this property.
+    $ref: /schemas/types.yaml#/definitions/uint32
+
 additionalProperties: true