Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1317849ybl; Fri, 16 Aug 2019 12:44:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKVYiQyinKbi+sRuR+yfQUeqKp5Zimyl3tI82IDsOqM4XWJMCVQUJnpHK9XJCk63dHsScM X-Received: by 2002:a17:902:bcc2:: with SMTP id o2mr10906641pls.127.1565984689988; Fri, 16 Aug 2019 12:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565984689; cv=none; d=google.com; s=arc-20160816; b=cAK1XRuPbPXyCI9vIQinvPw1QBXQ0ajXJz6Z9tPk7/+0QHHQkTpv7objuxZcakXRIv O9U4++KMOYgx8GWBr14MV0FwjQeubN1Xw0og5RILypkGya7kDifmvww+fv1vzGRFJRjW pCYyFAS36f1RhHCKSWqS8QyVM2xAMtqqG08O8uefC2yqLNO6Lgspt09Wjqi655McIGD9 kmkfXtjvR9A/bLvdc9S4jCyqYh8j2HCiVdZpj6k1995CTHF7w4IRQf6ju+oC0oACFDd/ rDfxa9F1KM4jxa9HUYRkaupzDwetCda64+Z4T9EdaQnTyIgghLjmA9FxBwNLKY7wpCq8 8hGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from; bh=r/7sch8XJz5tT01ckyUKnesfNR9nppNjP97KIR+puRI=; b=wUhrqK9qGLRSuBzEAOQk4DQGmdhxdWdfe/yA6UgqYbo182ipfqleDTO4yI4MCbTNSl g3qLEzj9c9r027b7W6SF+0pPxpJ+R05xz2sPmrHypZ6sIX6eHceHENHKDNzVh7uOno7y UEnnLTN0nqSqGtDLQ5rgN4FFWRj4db4GjvsGTIlh4iv0SetwLlvfl9jYHIcBIfSUg8GW 7dsLRSdvEkTJmkYTMNBYUC4nV4W7SDcp4k3xt7Iwj4yyJ0qbjKWUWB+9zTbXHNLkoiyV ozEZJBC17/4HMi7f248L2QgdeEX0lz4UMeV3K2ydDebEuvPFcUCqPVnSbK/V5s6O2+mO koAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=qWKqGagu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d4si3505280pjj.28.2019.08.16.12.44.34; Fri, 16 Aug 2019 12:44:49 -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=@nvidia.com header.s=n1 header.b=qWKqGagu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727993AbfHPTne (ORCPT + 99 others); Fri, 16 Aug 2019 15:43:34 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:13177 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727605AbfHPTnF (ORCPT ); Fri, 16 Aug 2019 15:43:05 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Fri, 16 Aug 2019 12:43:07 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Fri, 16 Aug 2019 12:43:05 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Fri, 16 Aug 2019 12:43:05 -0700 Received: from HQMAIL101.nvidia.com (172.20.187.10) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 16 Aug 2019 19:43:04 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL101.nvidia.com (172.20.187.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Fri, 16 Aug 2019 19:43:04 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.166.126]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Fri, 16 Aug 2019 12:43:04 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , , , , , , , , , , , , , , , Subject: [PATCH v9 18/22] arm64: tegra: Enable wake from deep sleep on RTC alarm Date: Fri, 16 Aug 2019 12:42:03 -0700 Message-ID: <1565984527-5272-19-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565984527-5272-1-git-send-email-skomatineni@nvidia.com> References: <1565984527-5272-1-git-send-email-skomatineni@nvidia.com> X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1565984587; bh=r/7sch8XJz5tT01ckyUKnesfNR9nppNjP97KIR+puRI=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=qWKqGaguwl9s9rmE2pikyUDQOdCDZJYLw4ePhOCcl9J6IDSTwowJ5GDWcpdhwrLCT 8gTNa6a8G7HqknQ/Yl6WnGSoCLln3Olh+qQYHG7UwnLoZtgQp3Uiiz3Bq+AP4jQB00 v3wX+X2cw0u48lG2+DufUOyMyqDzZv2LJVx0V2AEV7efTRHslsz11nGtVabpMcPWBH qOSUtTGRryFobs8Ixl9S8iiAAX/uJ6GzrTvxnXCDKzaE6m3uDwUDZ4SCpG/wMnmNim GJ0l2lm5EqSCFvj9O4FlltmPR7KYVEdEUhn8ZV90A1NmDcHdy+RpwbWkKYJ2zOTZF1 oQGhkNJ/KQ67w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch updates device tree for RTC and PMC to allow system wake from deep sleep on RTC alarm. Signed-off-by: Sowjanya Komatineni --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra210.dtsi b/arch/arm64/boot/dts/nvidia/tegra210.dtsi index 659753118e96..30a7c48385a2 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -768,7 +768,8 @@ rtc@7000e000 { compatible = "nvidia,tegra210-rtc", "nvidia,tegra20-rtc"; reg = <0x0 0x7000e000 0x0 0x100>; - interrupts = ; + interrupts = <16 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&pmc>; clocks = <&tegra_car TEGRA210_CLK_RTC>; clock-names = "rtc"; }; @@ -778,6 +779,8 @@ reg = <0x0 0x7000e400 0x0 0x400>; clocks = <&tegra_car TEGRA210_CLK_PCLK>, <&clk32k_in>; clock-names = "pclk", "clk32k_in"; + #interrupt-cells = <2>; + interrupt-controller; powergates { pd_audio: aud { -- 2.7.4