mbox series

[0/2] STM32 enable gpio irqs as wakeup irqs for uart port

Message ID 20220203171644.12231-1-erwan.leray@foss.st.com
Headers show
Series STM32 enable gpio irqs as wakeup irqs for uart port | expand

Message

Erwan LE RAY Feb. 3, 2022, 5:16 p.m. UTC
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(-)