linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] Fix an irq issue and add system pm ops for StarFive JH7110 pinctrl drivers
@ 2023-09-05 12:21 Hal Feng
  2023-09-05 12:21 ` [PATCH v1 1/2] pinctrl: starfive: jh7110: Fix failure to set irq after CONFIG_PM is enabled Hal Feng
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hal Feng @ 2023-09-05 12:21 UTC (permalink / raw)
  To: Linus Walleij, Andreas Schwab, Conor Dooley, Emil Renner Berthing,
	Jianlong Huang, Hal Feng
  Cc: linux-gpio, linux-kernel

This patchset fixes some issues arising when CONFIG_PM is enabled
or suspending to disk.

The first patch fixes failure to set irq after CONFIG_PM is enabled.

The second patch adds system pm ops to save and restore context. So it can
ensure that the pins configuration keep consistent with the one before
suspending.

Hal Feng (2):
  pinctrl: starfive: jh7110: Fix failure to set irq after CONFIG_PM is
    enabled
  pinctrl: starfive: jh7110: Add system pm ops to save and restore
    context

 MAINTAINERS                                   |  1 +
 .../starfive/pinctrl-starfive-jh7110-aon.c    |  4 ++
 .../starfive/pinctrl-starfive-jh7110-sys.c    |  4 ++
 .../starfive/pinctrl-starfive-jh7110.c        | 42 ++++++++++++++++++-
 .../starfive/pinctrl-starfive-jh7110.h        |  4 ++
 5 files changed, 53 insertions(+), 2 deletions(-)


base-commit: 2dde18cd1d8fac735875f2e4987f11817cc0bc2c
-- 
2.38.1


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

end of thread, other threads:[~2023-09-12  8:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05 12:21 [PATCH v1 0/2] Fix an irq issue and add system pm ops for StarFive JH7110 pinctrl drivers Hal Feng
2023-09-05 12:21 ` [PATCH v1 1/2] pinctrl: starfive: jh7110: Fix failure to set irq after CONFIG_PM is enabled Hal Feng
2023-09-05 12:21 ` [PATCH v1 2/2] pinctrl: starfive: jh7110: Add system pm ops to save and restore context Hal Feng
2023-09-12  8:10 ` [PATCH v1 0/2] Fix an irq issue and add system pm ops for StarFive JH7110 pinctrl drivers Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).