linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] gpio: sch: Interrupt support
@ 2021-03-16 16:26 Andy Shevchenko
  2021-03-16 16:26 ` [PATCH v4 1/2] gpio: sch: Add edge event support Andy Shevchenko
  2021-03-16 16:26 ` [PATCH v4 2/2] gpio: sch: Hook into ACPI SCI handler to catch GPIO edge events Andy Shevchenko
  0 siblings, 2 replies; 8+ messages in thread
From: Andy Shevchenko @ 2021-03-16 16:26 UTC (permalink / raw)
  To: Andy Shevchenko, Jan Kiszka, linux-gpio, linux-kernel
  Cc: Andy Shevchenko, Linus Walleij, Bartosz Golaszewski

I'm now struggling to test this on Intel Minnowboard (v1), but it seems not
working and it's only one possible pin to test, so I have to take soldering
iron in my hands and do some hardware hacks to test. Meanwhile I sent this in
order to Jan to test on his side that everything is working on their platform.

Changes in v4:
- turned to GPIO core infrastructure of IRQ chip instantiation (Linus)
- converted IRQ callbacks to use better APIs
- use handle_bad_irq() as default handler and now I know why, see
  eb441337c714 ("gpio: pca953x: Set IRQ type when handle Intel Galileo Gen 2")
  for the real example what happens if it's preset to something meaningful
- fixed remove stage (we have to remove SCI handler, which wasn't done in v3)

Changes in v3 (https://lore.kernel.org/linux-gpio/cover.1574277614.git.jan.kiszka@siemens.com/T/#u):
 - split-up of the irq enabling patch as requested by Andy

Jan Kiszka (2):
  gpio: sch: Add edge event support
  gpio: sch: Hook into ACPI SCI handler to catch GPIO edge events

 drivers/gpio/gpio-sch.c | 146 ++++++++++++++++++++++++++++++++++++++--
 1 file changed, 140 insertions(+), 6 deletions(-)

-- 
2.30.2


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

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

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 16:26 [PATCH v4 0/2] gpio: sch: Interrupt support Andy Shevchenko
2021-03-16 16:26 ` [PATCH v4 1/2] gpio: sch: Add edge event support Andy Shevchenko
2021-03-16 16:26 ` [PATCH v4 2/2] gpio: sch: Hook into ACPI SCI handler to catch GPIO edge events Andy Shevchenko
2021-03-16 17:05   ` Andy Shevchenko
2021-03-16 20:49   ` Andy Shevchenko
2021-03-17  6:57     ` Jan Kiszka
2021-03-17  9:52       ` Andy Shevchenko
2021-03-17  9:57         ` Jan Kiszka

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