Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp1963305rdb; Tue, 5 Sep 2023 10:01:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFtGABxEHp+Hb36FlHeS6DcYD1qtx3by3u1vBZQ7QXv1Jin41LY1riosvsYPAX2i5Q1EJ2k X-Received: by 2002:a05:6a20:3d14:b0:133:6e3d:68cd with SMTP id y20-20020a056a203d1400b001336e3d68cdmr18199480pzi.3.1693933270240; Tue, 05 Sep 2023 10:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693933270; cv=none; d=google.com; s=arc-20160816; b=ebwAzfndwA/3QVMATso+3lpvRxVajkmCnthZ3gP/3LYQ1h+53JtK1OULBCZ5HLTfEP bbXKJWsLDYAUwD8Rr1nAQKuiBXJaj7qSQFfVrbwlz18CvOTDNkc3dc/dJ6EFmwizOFEP dXvcqaaniyNgElYpTdrgM8cNZr8hmmHFkwhCki9z32OM2ajCVzxVS6IDnZEbiZgxqtuW h69ZcxV1+Xcmc+Nta7uQinzMTX6o2XrUoNlm09rgJSJZFF/LYQJ06jwR+cJIWVq+WG2c Kk+Imh3Lq6EAB+ZEZ+eYEkv8u8oj69GkhwDe7ZT3i0bw6V++DDJkUDke3WiskXWyfzUN Y41A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=J4p/ii+OX3eABX9r0XQXvS60TXvXmhNDQOhkBYGhU/o=; fh=ByA4PyA3t3MVQtvdKmpD5vTPBa76xBqx8TY4z1JCxLA=; b=KRicDcejJ4NT8AymcXKhcfy7bJL2DciNKiueLO5k4VzI0yKF9midr09VKP28PGl3y1 r2G6W5v8Kj076FtClaz9eJS1OJovSrzKt2lKRzQN/ALXfYmalR7lwbK8x1BN67GNzc9v iNCGex1cox2s8PNkbZS1PaZ+rtN4SrtNruGaHIrCmn8rDGxppqzrYUoQNy5v+68UShT+ iEF0Wv3Ju4+WqZ4VwrEgvSakV8lRM67DZ4Z8IynXh5vb07EjWc2nmnjitc8HOTCPPNtj wq0XsinPi1oPeF8bCHBVeG7gEyc2aYXk6aSTXqw//JacpwvfFxaXgbNPkI+C4hcdALMw AFbg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 19-20020a631753000000b00563da455862si9594246pgx.311.2023.09.05.10.00.53; Tue, 05 Sep 2023 10:01:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344108AbjIEQoB convert rfc822-to-8bit (ORCPT + 99 others); Tue, 5 Sep 2023 12:44:01 -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 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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