Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp3203837pxb; Sun, 29 Aug 2021 17:37:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzleAhW7W0zh0fxQ0VlD/VaErCDKmu6T541tUmV83UUW2kYj/KxyltJnvkie2kuk4ey+KsD X-Received: by 2002:a6b:3c16:: with SMTP id k22mr16519944iob.130.1630283848630; Sun, 29 Aug 2021 17:37:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630283848; cv=none; d=google.com; s=arc-20160816; b=We16OILCuBV7p8JaU0/k3vCAddNvRJNMXnPrbtaiiwPAxi0d2bN4V/VRTZlgYDmEAy 9djlLS4+V/sXBrDKsq27XF37OQ69tUun288YQ6G/ohHlh0emdJcaqOsOIC6Vb1YRfMgO yO3mrLxbNjG5kjOo3QUG59VS069piSnsN27p/MJy2njRUQY9XK3ysL7947QZt0UVHaVC C7MywNG1Z/FkRtPKKu0XiDOTgfn6rsBbaDfAJGcsYzqidlWcuZSLAJ3DeK133X86To5t /dtuGqEV9tMT/8QnWxhU7RbUXPAXrOTyh+cMAqeSwcBpMbHC91w/SDea2ra4/7ojd2d9 VqZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=FuDbGdhLBOMdPSdJQa5e23cWkQxe6ZihxvtrzreuO1o=; b=xNJRA51B3wouZ+7dnaUmMvIChRSSqNlu3WjG1ddG+Qk6Co/+akeY+mW5TbB6kGGkqw +CNPFeXWtDGjXAHMy6kaijSm1p+F6uQa9/2VZIadaTjMGtLs6xaR8+HRh73JkuaJ8o71 pUytZlnnd5mcg/t1yCzQ77ycKa498KGf1LCN03E8kb1lqS6e6AklZM/OC+XEe3OlFXxE BOvKdQYGSbKyKuAUofaJLyP7Btm2lbdQAEAGaf+r+0nmmBjFI4RHg2zAhYpTZ8tXHzcV 9GdwvrSl6qsv/W1Lpe2JLyV5SrqwLTVznU+yds7AqkZ0HYMm7wsMLgKhfnP7I6pL9OS0 RBCQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si15769357ilc.89.2021.08.29.17.37.17; Sun, 29 Aug 2021 17:37:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236244AbhH3AhS (ORCPT + 99 others); Sun, 29 Aug 2021 20:37:18 -0400 Received: from mailgw01.mediatek.com ([60.244.123.138]:57772 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S236210AbhH3AhN (ORCPT ); Sun, 29 Aug 2021 20:37:13 -0400 X-UUID: 63fd491b17ad40ed8f31af6e7d363da7-20210830 X-UUID: 63fd491b17ad40ed8f31af6e7d363da7-20210830 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1654982555; Mon, 30 Aug 2021 08:36:17 +0800 Received: from mtkcas10.mediatek.inc (172.21.101.39) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 30 Aug 2021 08:36:16 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 30 Aug 2021 08:36:15 +0800 From: Zhiyong Tao To: , , , , CC: , , , , , , , , , , , , , Subject: [PATCH v11 3/4] pinctrl: mediatek: mt8195: Add pm_ops Date: Mon, 30 Aug 2021 08:36:02 +0800 Message-ID: <20210830003603.31864-4-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20210830003603.31864-1-zhiyong.tao@mediatek.com> References: <20210830003603.31864-1-zhiyong.tao@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Setting this up will configure wake from suspend properly, and wake only for the interrupts that are setup in wake_mask, not all interrupts. Signed-off-by: Zhiyong Tao --- drivers/pinctrl/mediatek/pinctrl-mt8195.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8195.c b/drivers/pinctrl/mediatek/pinctrl-mt8195.c index a7500e18bb1d..892e79703f98 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8195.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8195.c @@ -839,6 +839,7 @@ static struct platform_driver mt8195_pinctrl_driver = { .driver = { .name = "mt8195-pinctrl", .of_match_table = mt8195_pinctrl_of_match, + .pm = &mtk_paris_pinctrl_pm_ops, }, .probe = mt8195_pinctrl_probe, }; -- 2.18.0