[PATCH 0/2] STM32 enable gpio irqs as wakeup irqs for uart port
Erwan Le Ray
erwan.leray at foss.st.com
Thu Feb 3 09:16:42 PST 2022
This patchset allows to use mctrl_gpio pins as wakeup source.
Add a new API to enable / disable wake_irq for serial mctrl_gpio pins.
Use this API in STM32 usart driver to enable / disable mctrl_gpio pins
wake_irq in suspend / resume procedure.
Erwan Le Ray (2):
serial: mctrl_gpio: add a new API to enable / disable wake_irq
serial: stm32: enable / disable wake irqs for mcrtl_gpio wakeup
sources
drivers/tty/serial/serial_mctrl_gpio.c | 38 ++++++++++++++++++++++++++
drivers/tty/serial/serial_mctrl_gpio.h | 18 ++++++++++++
drivers/tty/serial/stm32-usart.c | 3 +-
3 files changed, 58 insertions(+), 1 deletion(-)
--
2.17.1
More information about the linux-arm-kernel
mailing list