Re: [PATCH] input: matrix_keypad: add option to drive inactive columns

From: Rob Herring
Date: Tue Mar 28 2017 - 22:02:51 EST


On Wed, Mar 22, 2017 at 04:16:50PM -0400, David Rivshin wrote:
> From: David Rivshin <DRivshin@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>
> ---
> .../devicetree/bindings/input/gpio-matrix-keypad.txt | 2 ++
> drivers/input/keyboard/matrix_keypad.c | 13 +++++++++----
> include/linux/input/matrix_keypad.h | 3 +++
> 3 files changed, 14 insertions(+), 4 deletions(-)

Acked-by: Rob Herring <robh@xxxxxxxxxx>