Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1122302imm; Fri, 17 Aug 2018 12:13:02 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxhjdsxhNi0goXgApMfzmu8Wkc2u2Fb3RnWF3O/D2eUYdrZqUa4Z7Lg+dI+9hDi6qm9sImW X-Received: by 2002:a65:4b87:: with SMTP id t7-v6mr33484212pgq.391.1534533181993; Fri, 17 Aug 2018 12:13:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534533181; cv=none; d=google.com; s=arc-20160816; b=DSNqBiBY2l5EHnOAthbZe+H1bDkrYpvr+V92nGMRmQM5qvaD6Ra05KkL3QSYWNl+pN Hab/sCA3MBtG/+NSkBVs7Dyp9HbIQUlEtFZ+yGW5FUZaVH+zAdfDhEiEwcQrqZitxTof 2ytzUWeZBHkI/zVloeY92y7U50VGUKe9aM9hByjw8z/B2VUJq/E2RCtzn63bGCBFtv7b 1IOo+iiuXglvWw4GP762cQwbbp0rNubIZuXGczI5bBH+clp2ojvKv7+QbCx3UE9TdVy0 00x7ceRw3wxg3wz8gZgNJq5TLi1UhmChpYDc4+ngjjWszO0+XzMJr86+4Z2zdr+cazCG hliQ== 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=njaI34DNGQLlJDAFQJG2fGs56sWaBwzYx7viLYVEIGs=; b=m34HdzTupR5DiFTpNev81bWku3MinVWSLVBqX33RztB/iS3l+4RMchTpMp7x8dIQ7m kX4OJyvlD6wq4zaeRpSlOENUjz+9GZLGWIRQHnvbjv5/n2j7QL0YT5A7RPJGWpnTegep +Pt4XuMi686xulzTP/7ng48WGuqi0L4w+82C9AU6rscDYfWUOUowgRpa6pde2wuogNVU JErGpRaEDgHFkl7jd2VhABfSgcOSFn5JewuqzMNDk7cuevcy/x6F9Im/9kvoNGrILZEf 7sdA8FiRBx7eUzHXCZ4qmXbc10UKra72O8/Q3L5RbzLT3Tjoq7ovi/I3G1d/AgbIt2gl YTNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=jjOgUmzz; dkim=pass header.i=@codeaurora.org header.s=default header.b=LH3zCQgV; 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 y6-v6si2897912plp.279.2018.08.17.12.12.46; Fri, 17 Aug 2018 12:13:01 -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=jjOgUmzz; dkim=pass header.i=@codeaurora.org header.s=default header.b=LH3zCQgV; 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 S1728391AbeHQWQN (ORCPT + 99 others); Fri, 17 Aug 2018 18:16:13 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:36764 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728214AbeHQWPP (ORCPT ); Fri, 17 Aug 2018 18:15:15 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 67A07625AA; Fri, 17 Aug 2018 19:10:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1534533041; bh=bQETiLhZqSKTJmg/844rsftxBCVPpj2SQb/j29Mvqxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jjOgUmzz+ALzAMf9KdkqpLr8MCfs3g5jG+8M3FJ/vZDjEFOwMFOA1QVkOaSv7Qw4T ZpOSpR7PMyIx+wTMiFijJ/e5L33IQ7eYZDiEB7ZxK/Nc/ECJNkUMvfZalDJ+zapP6U 8iwj7hzqVwz8RrjXVCZidP0LFXPKWVysVI81y7Lw= 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 67138625AA; 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=1534533040; bh=bQETiLhZqSKTJmg/844rsftxBCVPpj2SQb/j29Mvqxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LH3zCQgVw9WchAZoQMytQMEsl5nAs5sadxvpyInqB81n55HznV3aZcW8FOxJnPR6F qNh0j+F7JZLZZ1L8cnXT6hvvnospLNOSGYTNxRO2nZxx9/U56uHr5ig1p4Y+WYkDDd vfAMI1MzSa9Z5gz010L/ayWwY5HLDtLxlydvq5bE= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 67138625AA 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 4/5] arm64: dts: qcom: add wake up interrupts for GPIOs for SDM845 Date: Fri, 17 Aug 2018 13:10:25 -0600 Message-Id: <20180817191026.32245-5-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 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 --- Changes in v1: - Use interrupt-extended for all TLMM interrupts - Define GPIO-PDC map using interrupt-names --- arch/arm64/boot/dts/qcom/sdm845.dtsi | 57 +++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 87ffc32dc597..2379684373d3 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -712,11 +712,66 @@ tlmm: pinctrl@3400000 { compatible = "qcom,sdm845-pinctrl"; reg = <0x03400000 0xc00000>; - interrupts = ; gpio-controller; #gpio-cells = <2>; interrupt-controller; #interrupt-cells = <2>; + interrupts-extended = <&intc GIC_SPI 208 0>, + <&pdc 510 0>, <&pdc 511 0>, <&pdc 512 0>, + <&pdc 513 0>, <&pdc 514 0>, <&pdc 515 0>, + <&pdc 516 0>, <&pdc 517 0>, <&pdc 518 0>, + <&pdc 519 0>, <&pdc 632 0>, <&pdc 639 0>, + <&pdc 521 0>, <&pdc 522 0>, <&pdc 523 0>, + <&pdc 524 0>, <&pdc 525 0>, <&pdc 526 0>, + <&pdc 527 0>, <&pdc 630 0>, <&pdc 637 0>, + <&pdc 529 0>, <&pdc 530 0>, <&pdc 531 0>, + <&pdc 532 0>, <&pdc 633 0>, <&pdc 640 0>, + <&pdc 534 0>, <&pdc 535 0>, <&pdc 536 0>, + <&pdc 537 0>, <&pdc 538 0>, <&pdc 539 0>, + <&pdc 540 0>, <&pdc 541 0>, <&pdc 542 0>, + <&pdc 543 0>, <&pdc 544 0>, <&pdc 545 0>, + <&pdc 546 0>, <&pdc 547 0>, <&pdc 548 0>, + <&pdc 549 0>, <&pdc 550 0>, <&pdc 551 0>, + <&pdc 552 0>, <&pdc 553 0>, <&pdc 554 0>, + <&pdc 555 0>, <&pdc 556 0>, <&pdc 557 0>, + <&pdc 631 0>, <&pdc 638 0>, <&pdc 559 0>, + <&pdc 560 0>, <&pdc 561 0>, <&pdc 562 0>, + <&pdc 563 0>, <&pdc 564 0>, <&pdc 565 0>, + <&pdc 566 0>, <&pdc 570 0>, <&pdc 571 0>, + <&pdc 572 0>, <&pdc 573 0>, <&pdc 609 0>, + <&pdc 610 0>, <&pdc 611 0>, <&pdc 612 0>, + <&pdc 613 0>, <&pdc 614 0>, <&pdc 615 0>, + <&pdc 617 0>, <&pdc 618 0>, <&pdc 619 0>, + <&pdc 620 0>, <&pdc 621 0>, <&pdc 622 0>, + <&pdc 623 0>; + interrupt-names = "summary-irq", + "gpio1", "gpio3", "gpio5", + "gpio10", "gpio11", "gpio20", + "gpio22", "gpio24", "gpio26", + "gpio30", "gpio31", "gpio31", + "gpio32", "gpio34", "gpio36", + "gpio37", "gpio38", "gpio39", + "gpio40", "gpio41", "gpio41", + "gpio43", "gpio44", "gpio46", + "gpio48", "gpio49", "gpio49", + "gpio52", "gpio53", "gpio54", + "gpio56", "gpio57", "gpio58", + "gpio59", "gpio60", "gpio61", + "gpio62", "gpio63", "gpio64", + "gpio66", "gpio68", "gpio71", + "gpio73", "gpio77", "gpio78", + "gpio79", "gpio80", "gpio84", + "gpio85", "gpio86", "gpio88", + "gpio89", "gpio89", "gpio91", + "gpio92", "gpio95", "gpio96", + "gpio97", "gpio101", "gpio103", + "gpio104", "gpio115", "gpio116", + "gpio117", "gpio118", "gpio119", + "gpio120", "gpio121", "gpio122", + "gpio123", "gpio124", "gpio125", + "gpio127", "gpio128", "gpio129", + "gpio130", "gpio132", "gpio133", + "gpio145"; 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