]> git.baikalelectronics.ru Git - kernel.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)
commitea8a29a5062c3f4d253ab5fe1ca6722c3d70bd0c
tree2895abad910e4b8b3386bb59812b8e89dcd88167
parent8fd144d7db869cb277390518c67dc4b357089abd
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