diff options
author | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2022-07-26 14:56:10 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-08-11 00:51:01 +0200 |
commit | 51c88597517d9625c127f0d8f8f3bf04ef5f8d76 (patch) | |
tree | c530183ca5ed9ce6e48c0319c3cbbb78a38757cf /drivers/input/keyboard/lm8323.c | |
parent | Input: mt6779-keypad - prepare double keys support with calc_row_col (diff) | |
download | linux-51c88597517d9625c127f0d8f8f3bf04ef5f8d76.tar.xz linux-51c88597517d9625c127f0d8f8f3bf04ef5f8d76.zip |
Input: mt6779-keypad - support double keys matrix
MediaTek keypad has 2 modes of detecting key events:
- single key: each (row, column) can detect one key
- double key: each (row, column) is a group of 2 keys
Double key support exists to minimize cost, since it reduces the number
of pins required for physical keys.
Double key is configured by setting BIT(0) of the KP_SEL register.
Enable double key matrix support based on the mediatek,keys-per-group
device tree property.
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220720-mt8183-keypad-v2-5-6d42c357cb76@baylibre.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/lm8323.c')
0 files changed, 0 insertions, 0 deletions