]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: stm32: add suspend/resume management
authorAlexandre Torgue <alexandre.torgue@st.com>
Fri, 10 May 2019 07:42:29 +0000 (09:42 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 24 May 2019 11:21:15 +0000 (13:21 +0200)
commite2f3cf18c3e2c98be382c54a5860eb2e418f0e02
tree7ef6273d0c4e43ad71085bb491a5e1bde26d50f6
parentb672a87ae5ab0704364781214bb1251b75cbef1b
pinctrl: stm32: add suspend/resume management

During power sequence, GPIO hardware registers could be lost if the power
supply is switched off. Each device using pinctrl API is in charge of
managing pins during suspend/resume sequences. But for pins used as gpio or
irq stm32 pinctrl driver has to save the hardware configuration.

Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/stm32/pinctrl-stm32.c
drivers/pinctrl/stm32/pinctrl-stm32.h