Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp7475001ybh; Thu, 8 Aug 2019 16:50:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqyDyLG29nG3mjTwM2L6dNEjZXR3T0r0FEwVT0z1j5TPgfxiKt/N9MzGgxUufHH5p+KWzvPl X-Received: by 2002:a62:187:: with SMTP id 129mr18393247pfb.128.1565308221482; Thu, 08 Aug 2019 16:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565308221; cv=none; d=google.com; s=arc-20160816; b=dAw1FIhqGyWyXTprZRBh1Q9Uhq/jotpp9M8c6LYu/oTVlMWcpzMGyIvRnq+xzSIfEO 9d0K4sDX0QPfpkyrWDPPWg663fvy0j1GALOrkZzOLPjc7OtTGHLSEGYcixpAHCquBrsI y7uHfkoszA1nOMr8vxDs6YwRJwEJbUDF4xmPSvfI7ChHEfjnLA62iQCP7/T0qcP7XQmr 6Yij1cX1OXypuy9h7mywAiO4ZJnNvcphCtEAyUe6lrL2p+VnBLo56HldhNJyWLtxG1la DqBUZxMC/lQ8Fg82xdKsWQsKNpp6VMW+H+x/AQdCi1FJqu2sEvF3zJu0ZBNroitjrrzF g5Og== 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=Lv69OPw5ry87wgwFeKay67ZSpLrIYCKbDV0RekZSwXGD0gGLJ13Z9046ej6/CoLjE5 hKJ5Cd06EnqxHLV/jk7AaT5tFpYljYXEdpuzSp6MmnC0Uyn9f/+DyLl3mpc7mT+tt8qW zA7wEIJ79LoIrqS5BbhjPWdvBWPJ2f9PXY1Zg4ydphZtYpubINsAPyey/5nbSYCgUZlb 84SoEXvedzkCukBNfZPGboG2ScJ3pSG+L8kwmRHVut5C2T4WcyfjvVP1svkSwsZZJAIp 7a1g6uShGQdevaoD38kb+3bZmJG9oLET3mWVB4YmcbIEi3nRsuL+gJV+DPYzItsmhpQz Cleg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b="c1fCfn/0"; 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 q14si54533931pgm.325.2019.08.08.16.50.06; Thu, 08 Aug 2019 16:50:21 -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="c1fCfn/0"; 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 S2405178AbfHHXr5 (ORCPT + 99 others); Thu, 8 Aug 2019 19:47:57 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:17868 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404943AbfHHXrH (ORCPT ); Thu, 8 Aug 2019 19:47:07 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 08 Aug 2019 16:47:07 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 08 Aug 2019 16:47:06 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 08 Aug 2019 16:47:06 -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; Thu, 8 Aug 2019 23:47:05 +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; Thu, 8 Aug 2019 23:47:05 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.110.103.110]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Thu, 08 Aug 2019 16:47:05 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , , , , , , , , , , , , , , , Subject: [PATCH v8 17/21] arm64: tegra: Enable wake from deep sleep on RTC alarm Date: Thu, 8 Aug 2019 16:46:56 -0700 Message-ID: <1565308020-31952-18-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565308020-31952-1-git-send-email-skomatineni@nvidia.com> References: <1565308020-31952-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=1565308027; 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=c1fCfn/0ebpb7FsnNpkwXB0dG/WGpY3J+RSsiN4sJxmKC87Ax25WSFWmYy8p4/Pvp ErLqdVbmjodda1VSu0nCnOSTaSw9/OPRZCOXSgzDaUYdAHy+QkEnJ9jylEbLPIZH8f 9R/uJ4utdp+BgSNuu2oH1cp/Z6gy/bj+eSjpi3eTykdtols4AA3Zd7T4/DPbkK4qQa gass6552wvFlQNMqlup2Oum+d/kwBf1mWr3Y45xK++NjzuuGVAWSxocSq0lmxToyOH x+ZbffJYlFv14n0zmUMkNPcreDUQEBDgsFde0N+LDz2fSBbL9fAZs2utZUbvng05y9 5RrJRAYK80lPA== 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