linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] MT6358 PMIC button support
@ 2021-05-06  9:41 Mattijs Korpershoek
  2021-05-06  9:41 ` [PATCH 1/3] mfd: mt6397: add mt6358 register definitions for power key Mattijs Korpershoek
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mattijs Korpershoek @ 2021-05-06  9:41 UTC (permalink / raw)
  To: Lee Jones, Matthias Brugger
  Cc: Fabien Parent, 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.

This series depends on [1]

[1] https://lore.kernel.org/linux-arm-kernel/20210429143811.2030717-1-mkorpershoek@baylibre.com/

Mattijs Korpershoek (3):
  mfd: mt6397: add mt6358 register definitions for power key
  mfd: mt6397: keys: use named IRQs instead of index
  mfd: mt6397: add PMIC keys for MT6358

 drivers/mfd/mt6397-core.c            | 20 ++++++++++++++++----
 include/linux/mfd/mt6358/registers.h |  2 ++
 2 files changed, 18 insertions(+), 4 deletions(-)

-- 
2.27.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

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

end of thread, other threads:[~2021-05-19 11:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-06  9:41 [PATCH 0/3] MT6358 PMIC button support Mattijs Korpershoek
2021-05-06  9:41 ` [PATCH 1/3] mfd: mt6397: add mt6358 register definitions for power key Mattijs Korpershoek
2021-05-19 10:53   ` Lee Jones
2021-05-06  9:41 ` [PATCH 2/3] mfd: mt6397: keys: use named IRQs instead of index Mattijs Korpershoek
2021-05-19 10:55   ` Lee Jones
2021-05-06  9:41 ` [PATCH 3/3] mfd: mt6397: add PMIC keys for MT6358 Mattijs Korpershoek
2021-05-19 11:03   ` Lee Jones

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