This series is needed to avoid key-loss if the GPIOs are connected via a I2C GPIO MUX that introduces additional latencies between key change and matrix scan. This series applies on 6.13-rc6 Changes in V4: * deprecate gpio-activelow in gpio-matrix-keypad.yaml * change reference to linux,keymap in gpio-matrix-keypad.yaml Changes in V3: * fix 'references a file that doesn't exist' in wakeup-source.txt * remove copied and deprecated properties from gpio-matrix-keypad.yaml * extend patch description to clarify the changes * rebase to 6.13-rc6 Changes in V2: * added patch to convert dt-bindings to YAML * added missing dt-bindings properties description * removed [PATCH 1/6] Input: matrix_keypad - move gpio-row init to the init it would revert 01c84b03d80aab9f04c4e3e1f9085f4202ff7c29 * removed internally given Tested-by and Reviewed-by tags V3: https://lore.kernel.org/lkml/20250107135659.185293-1-markus.burri@xxxxxx/ V2:https://lore.kernel.org/lkml/20241105130322.213623-1-markus.burri@xxxxxx/ V1:https://lore.kernel.org/lkml/20241031063004.69956-1-markus.burri@xxxxxx/ --- Markus Burri (7): Input: matrix_keypad - use fsleep for variable delay duration Input: matrix_keypad - add function for reading row state dt-bindings: input: matrix_keypad - convert to YAML dt-bindings: input: matrix_keypad - add missing property 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 | 49 --------- .../bindings/input/gpio-matrix-keypad.yaml | 100 ++++++++++++++++++ .../bindings/power/wakeup-source.txt | 2 +- drivers/input/keyboard/matrix_keypad.c | 38 ++++++- 4 files changed, 135 insertions(+), 54 deletions(-) delete mode 100644 Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt create mode 100644 Documentation/devicetree/bindings/input/gpio-matrix-keypad.yaml -- 2.39.5