remoteproc: stm32: wakeup the system by wdg irq
authorFabien Dessenne <fabien.dessenne@st.com>
Mon, 26 Aug 2019 15:38:43 +0000 (17:38 +0200)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 15 Nov 2019 06:44:53 +0000 (22:44 -0800)
commit410119ee29b6c14b88bae8cfa87b202e3fbe0488
treeefbc37cf6937e273d6ce604aaaf159c88768d554
parent14ea1d04ed0f7bae60951bdb8eeaa55cdbb26c73
remoteproc: stm32: wakeup the system by wdg irq

If the device node defines the 'wakeup-source' property, use the WDG
exti IRQ as a wakeup source of the system.

Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com>
Link: https://lore.kernel.org/r/1566833923-16718-3-git-send-email-fabien.dessenne@st.com
[bjorn: Replace ifdef with __maybe_unused for suspend/resume functions]
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/stm32_rproc.c