linux-mediatek.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND v3 0/4] input: MT6358 PMIC button support
@ 2021-08-16 10:00 Mattijs Korpershoek
  2021-08-16 10:00 ` [PATCH RESEND v3 1/4] Input: mtk-pmic-keys - use get_irq_byname() instead of index Mattijs Korpershoek
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Mattijs Korpershoek @ 2021-08-16 10:00 UTC (permalink / raw)
  To: Dmitry Torokhov, Matthias Brugger, Rob Herring
  Cc: Fabien Parent, Kevin Hilman, linux-input, devicetree,
	linux-arm-kernel, linux-mediatek, linux-kernel,
	Mattijs Korpershoek

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.

Changes since original v2 at [1]:
* added 4th patch with device tree enable
* cover letter title prefixed with 'input'

This has been tested with evtest on mt8183-pumpkin on 5.14-rc6

Mattijs Korpershoek (4):
  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
  arm64: dts: mt6358: add mt6358-keys node

 .../bindings/input/mtk-pmic-keys.txt          |  5 +-
 arch/arm64/boot/dts/mediatek/mt6358.dtsi      | 12 ++++
 drivers/input/keyboard/mtk-pmic-keys.c        | 56 +++++++++++++++++--
 3 files changed, 68 insertions(+), 5 deletions(-)

-- 
2.30.2


_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-10-05 17:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16 10:00 [PATCH RESEND v3 0/4] input: MT6358 PMIC button support Mattijs Korpershoek
2021-08-16 10:00 ` [PATCH RESEND v3 1/4] Input: mtk-pmic-keys - use get_irq_byname() instead of index Mattijs Korpershoek
2021-08-16 10:00 ` [PATCH RESEND v3 2/4] dt-bindings: input: mtk-pmic-keys: add MT6358 binding definition Mattijs Korpershoek
2021-08-16 10:00 ` [PATCH RESEND v3 3/4] Input: mtk-pmic-keys - add support for MT6358 Mattijs Korpershoek
2021-08-16 10:00 ` [PATCH RESEND v3 4/4] arm64: dts: mt6358: add mt6358-keys node Mattijs Korpershoek
2021-09-14 19:16 ` [PATCH RESEND v3 0/4] input: MT6358 PMIC button support Kevin Hilman
2021-10-05 17:48   ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).