summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/input/input.yaml
diff options
context:
space:
mode:
authorMichal Vokáč <michal.vokac@ysoft.com>2019-10-16 03:17:29 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2019-10-16 03:43:54 +0300
commitee358cb45984f4569098d3a97edfd0067576ad2f (patch)
tree2895abad910e4b8b3386bb59812b8e89dcd88167 /Documentation/devicetree/bindings/input/input.yaml
parentdef10ec7992f037140f3bd9542d1242cfd2027d4 (diff)
downloadlinux-ee358cb45984f4569098d3a97edfd0067576ad2f.tar.xz
Input: mpr121 - add polling mode
In case the interrupt line is not available, polling can be used to read out the state of the keys. Period of the polling needs to be configured by the poll-interval DT property. Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input/input.yaml')
-rw-r--r--Documentation/devicetree/bindings/input/input.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/input.yaml b/Documentation/devicetree/bindings/input/input.yaml
index ca8fe84a2e62..6d519046b3af 100644
--- a/Documentation/devicetree/bindings/input/input.yaml
+++ b/Documentation/devicetree/bindings/input/input.yaml
@@ -24,6 +24,10 @@ properties:
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