]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: matrix_keypad - add settle time after enabling all columns
authorMarkus Burri <markus.burri@mt.com>
Tue, 25 Feb 2025 17:59:07 +0000 (09:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 Feb 2025 19:22:00 +0000 (11:22 -0800)
commit90a0a63451e42e3638039dde2e511e95a8486880
tree09e9abf5e17805837642530057644f071e396dbf
parent2eeac6d4bb5ea1063dd634c490c89bb04cb79265
Input: matrix_keypad - add settle time after enabling all columns

Matrix keypads with high capacity need a longer settle time after
enabling all columns before re-enabling interrupts. The delay gives
the system time to settle and avoids spurious interrupts.

Add a new optional device property to configure the delay after
enabling all columns. The default is no delay.

Signed-off-by: Markus Burri <markus.burri@mt.com>
Reviewed-by: Manuel Traut <manuel.traut@mt.com>
Link: https://lore.kernel.org/r/20250110054906.354296-7-markus.burri@mt.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/matrix_keypad.c