All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] stm32: fix GPIO level interrupts
@ 2023-12-04 20:33 ` Ben Wolsieffer
  0 siblings, 0 replies; 18+ messages in thread
From: Ben Wolsieffer @ 2023-12-04 20:33 UTC (permalink / raw)
  To: linux-kernel, linux-stm32, linux-arm-kernel, linux-gpio
  Cc: Thomas Gleixner, Maxime Coquelin, Alexandre Torgue, Linus Walleij,
	Ben Wolsieffer

GPIO level interrupts on the STM32 were behaving like edge interrupts.
The STM32 lacks hardware support for GPIO level interrupts, therefore
the pinctrl driver contains code to emulate them using edge interrupts,
but this was not working.

First, the STM32 EXTI interrupt controller driver lacked support for
retriggering interrupts, and second, the wrong IRQ handler was being
used because the parent interrupt was an edge interrupt.

Ben Wolsieffer (2):
  irqchip/stm32-exti: support retriggering on STM32 MCUs
  pinctrl: stm32: fix GPIO level interrupts

 drivers/irqchip/irq-stm32-exti.c      | 13 +++++++++++++
 drivers/pinctrl/stm32/pinctrl-stm32.c |  3 +++
 2 files changed, 16 insertions(+)

-- 
2.42.1


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

end of thread, other threads:[~2023-12-14 17:13 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-04 20:33 [PATCH 0/2] stm32: fix GPIO level interrupts Ben Wolsieffer
2023-12-04 20:33 ` Ben Wolsieffer
2023-12-04 20:33 ` [PATCH 1/2] irqchip/stm32-exti: support retriggering on STM32 MCUs Ben Wolsieffer
2023-12-04 20:33   ` Ben Wolsieffer
2023-12-04 20:33 ` [PATCH 2/2] pinctrl: stm32: fix GPIO level interrupts Ben Wolsieffer
2023-12-04 20:33   ` Ben Wolsieffer
2023-12-07  9:56   ` Linus Walleij
2023-12-07  9:56     ` Linus Walleij
2023-12-07  9:59     ` Linus Walleij
2023-12-07  9:59       ` Linus Walleij
2023-12-08 20:43   ` Thomas Gleixner
2023-12-08 20:43     ` Thomas Gleixner
2023-12-12 15:35     ` Ben Wolsieffer
2023-12-12 15:35       ` Ben Wolsieffer
2023-12-12 19:32       ` Thomas Gleixner
2023-12-12 19:32         ` Thomas Gleixner
2023-12-14 17:12   ` [Linux-stm32] " Antonio Borneo
2023-12-14 17:12     ` Antonio Borneo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.