Received: by 2002:a05:6a10:6d25:0:0:0:0 with SMTP id gq37csp132284pxb; Sat, 11 Sep 2021 00:13:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxENtXEwbG5hIq3NbPom3bw68LDdSD/9O3i8nr4iHvSv3KXlgqJZBfuJKFhgI4NOrvppVV3 X-Received: by 2002:a05:6602:2219:: with SMTP id n25mr1163793ion.185.1631344412556; Sat, 11 Sep 2021 00:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631344412; cv=none; d=google.com; s=arc-20160816; b=QjQ12K1gJ99lmTwPSPnr0uGgf+XTeCpf3KZPW3BwZ31U5Le2AxEn4bsKSZu867AtMN tOJadJkOZND00FYJXJYgrxVE77sfmmtdOakBBjfeprSGV7WG3grZaT8+7oLf3w5Ga2dx ZMFNNQ4d4K0GIOriPSf8/E46B0sqcWYNOB3urX/cfcvMT7qfARWBvQYRoewwjzieYgyP IFk0oQWBjAwyk2AZFlf+OacGc8dQCAgWcuN7QRmhM60SJW5H8rPkJ8NMnCZ1hCganFkM 88/dOAKGu1aWC9Tx1evcgd9+VmKu3dhtLE24LXH4rLxEDHN7VvXyIwYR00LMD3rNNS9a 8Psg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=zm9koDO8c9PG4DezFaJR9KEL7CJpULiUfKFUUF00CDo=; b=OtvL/tQooHEPdZYWxmPH+ylw+cDVqoM7hpn6HA+yhnU7LGuvFdJr7JlRWGsY0WzNqE K3ETrmYhuY9ABSPm0ND6voXvhqDR8IRt3LNBZoHNhHc+0GurAefrInhVYkXA+ZWjrwrF 0iGOpALygnEZT4aC/9xTJRPAgpFFgf6n5BaGOJxOc+w7/aQWG8JsWpiKsbPnZjLCo9I2 ErGLAnF7iCPzKQOqR0pX2Ol8mqldbHL+irPAhrFGCsAzl1a+BEBSYtSdtiOaMYzXfm2F dadQk+V3ZgOd+oXRk7qhik6wQqtcyalzCnBnDeZkcRGbhsPzqux/ctTIsqEeUs9PNa/K ErBA== 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 c1si788077ilo.83.2021.09.11.00.13.20; Sat, 11 Sep 2021 00:13:32 -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 S235391AbhIKHMX (ORCPT + 99 others); Sat, 11 Sep 2021 03:12:23 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:37964 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S235340AbhIKHMO (ORCPT ); Sat, 11 Sep 2021 03:12:14 -0400 X-UUID: c93100c364684688b03cfd4305569169-20210911 X-UUID: c93100c364684688b03cfd4305569169-20210911 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1258449621; Sat, 11 Sep 2021 15:10:51 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 11 Sep 2021 15:10:48 +0800 Received: from localhost.localdomain (10.17.3.154) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 11 Sep 2021 15:10:47 +0800 From: Zhiyong Tao To: , , , , CC: , , , , , , , , , , , , , Chen-Yu Tsai Subject: [PATCH v1] pinctrl: mediatek: mt8195: Add pm_ops Date: Sat, 11 Sep 2021 15:10:46 +0800 Message-ID: <20210911071046.17349-2-zhiyong.tao@mediatek.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210911071046.17349-1-zhiyong.tao@mediatek.com> References: <20210911071046.17349-1-zhiyong.tao@mediatek.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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. Fixes: 6cf5e9ef362af824de2e4e8afb78d74537f1e3db ("pinctrl: add pinctrl driver on mt8195") Signed-off-by: Zhiyong Tao Reviewed-by: Chen-Yu Tsai --- 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.25.1