[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231204203357.2897008-1-ben.wolsieffer@hefring.com>
Date: Mon, 4 Dec 2023 15:33:55 -0500
From: Ben Wolsieffer <ben.wolsieffer@...ring.com>
To: linux-kernel@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org, linux-gpio@...r.kernel.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Linus Walleij <linus.walleij@...aro.org>,
Ben Wolsieffer <ben.wolsieffer@...ring.com>
Subject: [PATCH 0/2] stm32: fix GPIO level interrupts
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
Powered by blists - more mailing lists