Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4682031yba; Wed, 8 May 2019 00:34:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqx/IkgkbC8oFKMLcOOaQY+VZkFU7Xtjvk8fuQ9/UerAQve02cJBmIPDRYufGutdpeZCAmbj X-Received: by 2002:a63:5020:: with SMTP id e32mr43876076pgb.215.1557300890469; Wed, 08 May 2019 00:34:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557300890; cv=none; d=google.com; s=arc-20160816; b=ECWZkUJZSwawXnGdllIeS2sB1bhQ6VjG5jo9aye7JyDOtI6JOdht6a5z0jYr18F/pL Pq3ww0Ph+Id72Fk5yPBL0Yd57+VJDuw+a4nOz6ud1SrjTxxSQbrzO83I96hpWF05AU3R XHFMTuKYph6y2pbo54S8ubV/uFwA5iUalOPWql6BaqtR52HYvJpZd4AxhazvHr28K1y+ jKVO8e4uatctUW9MKuyc4Q1cKVwFXkQPn/IQMicCOGL0i40hD1gHGQVrxXhC6bAlC0oq hfIIDwmQQRww0mrVxLFkFY0fP0UkeCP4aCNegEuLtumtB0wjEX9c4izMAKRJAPmJRwTL jCwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yDsrcSSMgKGSHP0Nk2ne2DJD7hpeUAFwPm0h/OfCnfA=; b=gIjjaT9WjPPe+XgXFyu4zevPAjwCbLt85ve76Rb5oGN5de870HUflIYppCwK6whenx /03NfdXYLg4gCSObwHSeJx8oFEpMrKbcHi2YQlMaJv01IN+8UlVOjnIgSeNNsrLBTk+v XrQAhUwqiAqbSAfYhq8C961zK/+sxj/lS6+A0ybzhXvwHitkDzj5oybJJ3acibRumEdn n5VkJwwaTMxnhaBumexWmkoDqm9I+ZKfRjoWhgjlCrPE7GEYVAMYZ6pmwnqNvtTlixeW Xjrdk2IcCizC9GO65cYIiKtmEVXsIoRdLIBJw4xWfAzoLt1dF65Q08Po5HAcCcJSbfjB phZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AObE5Z8+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f1si20189770pgq.4.2019.05.08.00.34.34; Wed, 08 May 2019 00:34:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=AObE5Z8+; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727156AbfEHHdn (ORCPT + 99 others); Wed, 8 May 2019 03:33:43 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:42618 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727124AbfEHHdm (ORCPT ); Wed, 8 May 2019 03:33:42 -0400 Received: by mail-pf1-f193.google.com with SMTP id 13so9732929pfw.9 for ; Wed, 08 May 2019 00:33:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=yDsrcSSMgKGSHP0Nk2ne2DJD7hpeUAFwPm0h/OfCnfA=; b=AObE5Z8+K0moA2ZDjDuuVYvjyFV8h5J1tWcLuUJBcmiP/jFRjCim4AgJX0Nca0aIPX EypRszSAUAWGvknuUsSwSlHu8TWCt1PWuSqCE5eNuSgzXtrbVcSeOWbvgsUU1UVdolnE dfDbBe8Icbe2pSeTEhAANpRG20bTjfj6NIgbg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yDsrcSSMgKGSHP0Nk2ne2DJD7hpeUAFwPm0h/OfCnfA=; b=lBTMhFnr7tsCINZHujtYaAy1ysZXq8JHreVhHWEGUY/Tjbf+kH8NnaXZjH2saYlKxS P+sEIXMBuu9Bw4jyCLI/7k6t8nVw8RvvlJcsrHVQwdaRPnkKjsvAfMM1RYWgUc5QiheB fpRvsMlQBmyDJZtihDc3plWMxBzCzXvQYRLBAUJjG5UwNRsA58sB9SM/90sJnwZBTtla LddShgoWIenKQmMNmgF71/s20mpFzxyxiWe7mBDFcyGxapRvv9xHC+3stFlQOA0zKodl t88brMIsamqKsBUW6wyrtxDQohJtxsXgCr29HGTtslPwsV2cjKKGM+fKkXVUDDsXlxAx hX5Q== X-Gm-Message-State: APjAAAVHZskD5iUqKLVU5GhhB4KW7tTZTbAm/TKN7qbxVuKCIjU/hxXC IyFR2lCMyM9WkCxivIP0YEDZcQ== X-Received: by 2002:a62:e50a:: with SMTP id n10mr47328035pff.55.1557300821684; Wed, 08 May 2019 00:33:41 -0700 (PDT) Received: from drinkcat2.tpe.corp.google.com ([2401:fa00:1:b:d8b7:33af:adcb:b648]) by smtp.gmail.com with ESMTPSA id n26sm29539047pfi.165.2019.05.08.00.33.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 May 2019 00:33:41 -0700 (PDT) From: Nicolas Boichat To: linux-mediatek@lists.infradead.org Cc: Sean Wang , Linus Walleij , Matthias Brugger , linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Chuanjia Liu , evgreen@chromium.org, swboyd@chromium.org Subject: [PATCH v2 2/2] pinctrl: mediatek: mt8183: Add pm_ops Date: Wed, 8 May 2019 15:33:31 +0800 Message-Id: <20190508073331.27475-3-drinkcat@chromium.org> X-Mailer: git-send-email 2.21.0.1020.gf2820cf01a-goog In-Reply-To: <20190508073331.27475-1-drinkcat@chromium.org> References: <20190508073331.27475-1-drinkcat@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org 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: Nicolas Boichat --- drivers/pinctrl/mediatek/pinctrl-mt8183.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/mediatek/pinctrl-mt8183.c b/drivers/pinctrl/mediatek/pinctrl-mt8183.c index 2c7409ed16fae9c..9a74d5025be648d 100644 --- a/drivers/pinctrl/mediatek/pinctrl-mt8183.c +++ b/drivers/pinctrl/mediatek/pinctrl-mt8183.c @@ -583,6 +583,7 @@ static struct platform_driver mt8183_pinctrl_driver = { .driver = { .name = "mt8183-pinctrl", .of_match_table = mt8183_pinctrl_of_match, + .pm = &mtk_paris_pinctrl_pm_ops, }, .probe = mt8183_pinctrl_probe, }; -- 2.21.0.1020.gf2820cf01a-goog