mbox series

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

Message ID 20210512152648.39961-1-mkorpershoek@baylibre.com
Headers show
Series input: MT6358 PMIC button support | expand

Message

Mattijs Korpershoek May 12, 2021, 3:26 p.m. UTC
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@baylibre.com
[2] https://lore.kernel.org/r/20210506153718.256903-1-mkorpershoek@baylibre.com
[3] https://lore.kernel.org/r/20210506094116.638527-1-mkorpershoek@baylibre.com

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(-)