Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp975471imm; Fri, 17 Aug 2018 09:40:50 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw8eDiy4PH8X9sYRhUFyjzYVjXKkiAuFIod49PzGLMRnPEWiwaxAk3IQz2NSOeeN9VtFbkh X-Received: by 2002:a63:a441:: with SMTP id c1-v6mr2679824pgp.182.1534524050514; Fri, 17 Aug 2018 09:40:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534524050; cv=none; d=google.com; s=arc-20160816; b=DwusScR51e8uXy022Zd05P2lTTFQkuzgjIVTq8uaBcIqXpHyvhjBELLunfMINIT9MI Z0TibIWDJbwojUL6hix+/3mLbCm4ND5XhUds8QdEwk2TVrBpMLXME9D/OnaqCVhebhDQ BJ0q3xuExjFGj33BroLg/GpgfYLziXFTl2eT+BWhsu5Ut7uJpLzKcxlT3pAehNlgsR0U tUBu1LpzjhQ84uwimV8hy8gmpr9epLA0lmWEgxhyKC+c1rNArJgNP1/RorjKzC4++9Yv egc2BYSnTkBk1tRcdRlVmvvRmMAbmaVrOsCW6eeG3mAGmf78424K8lnrdtBVOl95cOl5 rs7A== 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=j2DJaYOe6lacxcS/V6oFqVp9Tr1mS44uVe8IDSZ4mKrwzU2BmAPGt6cdK65weopTAn vUhPrinw4BbhQiTSX0Q0FAylQ6Vk4ju7rB/lHBE69sBkTSv47IKj+VS0l6SucMSW/+UB jut4KFuCUC4cqCo+8LHfkYaiKpOe2wnFl67Jywa4OPyLQENjlSXfeBtl7xGjEM9A95GU xGDENnqLXNPUUUJrMvqkuokrVN53svaOZ9iA4kWYD22r+MjbiXjvUlQMoJMhczzDOLXM 8n3PuFzjdNJ94DSjrKdfG3ZrGdSEnAR0hqsz7BE4NwdqmQRtI1cumgF/Ld+iViQs5wUX s6jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=NzjQdn07; dkim=pass header.i=@codeaurora.org header.s=default header.b=kI6RtZ5t; 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 o12-v6si2528860pfd.142.2018.08.17.09.40.34; Fri, 17 Aug 2018 09:40: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=@codeaurora.org header.s=default header.b=NzjQdn07; dkim=pass header.i=@codeaurora.org header.s=default header.b=kI6RtZ5t; 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 S1728031AbeHQTn0 (ORCPT + 99 others); Fri, 17 Aug 2018 15:43:26 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:48218 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727995AbeHQTnZ (ORCPT ); Fri, 17 Aug 2018 15:43:25 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 96CE7622D0; Fri, 17 Aug 2018 16:39:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534523962; bh=6flkeC8VwR0A6QppwkUCI0AsDYsAguhrxydU1eExRqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NzjQdn07c4vHckjHOfBYt9f+uyHxdVrCm0JYak17jZxrI9f/yKfaOHWHPXChuoWFq IrImYrnuNR12Fd8eiNb+ju/PzSV/mb88+1TCp/WuSVywTMyP1LXLrwQ691DilCSr/K H2toGJsgjYV9189nFNDOV3RXBF1yIxOGGJWr+YEU= 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 8213062527; Fri, 17 Aug 2018 16:39:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534523958; bh=6flkeC8VwR0A6QppwkUCI0AsDYsAguhrxydU1eExRqk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kI6RtZ5tKCkIT1clj4InMHKfszCujEMBbly50A1yehvJMDZIBQqZPiGoEvXqzpRmK 2/uAbc1oCdcb42KvQIFwjRZ64MCUAfJZHiHRQdmr5EXpXuTZaL3kq4PFttwha1g8Cj blk+G6m7kntY5G8rEiJIGtArCbWoEPaI8GmC1QjI= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 8213062527 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 v2 4/5] drivers: pinctrl: qcom: sdm845: support GPIO wakeup from suspend Date: Fri, 17 Aug 2018 10:38:48 -0600 Message-Id: <20180817163849.30750-5-ilina@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180817163849.30750-1-ilina@codeaurora.org> References: <20180817163849.30750-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