Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6240076ybi; Sun, 21 Jul 2019 12:42:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzce8wGo03nGDqEAXxe8kStnG5TYetrZg2ga+umlk0GkbmrmZTqNodB9CdhX2sTKargPxQM X-Received: by 2002:a63:7205:: with SMTP id n5mr13410295pgc.443.1563738155735; Sun, 21 Jul 2019 12:42:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563738155; cv=none; d=google.com; s=arc-20160816; b=X4AeztTx70OMXqgN5hwAbrPYZADAefeGA01Juotss/SoblIBDrcixYzVAXd2bLtVoj 8ugpgu/zGoxM//DnYStUVftE5tALtH2NIjQH7ueyZVkJLTotZ8hwKAGx8JoBXQ+Yb25Q o+Qgo5XYF/dpMPxfESSNkwlOlm8OH1eOV6pmwG0px+WD/aa1IH0T6yoPtllJ0iipfmLe 2Ph2XTX4JRG1VxdE2DXjHpElGjp7vj1lg+WacRn77A7Ab+fB8+cdgoSQRYOzWSZ7Kyy/ 7NK2AxJUU83r4IbAmakawrfIGLnrUIS6piRXoVo9F/6AsBf8OPay1Sx6bgdQdEqXdR8K Qaxw== 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=g9xCGovmEzmqNRivWQwx8DteGeMluDs2O99dBIeAEslQg6rQiY+sJWFMU+w6jZesEI GUYW2JOBjChO6GGKPyLWH8YPwm2ePeRLz+DFBabgRdF0FSytfBENthN8821XlgDwp3NZ RwgfFE84O06GwyAHFfDWlJLhi2JZlbwk7k+QJXTI5Pakdw0JqrXbmnwWFedya8PP2Cmz sLoR+vp0cHnlxE7LQvKeQBI7E4eNYqEoZz+OQJQ1+yFQVivjTFvvclH4I6VPpqaqZHJK Uzh5ME9T9/XBCWTvJVup61cDOz9R3fZ6au9LJYSwSXo4LrfPhIWqTTiD/YbdXhk7Of7D 2diQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=XKatg5BM; 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 k72si11915363pge.95.2019.07.21.12.42.20; Sun, 21 Jul 2019 12:42:35 -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=XKatg5BM; 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 S1727848AbfGUTl3 (ORCPT + 99 others); Sun, 21 Jul 2019 15:41:29 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:9038 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727733AbfGUTlT (ORCPT ); Sun, 21 Jul 2019 15:41:19 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Sun, 21 Jul 2019 12:41:15 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Sun, 21 Jul 2019 12:41:18 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Sun, 21 Jul 2019 12:41:18 -0700 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL104.nvidia.com (172.18.146.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Sun, 21 Jul 2019 19:41:17 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Sun, 21 Jul 2019 19:41:17 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.164.85]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Sun, 21 Jul 2019 12:41:17 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , , , , , , , , , , , , Subject: [PATCH V6 17/21] arm64: tegra: Enable wake from deep sleep on RTC alarm. Date: Sun, 21 Jul 2019 12:40:56 -0700 Message-ID: <1563738060-30213-18-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1563738060-30213-1-git-send-email-skomatineni@nvidia.com> References: <1563738060-30213-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=1563738076; 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=XKatg5BMYhd1l1mZyFttY82ElDwsjSu57utLBxqhcl7Amk7dHKK/ekHbY/+pM0q4i ETQGWDXdMicqBpDQ/NnJVBMWDLLq2HdaZgdtpwhYl5a9ExqOjLnVRB6ePYp/cLxQzx n+s+QD0L1yec31PMTgSVX7ey6sRnXYuZzsRKRPiJCCZ3c+Au/pmtNhP2IgNei62kpF kgKydXIzjrzwYUb8rxLVUnnMMHuvq7wfo+8dwFUEIBLcSnPk4O6AjXQHavrS5iYv+/ 0bAuM0ExcZmxBgcWw2q9Nd1MBcoEZf8OKwDZy1hYVnSHXP3d1Q3syUakNXxI3W3RgZ kRBTNTak2SGTQ== 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