aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input
diff options
context:
space:
mode:
authorDavid Rivshin <DRivshin@allworx.com>2017-03-29 03:14:16 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-03-29 03:25:01 -0400
commitaa0e26bb786b00eaa897e024769e299470815efe (patch)
treea95bbc7ed4797ae83db244ac40561cd7a5e31d20 /Documentation/devicetree/bindings/input
parent4896fb1348713344abbd9f692b393b5fdc539bf8 (diff)
Input: matrix_keypad - add option to drive inactive columns
The gpio-matrix-keypad driver normally sets inactive columns as inputs while scanning. This does not work for all hardware, which may require the inactive columns to be actively driven in order to overcome any pull-ups/downs on the columns. Signed-off-by: David Rivshin <drivshin@allworx.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
-rw-r--r--Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt
index d0ea09ba249f..570dc10f0cd7 100644
--- a/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt
+++ b/Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt
@@ -24,6 +24,8 @@ Optional Properties:
24- debounce-delay-ms: debounce interval in milliseconds 24- debounce-delay-ms: debounce interval in milliseconds
25- col-scan-delay-us: delay, measured in microseconds, that is needed 25- col-scan-delay-us: delay, measured in microseconds, that is needed
26 before we can scan keypad after activating column gpio 26 before we can scan keypad after activating column gpio
27- drive-inactive-cols: drive inactive columns during scan,
28 default is to turn inactive columns into inputs.
27 29
28Example: 30Example:
29 matrix-keypad { 31 matrix-keypad {