diff options
author | Michal Vokáč <michal.vokac@ysoft.com> | 2019-10-16 03:17:29 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-10-16 03:43:54 +0300 |
commit | ee358cb45984f4569098d3a97edfd0067576ad2f (patch) | |
tree | 2895abad910e4b8b3386bb59812b8e89dcd88167 /Documentation/devicetree/bindings/input/input.yaml | |
parent | def10ec7992f037140f3bd9542d1242cfd2027d4 (diff) | |
download | linux-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.yaml | 4 |
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 |