Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp291476imm; Tue, 31 Jul 2018 19:01:38 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcWwzKsCeQqwqrVqfPDATYiU5X10LUbMc3phFfoSBra6nJD5KuyPiVU+g7ouWx+Flxrb07E X-Received: by 2002:a62:87ce:: with SMTP id i197-v6mr24710403pfe.62.1533088898755; Tue, 31 Jul 2018 19:01:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533088898; cv=none; d=google.com; s=arc-20160816; b=I/f8C86sND9PJvB4KkDbLbTtwLwil30LmQe7l+stR4nyY6pkDPrrGZdDpYYNlkcADO GG4yqrqgFgjWsW2+JgLo+omzFgnRFirkZ4slwVl4htDOIkPriSV7lUWH6mc9lcH7rcfJ aNiAYcztFjclwc3t3lWjzoPAU+LJ40rO/abPfKpYYRry8bDWshOzhE0tzHXkYiM249Ye Xdk5wC42aS5rYczCBcfqLp7P2TX0IdJvRNwof/5AS+t4u9rhgGoVNK3nBvOQSx/HQIUw DMBQC1XN91jQ74sTI6uF25/9YgK0wxeIhvqlDyI9ezQVDjQHQlaf+4ej1K4vbaWALHmm ge0Q== 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=7nQCcFmz1PKvk9sdfeDXj2pKSod3+IyJ5v91tiuu0ME=; b=tCysaGmTlM0sNH01oYUSw0yFpcjaO47mwTScUKNZ9Ib6JEFjmlgq+GZqnTSrucUwwg g7x6sG6C66UsDtpZbTLMRP7a1CcbvLAzNtddONcjgUOqost0ZQDOmpluzNaSrToyFNKL rr0piN5L4tj3I99FFHildp3DUuvlZKMM/BNmIl3g7vYQqa2GXvidf88VZBXp0EOV5vRE QNjy7rdLUyjhBQWXkxQ7KWdoKCO695o8RQeRWJ3JIgtlbTi7KMLoUoXn3JsQZWcAakBP GUqsuExncBk8ehnucYTfqvV6Tf/LG/P24GcgSaHtHTvbX+8i/CMTcgiUPC4bWqFPtFoo E2PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=mIil7YrR; dkim=pass header.i=@codeaurora.org header.s=default header.b="Tztr5RF/"; 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 p185-v6si15150211pga.476.2018.07.31.19.01.24; Tue, 31 Jul 2018 19:01:38 -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=mIil7YrR; dkim=pass header.i=@codeaurora.org header.s=default header.b="Tztr5RF/"; 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 S1733071AbeHADnl (ORCPT + 99 others); Tue, 31 Jul 2018 23:43:41 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:55494 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733029AbeHADnj (ORCPT ); Tue, 31 Jul 2018 23:43:39 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 8877D60B7D; Wed, 1 Aug 2018 02:00:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533088831; bh=C18kqQsPzAgm5FoUjrZjOaXbXxzd2EgOEp2dJrr7XYM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mIil7YrRRcEdOTEfjR/DLOodfdYz22vVactdwH4t3prns+tcuqSo28yXMymri6Cl4 EQOHm92Lg+xuTP408/tp9GkAM75wf7PbbRoDn3vmwO24kbgW43CaWzCYCXQrD3fJzR J3co0ywvNmaSYWeyKse2cItLxcpgsFSej2yDZj7g= 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,UPPERCASE_50_75 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 B377760B19; Wed, 1 Aug 2018 02:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533088830; bh=C18kqQsPzAgm5FoUjrZjOaXbXxzd2EgOEp2dJrr7XYM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tztr5RF/DzsnQqHovg5Cf/cZgfld0kfJ8kmYs28xwdSZUIySFG+Tz4RbFNWk351eN j2iOWsfTDdubQV5RBIV3lVkGOX+iVQcN3EJb1ecQNQYMOin9qxz/QE0Ofvm3otVPdG TQIHpbJKblqCCqlcPxEv0AxCJXMEDLxn7I1g/RDA= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org B377760B19 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, swboyd@chromium.org, evgreen@chromium.org, linus.walleij@linaro.org, bjorn.andersson@linaro.org Cc: rplsssn@codeaurora.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, rnayak@codeaurora.org, devicetree@vger.kernel.org, Lina Iyer Subject: [PATCH RESEND RFC 4/4] arm64: dts: qcom: add wake up interrupts for GPIOs Date: Tue, 31 Jul 2018 20:00:21 -0600 Message-Id: <20180801020021.9782-5-ilina@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180801020021.9782-1-ilina@codeaurora.org> References: <20180801020021.9782-1-ilina@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org GPIOs that are wakeup capable have interrupt lines that are routed to the always-on interrupt controller (PDC) in parallel to the pinctrl. The interrupts listed here are the wake up lines corresponding to GPIOs. Signed-off-by: Lina Iyer --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 69 ++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 8ccce42885c1..96ef18ced85b 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -720,6 +720,75 @@ #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + interrupts-extended = <&pdc 30 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 31 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 32 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 33 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 34 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 35 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 36 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 37 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 38 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 39 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 41 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 42 IRQ_TYPE_LEVEL_HIG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>, + <&pdc 79 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 80 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 81 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 82 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 83 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 84 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 85 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 86 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 90 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 91 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 92 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 95 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 96 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 97 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 98 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 99 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 100 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 102 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 103 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 104 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 105 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 106 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 107 IRQ_TYPE_LEVEL_HIGH>, + <&pdc 108 IRQ_TYPE_LEVEL_HIGH>; qup_i2c0_default: qup-i2c0-default { pinmux { -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project