All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] pinctrl: stm32: add suspend/resume management
@ 2019-05-10  7:42 ` Alexandre Torgue
  0 siblings, 0 replies; 17+ messages in thread
From: Alexandre Torgue @ 2019-05-10  7:42 UTC (permalink / raw)
  To: Linus Walleij, Maxime Coquelin
  Cc: linux-gpio, alexandre.torgue, linux-kernel, linux-arm-kernel,
	linux-stm32

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.
Each register will be saved at runtime and restored during resume sequence.

Regards
Alex


Alexandre Torgue (2):
  pinctrl: stm32: add suspend/resume management
  pinctrl: stm32: Enable suspend/resume for stm32mp157c SoC

 drivers/pinctrl/stm32/pinctrl-stm32.c      | 132 +++++++++++++++++++++++++++++
 drivers/pinctrl/stm32/pinctrl-stm32.h      |   2 +
 drivers/pinctrl/stm32/pinctrl-stm32mp157.c |   5 ++
 3 files changed, 139 insertions(+)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2019-05-27 16:17 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-10  7:42 [PATCH 0/2] pinctrl: stm32: add suspend/resume management Alexandre Torgue
2019-05-10  7:42 ` Alexandre Torgue
2019-05-10  7:42 ` Alexandre Torgue
2019-05-10  7:42 ` [PATCH 1/2] " Alexandre Torgue
2019-05-10  7:42   ` Alexandre Torgue
2019-05-10  7:42   ` Alexandre Torgue
2019-05-10  7:42 ` [PATCH 2/2] pinctrl: stm32: Enable suspend/resume for stm32mp157c SoC Alexandre Torgue
2019-05-10  7:42   ` Alexandre Torgue
2019-05-10  7:42   ` Alexandre Torgue
2019-05-24 11:24 ` [PATCH 0/2] pinctrl: stm32: add suspend/resume management Linus Walleij
2019-05-24 11:24   ` Linus Walleij
2019-05-24 12:26   ` Alexandre Torgue
2019-05-24 12:26     ` Alexandre Torgue
2019-05-24 12:26     ` Alexandre Torgue
2019-05-27 16:17   ` Alexandre Torgue
2019-05-27 16:17     ` Alexandre Torgue
2019-05-27 16:17     ` Alexandre Torgue

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.