[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220720-mt8183-keypad-v1-0-ef9fc29dbff4@baylibre.com>
Date: Wed, 20 Jul 2022 16:48:36 +0200
From: Mattijs Korpershoek <mkorpershoek@...libre.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Mattijs Korpershoek <mkorpershoek@...libre.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Matthias Brugger <matthias.bgg@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-input@...r.kernel.org,
Fabien Parent <parent.f@...il.com>, devicetree@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
Fabien Parent <fparent@...libre.com>,
linux-arm-kernel@...ts.infradead.org
Subject: [PATCH v1 0/6] Input: mt6779-keypad - double keys support
The MediaTek keypad controller has multiple operating modes:
* single key detection (currently implemented)
* double key detection
With double key detection, each (row,column) is a group that can detect
two keys in the key matrix.
This minimizes the overall pin counts for cost reduction.
However, pressing multiple keys in the same group will not be
detected properly.
On some boards, like mt8183-pumpkin, double key detection is used.
Signed-off-by: Mattijs Korpershoek <mkorpershoek@...libre.com>
---
Fabien Parent (2):
arm64: dts: mediatek: mt8183: add keyboard node
arm64: dts: mediatek: mt8183-pumpkin: add keypad support
Mattijs Korpershoek (4):
MAINTAINERS: input: add mattijs for mt6779-keypad
dt-bindings: mediatek,mt6779-keypad: use unevaluatedProperties
dt-bindings: mediatek,mt6779-keypad: add mediatek,double-keys
Input: mt6779-keypad - support double keys matrix
.../bindings/input/mediatek,mt6779-keypad.yaml | 8 +++++++-
MAINTAINERS | 6 ++++++
arch/arm64/boot/dts/mediatek/mt8183-pumpkin.dts | 21 +++++++++++++++++++++
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 9 +++++++++
drivers/input/keyboard/mt6779-keypad.c | 17 +++++++++++++++--
5 files changed, 58 insertions(+), 3 deletions(-)
---
base-commit: 3b87ed7ea4d598c81a03317a92dfbd59102224fd
change-id: 20220720-mt8183-keypad-20aa77106ff0
Best regards,
--
Mattijs Korpershoek <mkorpershoek@...libre.com>
Powered by blists - more mailing lists