diff options
author | Mattijs Korpershoek <mkorpershoek@baylibre.com> | 2022-07-26 14:56:10 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-08-10 15:51:01 -0700 |
commit | 51c88597517d9625c127f0d8f8f3bf04ef5f8d76 (patch) | |
tree | c530183ca5ed9ce6e48c0319c3cbbb78a38757cf /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e76be36ad9e8560f6d1b02ad12dc912eaa19ddd1 (diff) |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions