Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2100925ybc; Wed, 20 Nov 2019 08:56:11 -0800 (PST) X-Google-Smtp-Source: APXvYqyaZKL8Y+JhDkA1zubT3meQHij/CgVlq6o1B6ISI4ArUHbH2Pi73kFuUnsHIlxlvWzKzCpB X-Received: by 2002:a17:906:d96e:: with SMTP id rp14mr6481975ejb.14.1574268971713; Wed, 20 Nov 2019 08:56:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574268971; cv=none; d=google.com; s=arc-20160816; b=On3fXaAhHfsQtGa/G34HbkrdyxTHkY/9IGJBAIcNh9eLIAp4KCINOzNerm4asOo32W HTzHnF5SQkZ9XUS+/04ujOZxlx+6KsG92BmHyJDR+biyye42gQT1fdvaZj47/on+X5DV 2501BSW9B4DWSn6gMnJMc8ukGIy/AYM5Me4BjtQ1MmBn1ULGv0Mkqiaea+RG8/bujiX+ HuD5MNAav1brcxa8rxMVpTq+aSTSO2VjvggOdrxguiV50x3FAhWlXUYDIgFn54ateToq QqB0JXz7zgjPRtM7CuMSpBCs8T1KQcYnurVegnamA5l6L8C00rpCSZmc3CZNga2Jox07 2IqQ== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=bz8rav93WQ78a5Wum9t3dLrjDEfJS9yVi2fz1fMEWGM=; b=jbIhv9FNTDfJ39jB5ahN4OF0EO4pDXIygo4oK3TjPFZKn8MMhgywD/jk82w2GwVJ4P oTsBjxjn0LnmuRhLDkj1VE9YmdLW7Tw1yM3lintCgPl6A4aBwT7jFritioxFKq1a3+Rj TMjwV4IOrHgf4gncIbIBLIp9pu1qc/mfPsnaaXEKos2qbQ2gCYj4ejRBFOIfSrx2L7NZ EAjhGD9r7lFjjqjrf8gRBIBsQQIzjkSBpUgLONvSXmtOWtP4w7hfNQZeAyHKdD/dK6FL 1CC5foZ9ZN6OZlE/HJKZQ171iNM6zZoh2bybGrDxcnrSRCefZIAgPyqZXcyBG9U0X9rW pNdQ== ARC-Authentication-Results: i=1; mx.google.com; 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 gg25si16074545ejb.5.2019.11.20.08.55.47; Wed, 20 Nov 2019 08:56:11 -0800 (PST) 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; 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 S1730211AbfKTNVP (ORCPT + 99 others); Wed, 20 Nov 2019 08:21:15 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:56693 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730151AbfKTNVL (ORCPT ); Wed, 20 Nov 2019 08:21:11 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iXPum-00073T-7O; Wed, 20 Nov 2019 14:21:00 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id D30531C1998; Wed, 20 Nov 2019 14:20:59 +0100 (CET) Date: Wed, 20 Nov 2019 13:20:59 -0000 From: "tip-bot2 for Lina Iyer" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] pinctrl/sdm845: Add PDC wakeup interrupt map for GPIOs Cc: Lina Iyer , Marc Zyngier , Linus Walleij , Stephen Boyd , Ingo Molnar , Borislav Petkov , linux-kernel@vger.kernel.org In-Reply-To: <1573855915-9841-10-git-send-email-ilina@codeaurora.org> References: <1573855915-9841-10-git-send-email-ilina@codeaurora.org> MIME-Version: 1.0 Message-ID: <157425605969.12247.13808010297317474629.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the irq/core branch of tip: Commit-ID: 585d1183ffeea5cbe2cd24863bbc90196d827257 Gitweb: https://git.kernel.org/tip/585d1183ffeea5cbe2cd24863bbc90196d827257 Author: Lina Iyer AuthorDate: Fri, 15 Nov 2019 15:11:52 -07:00 Committer: Marc Zyngier CommitterDate: Sat, 16 Nov 2019 10:23:48 pinctrl/sdm845: Add PDC wakeup interrupt map for GPIOs Add interrupt parents for wakeup capable GPIOs for Qualcomm SDM845 SoC. Signed-off-by: Lina Iyer Signed-off-by: Marc Zyngier Reviewed-by: Linus Walleij Reviewed-by: Stephen Boyd Link: https://lore.kernel.org/r/1573855915-9841-10-git-send-email-ilina@codeaurora.org --- drivers/pinctrl/qcom/pinctrl-sdm845.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/qcom/pinctrl-sdm845.c b/drivers/pinctrl/qcom/pinctrl-sdm845.c index ce49597..2834d2c 100644 --- a/drivers/pinctrl/qcom/pinctrl-sdm845.c +++ b/drivers/pinctrl/qcom/pinctrl-sdm845.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2019, The Linux Foundation. All rights reserved. */ #include @@ -1282,6 +1282,24 @@ static const int sdm845_acpi_reserved_gpios[] = { 0, 1, 2, 3, 81, 82, 83, 84, -1 }; +static const struct msm_gpio_wakeirq_map sdm845_pdc_map[] = { + { 1, 30 }, { 3, 31 }, { 5, 32 }, { 10, 33 }, { 11, 34 }, + { 20, 35 }, { 22, 36 }, { 24, 37 }, { 26, 38 }, { 30, 39 }, + { 31, 117 }, { 32, 41 }, { 34, 42 }, { 36, 43 }, { 37, 44 }, + { 38, 45 }, { 39, 46 }, { 40, 47 }, { 41, 115 }, { 43, 49 }, + { 44, 50 }, { 46, 51 }, { 48, 52 }, { 49, 118 }, { 52, 54 }, + { 53, 55 }, { 54, 56 }, { 56, 57 }, { 57, 58 }, { 58, 59 }, + { 59, 60 }, { 60, 61 }, { 61, 62 }, { 62, 63 }, { 63, 64 }, + { 64, 65 }, { 66, 66 }, { 68, 67 }, { 71, 68 }, { 73, 69 }, + { 77, 70 }, { 78, 71 }, { 79, 72 }, { 80, 73 }, { 84, 74 }, + { 85, 75 }, { 86, 76 }, { 88, 77 }, { 89, 116 }, { 91, 79 }, + { 92, 80 }, { 95, 81 }, { 96, 82 }, { 97, 83 }, { 101, 84 }, + { 103, 85 }, { 104, 86 }, { 115, 90 }, { 116, 91 }, { 117, 92 }, + { 118, 93 }, { 119, 94 }, { 120, 95 }, { 121, 96 }, { 122, 97 }, + { 123, 98 }, { 124, 99 }, { 125, 100 }, { 127, 102 }, { 128, 103 }, + { 129, 104 }, { 130, 105 }, { 132, 106 }, { 133, 107 }, { 145, 108 }, +}; + static const struct msm_pinctrl_soc_data sdm845_pinctrl = { .pins = sdm845_pins, .npins = ARRAY_SIZE(sdm845_pins), @@ -1290,6 +1308,9 @@ static const struct msm_pinctrl_soc_data sdm845_pinctrl = { .groups = sdm845_groups, .ngroups = ARRAY_SIZE(sdm845_groups), .ngpios = 151, + .wakeirq_map = sdm845_pdc_map, + .nwakeirq_map = ARRAY_SIZE(sdm845_pdc_map), + }; static const struct msm_pinctrl_soc_data sdm845_acpi_pinctrl = {