Re: [PATCH v2 3/7] dt-bindings: mediatek,mt6779-keypad: add mediatek,keys-per-group

From: Krzysztof Kozlowski
Date: Wed Jul 27 2022 - 06:28:09 EST


On 26/07/2022 14:56, Mattijs Korpershoek wrote:
> The 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
>
> With double key, two keys are physically wired to one (row, column) pin.
> These keys are in the same "group".
>
> Multiple keys in the same group reduces the number of pins which
> minimizes cost.
>
> Add a keys-per-group property to describe this.
>
> Signed-off-by: Mattijs Korpershoek <mkorpershoek@xxxxxxxxxxxx>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>


Best regards,
Krzysztof