From patchwork Wed May 8 07:33:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Boichat X-Patchwork-Id: 10934549 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1310692A for ; Wed, 8 May 2019 07:34:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 008DE27FB7 for ; Wed, 8 May 2019 07:34:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E8AF728708; Wed, 8 May 2019 07:34:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A53D527FB7 for ; Wed, 8 May 2019 07:34:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Sbku5H3MzmFSAZyb71x1G5P7JlkdG5GtC1/8zmigFdA=; b=DSicps+n1xlQrq 59r7/apg7F2hF41ks+ZDSX1SvTezumrLrCGBPCxKxME3RoRJxHXsy/KS60BhBYC9MWmQnjFLOB4o3 tYbR4bcYs0h6On2NENfgSxCeb2Ii6WzpDOntoUzLwiurIr4nWCur1CjIHWl1uzKyUP9xdYDcxc9ZD y1gdI6whr2Pla4JZ4hWsHQmkQEUiN8MB1gmKCuSOhxlR6q9BG7QnGDKO29XB4dG5iYRbT1yawil7h 4MGKeKDPCSjxX7KtRy6lMNOdMwFHIaba3E0hGFUbZMXwyi9/QnCbDmWyL2tQJqNfadVhcqM8wEDIv uW09QStSbCDcgF3mGS2w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOH5U-0001yb-66; Wed, 08 May 2019 07:34:00 +0000 Received: from mail-pg1-x542.google.com ([2607:f8b0:4864:20::542]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hOH5C-0001Xe-M5 for linux-mediatek@lists.infradead.org; Wed, 08 May 2019 07:33:46 +0000 Received: by mail-pg1-x542.google.com with SMTP id i21so9644387pgi.12 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=FzN/AbPH1VBN5GrqDnpOyiuh8kFOjgBbeBdzyIcJ1IquSY1BZJpQI1mKWn+IdCU1lO cBAoFLPAzUENzPmK96Y7q5hte9uXU+XoUa1E4QWzq2jRBzHXGanT9zuvwKmfDPD80Jod sUZI9daMW2KiS5Rjse8bhBnQY6mHsgU/m+FMLBtBCUMrR31AxVI9Izikd31oe7lRL6zQ ibgy6kcUT5PdGX9oqEJrUhhZYvj+2B2c1ye7vjsogjtgk0nUzYgAmomu7j/F6Wx7SVH5 9qGBxpg3ZC2OAD8g+u558CbqvQjXHKGj6+mhdL7QX5TMYer6YgKDuGw0yYmHSfM3MqJR 74Cw== X-Gm-Message-State: APjAAAUzLjaRS6IPaXSJneesBbBFkfMgUi5JusjZQHYiSQn/Faorbxw6 F2aDva2GpNgiJzCmyzCWQnt+Xp/0oJ5cm8xo X-Google-Smtp-Source: APXvYqwWepJc8Vx1tWBJxhjhsou707KRMm7b8Hle1JQuHz0nesKvf5DEHLJ8HVvOxV5wR8OOx+46Mg== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190508_003343_001562_63862C8B X-CRM114-Status: GOOD ( 10.03 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Chuanjia Liu , Linus Walleij , Sean Wang , linux-kernel@vger.kernel.org, evgreen@chromium.org, swboyd@chromium.org, linux-gpio@vger.kernel.org, Matthias Brugger , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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, };