Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1122498imm; Fri, 17 Aug 2018 12:13:16 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwLnmlJ62cQ6KpEBxlSgn7A1H9qvuOplZ3FCoPuf3jcMGX9Im48zmvhIJnS8BSqbzP3yxUL X-Received: by 2002:a17:902:8ec8:: with SMTP id x8-v6mr34426755plo.308.1534533195956; Fri, 17 Aug 2018 12:13:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534533195; cv=none; d=google.com; s=arc-20160816; b=uEOfNGElLY0/CLChVfGKdaXPT6VdcYR0WwWqoZsfhTiK6cYnRBpXNYzq6L0G+OYFQ1 LXw9rWkKvYE16Ps84ep0cBur15Kqp5P1Lt2cl/C7avRKHzKXJb0nlJWDdkSIqGouxaew 5NlCkZZFDRI9qXXTNEQCoViH0vRxQCItvCleLPbpQDn7GUvh2RM9sh0RISmQ6sSFMd1L P6n5/X07PMDQrcV5E3xwGNXQ/6I4RPFoMUzMNA12j6td0EEoYA91MtY4hivOnV46lgMK tKSDM2/3cxTjrEyKScG0nHbU5X7Pzyo9+ld1j6Ua8bk8c4koJhQEib6CLZCbdXxERseW VH/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=mExYwLZavw41yGQSOOBkYBZZZ3nGU3pxV8AdcpPawYM=; b=g4gB7GqWm3jgChI99HoyQcR3OaHSotX8Xyn4mG9EJyg4xT2msszONm4vnIZCO2SgWq yTiy0JqHVwjMje4qj/4euHWSJ5eYrutzVlbLnqd8x6DP0vXtX3FkrsZruq05C9R2ya2m RepDi58JiS1yKZakSKSJ7WL9vsTNnUZMkqCLlu8YZyuYDvKPPi6+RtwacMsZcNiQazBE OP6uNR20RqoKaDaOmupSOTz1Y5tFDQSGEaNl8D02Z+6dnDRvioH8CIMI8z29XvgxY/T8 50I1wU343npf9bt2i7swFU57GZf4ifWCiyIRYqaUkMHhBd4mZiNxSaW8J5o6mQSAs0BB cUeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=bFvKNG1U; dkim=pass header.i=@codeaurora.org header.s=default header.b=bFvKNG1U; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b59-v6si2992558plc.11.2018.08.17.12.13.01; Fri, 17 Aug 2018 12:13:15 -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=@codeaurora.org header.s=default header.b=bFvKNG1U; dkim=pass header.i=@codeaurora.org header.s=default header.b=bFvKNG1U; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728328AbeHQWQM (ORCPT + 99 others); Fri, 17 Aug 2018 18:16:12 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36682 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727997AbeHQWPN (ORCPT ); Fri, 17 Aug 2018 18:15:13 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id B350B62586; Fri, 17 Aug 2018 19:10:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534533039; bh=6flkeC8VwR0A6QppwkUCI0AsDYsAguhrxydU1eExRqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bFvKNG1UBp4/e/uLf278mrDIYNZvMKBbFC9t4FpQctUk1MjuhCbsCbR61j+HoBDU2 klMzAJ0uyYx35pnR/P9AtJnRyjrpfgTL5LY3sEgCOa0h0hn7oMHUK6tTHhqtG5L36M J54G3fHDnwLWtM4dbf8MIca4YSxfi1dcM/X2aDVo= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from codeaurora.org (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: ilina@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 25AD262586; Fri, 17 Aug 2018 19:10:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534533039; bh=6flkeC8VwR0A6QppwkUCI0AsDYsAguhrxydU1eExRqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bFvKNG1UBp4/e/uLf278mrDIYNZvMKBbFC9t4FpQctUk1MjuhCbsCbR61j+HoBDU2 klMzAJ0uyYx35pnR/P9AtJnRyjrpfgTL5LY3sEgCOa0h0hn7oMHUK6tTHhqtG5L36M J54G3fHDnwLWtM4dbf8MIca4YSxfi1dcM/X2aDVo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 25AD262586 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=ilina@codeaurora.org From: Lina Iyer To: marc.zyngier@arm.com, bjorn.andersson@linaro.org, sboyd@kernel.org, evgreen@chromium.org, linus.walleij@linaro.org Cc: rplsssn@codeaurora.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rnayak@codeaurora.org, devicetree@vger.kernel.org, andy.gross@linaro.org, dianders@chromium.org, Lina Iyer Subject: [PATCH RESEND v1 3/5] drivers: pinctrl: qcom: sdm845: support GPIO wakeup from suspend Date: Fri, 17 Aug 2018 13:10:24 -0600 Message-Id: <20180817191026.32245-4-ilina@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180817191026.32245-1-ilina@codeaurora.org> References: <20180817191026.32245-1-ilina@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --- drivers/pinctrl/qcom/pinctrl-sdm845.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/pinctrl/qcom/pinctrl-sdm845.c b/drivers/pinctrl/qcom/pinctrl-sdm845.c index 2ab7a8885757..cc333b8afb99 100644 --- a/drivers/pinctrl/qcom/pinctrl-sdm845.c +++ b/drivers/pinctrl/qcom/pinctrl-sdm845.c @@ -1297,10 +1297,16 @@ static const struct of_device_id sdm845_pinctrl_of_match[] = { { }, }; +static const struct dev_pm_ops msm_pinctrl_dev_pm_ops = { + SET_LATE_SYSTEM_SLEEP_PM_OPS(msm_pinctrl_suspend_late, + msm_pinctrl_resume_late) +}; + static struct platform_driver sdm845_pinctrl_driver = { .driver = { .name = "sdm845-pinctrl", .of_match_table = sdm845_pinctrl_of_match, + .pm = &msm_pinctrl_dev_pm_ops, }, .probe = sdm845_pinctrl_probe, .remove = msm_pinctrl_remove, -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project