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

Erwan Le Ray posted 2 patches 4 years, 4 months ago
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(-)
[PATCH 0/2] STM32 enable gpio irqs as wakeup irqs for uart port
Posted by Erwan Le Ray 4 years, 4 months ago
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