mbox series

[0/6] Input: matrix-keypad: Various performance improvements

Message ID 20241031063004.69956-1-markus.burri@mt.com (mailing list archive)
Headers show
Series Input: matrix-keypad: Various performance improvements | expand

Message

Markus Burri Oct. 31, 2024, 6:29 a.m. UTC
This series is needed to avoid key-loss if the GPIOs are connected via a I2C GPIO Mux
that introduces additonal latencies between key change and matrix scan.
 
Patch 1, 2 and 6 in this series introduce a performance boost on its own
and can be merged separately.
 
Patch 3, 4 and 5 depend on each other.

Markus Burri (6):
  Input: matrix_keypad - move gpio-row init to the init part
  Input: matrix_keypad - use fsleep for variable delay duration
  Input: matrix_keypad - add function for reading row state
  dt-bindings: input: matrix_keypad - add settle time after enable all
    columns
  Input: matrix_keypad - add settle time after enable all columns
  Input: matrix_keypad - detect change during scan

 .../bindings/input/gpio-matrix-keypad.txt     |  2 +
 drivers/input/keyboard/matrix_keypad.c        | 44 ++++++++++++++++---
 2 files changed, 39 insertions(+), 7 deletions(-)