]> asedeno.scripts.mit.edu Git - linux.git/commit
Input: mpr121 - add polling mode
authorMichal Vokáč <michal.vokac@ysoft.com>
Wed, 16 Oct 2019 00:17:29 +0000 (17:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 16 Oct 2019 00:43:54 +0000 (17:43 -0700)
commitee358cb45984f4569098d3a97edfd0067576ad2f
tree2895abad910e4b8b3386bb59812b8e89dcd88167
parentdef10ec7992f037140f3bd9542d1242cfd2027d4
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>
Documentation/devicetree/bindings/input/fsl,mpr121-touchkey.yaml
Documentation/devicetree/bindings/input/input.yaml
drivers/input/keyboard/mpr121_touchkey.c