Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp155343imm; Tue, 31 Jul 2018 15:46:07 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcVPV6vpwYFnbW0fXg+Fbvny8EzOv+GVTZTXLupfavksoJ5YmQe2FRfc5tZeIrfm/b204WI X-Received: by 2002:a62:1f8c:: with SMTP id l12-v6mr24530437pfj.143.1533077167875; Tue, 31 Jul 2018 15:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533077167; cv=none; d=google.com; s=arc-20160816; b=l7hj9q80epsK/N2coutk7qoV8hw2476lKv2kIfawow4L8/cvekXsVVOkMdKHRouX6h yx4/ZZowqpUXW8/L8DWloZox/ZSuBOVz3wFsV5JYmQuCOlRMHz8U6VX0Xlr5vaC7jKyV CV70Gh8ft/hTwFudJLvNReZE4Jf9EJ6DGc7xFeDz/tQ9sb3bqZqvydZJ1dWa9/mqoxWu psvONgi74gJiY1r1bUdHuQTb5Mh74O6dMQ7LPnCxukDeg2ev28HyEFKas1VAVG9CT5wC 2RKRCJMHo1J9/vZ1uQDRC+K7+k94XlHbsCWGlkstqmnGPDnc1gDguaLp2JHjbLc2wGzy dgEA== 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=uRrGRiJ8zo9QOqO60PWAZhe+UHv5ZE2wXDDqoHVILmiDXIUUZbgP9Ka0dOwb4EPZ+e VSmPGLcoWTBjWsvTFBApuhU1GHpxmmgfjllOZqa2ZJBtnRkdp7hg5d70RMrbRVRLQ/9A Tvzq1Mds7qwFecWFioZgdbjxG9zbTKncfsdaE4jSeXlpqMd6V4B7Ofr703PZ5y0dDyOy XxkRD6GceS7thKLbCp1SpK0rzEKgQj/hOA9FQD5vCOuvPIP1XFhhgZw6nwotDVGSCr9P M73OpdP9HtJPpqjAtn8Jl0qP56+TMIut2fP3FrlYH4Lk/r4u9ARNg6ivxDygSZAr3LfY MHVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b="QINk+XX/"; dkim=pass header.i=@codeaurora.org header.s=default header.b="QINk+XX/"; 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 n1-v6si12853322plp.166.2018.07.31.15.45.47; Tue, 31 Jul 2018 15:46:07 -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="QINk+XX/"; dkim=pass header.i=@codeaurora.org header.s=default header.b="QINk+XX/"; 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 S1732805AbeHAA1U (ORCPT + 99 others); Tue, 31 Jul 2018 20:27:20 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36202 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732701AbeHAA1T (ORCPT ); Tue, 31 Jul 2018 20:27:19 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C7D17602D7; Tue, 31 Jul 2018 22:44:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533077087; bh=CkVqqPXhxoYUJzX4cYejKdu34f63CVroviRU9raEtOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QINk+XX/cck8c3xhvYK7V/qeTMw28dtR1ABzoLVgbjxGYxY1bRXk41MWHlTUp5N+5 HMlpQA5UDD8wdN0FAoIWUfZSqGtVllKU3IFgvkEwNiqnDkBlcaV6uD0vC9Vw6HFCfp cvzlGYXgNVmshgqaVWKYEORISreikUwkZrlJwzQU= 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 2F42E60B7A; Tue, 31 Jul 2018 22:44:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1533077087; bh=CkVqqPXhxoYUJzX4cYejKdu34f63CVroviRU9raEtOI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QINk+XX/cck8c3xhvYK7V/qeTMw28dtR1ABzoLVgbjxGYxY1bRXk41MWHlTUp5N+5 HMlpQA5UDD8wdN0FAoIWUfZSqGtVllKU3IFgvkEwNiqnDkBlcaV6uD0vC9Vw6HFCfp cvzlGYXgNVmshgqaVWKYEORISreikUwkZrlJwzQU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2F42E60B7A 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, sboyd@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 RFC 4/4] arm64: dts: qcom: add wake up interrupts for GPIOs Date: Tue, 31 Jul 2018 16:44:21 -0600 Message-Id: <20180731224421.29062-5-ilina@codeaurora.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180731224421.29062-1-ilina@codeaurora.org> References: <20180731224421.29062-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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IRQ_TYPE_LEVEL_HIGH>, + <&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