[v1,0/2] Fix an irq issue and add system pm ops for StarFive JH7110 pinctrl drivers

Message ID 20230905122105.117000-1-hal.feng@starfivetech.com
Headers
Series Fix an irq issue and add system pm ops for StarFive JH7110 pinctrl drivers |

Message

Hal Feng Sept. 5, 2023, 12:21 p.m. UTC
  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
  

Comments

Linus Walleij Sept. 12, 2023, 8:10 a.m. UTC | #1
On Tue, Sep 5, 2023 at 2:22 PM Hal Feng <hal.feng@starfivetech.com> wrote:

> 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.

Patches applied for fixes!

Yours,
Linus Walleij