[PATCH v2 0/3] input: MT6358 PMIC button support

From: Mattijs Korpershoek
Date: Wed May 12 2021 - 12:53:25 EST


The MediaTek MT6358 PMIC has support for two buttons: PWR and HOME.

The interrupt logic is a little different than other PMICs from the
same family:
for MT6323 and MT6397, we have one interrupt source per button
* for MT6358, we have two interrupts lines per button: the press and
* release interrupts are distinct sources.

Initially, this series contained both mfd and input patches.
To simplify maintenance and review the original series [1] has
been split.

Changes since v1 at [2]:
- cover letter title prefixed with 'input'

This series depends on [3]

[1] https://lore.kernel.org/r/87tunpw339.fsf@xxxxxxxxxxxx
[2] https://lore.kernel.org/r/20210506153718.256903-1-mkorpershoek@xxxxxxxxxxxx
[3] https://lore.kernel.org/r/20210506094116.638527-1-mkorpershoek@xxxxxxxxxxxx

Mattijs Korpershoek (3):
Input: mtk-pmic-keys - use get_irq_byname() instead of index
dt-bindings: input: mtk-pmic-keys: add MT6358 binding definition
Input: mtk-pmic-keys - add support for MT6358

.../bindings/input/mtk-pmic-keys.txt | 5 +-
drivers/input/keyboard/mtk-pmic-keys.c | 56 +++++++++++++++++--
2 files changed, 56 insertions(+), 5 deletions(-)

--
2.27.0