mbox series

[v2,0/2] Input: mt6779-keypad - fix hw code logic and row/col selection

Message ID 20220518075909.180629-1-mkorpershoek@baylibre.com (mailing list archive)
Headers show
Series Input: mt6779-keypad - fix hw code logic and row/col selection | expand

Message

Mattijs Korpershoek May 18, 2022, 7:59 a.m. UTC
This serie is the first follow-up on the mt6779-keypad in
order to enable it on the MediaTek mt8183-pumpkin board.

To fully enable it on mt8183-pumpkin, we still need:
* double key support
* dts changes

To ease up reviewing, I preferred sending this first.

The first patch fixes a logic bug based on the (non-public) datasheet
I have.
The second patch configures the keypad correctly in order to not
report bogus values.

Thank you,
Mattijs

v2 -> v1:
* Simplified SEL_COL/ROW_MASK macros as suggested by Dmitry
* Added Angelo's Reviewed-by on patch 1

Mattijs Korpershoek (2):
  Input: mt6779-keypad - fix hardware code mapping
  Input: mt6779-keypad - implement row/column selection

 drivers/input/keyboard/mt6779-keypad.c | 26 ++++++++++++++++++++++++--
 1 file changed, 24 insertions(+), 2 deletions(-)


base-commit: db02d07308ba7e94347ca037a662b3a1b1afe8c4