]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Input: matrix_keypad - add option to drive inactive columns
authorDavid Rivshin <DRivshin@allworx.com>
Wed, 29 Mar 2017 07:14:16 +0000 (00:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 29 Mar 2017 07:25:01 +0000 (00:25 -0700)
commitaa0e26bb786b00eaa897e024769e299470815efe
treea95bbc7ed4797ae83db244ac40561cd7a5e31d20
parent4896fb1348713344abbd9f692b393b5fdc539bf8
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>
Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt
drivers/input/keyboard/matrix_keypad.c
include/linux/input/matrix_keypad.h