From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA895CA0FFB for ; Tue, 5 Sep 2023 16:20:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244711AbjIEQUW convert rfc822-to-8bit (ORCPT ); Tue, 5 Sep 2023 12:20:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354529AbjIEMVR (ORCPT ); Tue, 5 Sep 2023 08:21:17 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1EB61A8; Tue, 5 Sep 2023 05:21:10 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id C322324E284; Tue, 5 Sep 2023 20:21:06 +0800 (CST) Received: from EXMBX172.cuchost.com (172.16.6.92) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 5 Sep 2023 20:21:06 +0800 Received: from ubuntu.localdomain (113.72.144.73) by EXMBX172.cuchost.com (172.16.6.92) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 5 Sep 2023 20:21:05 +0800 From: Hal Feng To: Linus Walleij , Andreas Schwab , Conor Dooley , Emil Renner Berthing , Jianlong Huang , Hal Feng CC: , Subject: [PATCH v1 0/2] Fix an irq issue and add system pm ops for StarFive JH7110 pinctrl drivers Date: Tue, 5 Sep 2023 20:21:03 +0800 Message-ID: <20230905122105.117000-1-hal.feng@starfivetech.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [113.72.144.73] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX172.cuchost.com (172.16.6.92) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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