Messages in this thread | | | Date | Wed, 27 Jul 2022 09:34:24 +0200 | Subject | Re: [PATCH v2 5/7] Input: mt6779-keypad - support double keys matrix | From | AngeloGioacchino Del Regno <> |
| |
Il 26/07/22 14:56, Mattijs Korpershoek ha scritto: > 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>
| |