Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp6425377ybi; Wed, 31 Jul 2019 14:14:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxjksvblAj7vNBgL9yl+Dp4JFfehX5RCfHaWAXMIizZcPxsPP7sysFcUnK8Yh/irISxBt9 X-Received: by 2002:a65:500a:: with SMTP id f10mr84840658pgo.105.1564607665393; Wed, 31 Jul 2019 14:14:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564607665; cv=none; d=google.com; s=arc-20160816; b=abbVLSRVzxG3G0UNoLg69/VmQG8u1pNvgauWoq+RSegIUXO1IurOfgottJpLdV/uzG PMfEyEkA5TAbYgsdlyIsUTSGRcfUrtSGHdnIrXPqtKhIFvCOMqXdkhmo0nhP/mSbXmff O+ka3Vs/1rKld3wdy88kzE0F/FjK8Q70n8CdJqDRWhfJnTqmE/D/qJ6k/i3DpqOGGzx7 Byxy/a2B6dtifGJM/I1km3VtoQIq/8D5JMUt9smZMCA5iEdUV2td98B3ypraFm09idC6 m2aIL31sU2HoR+UCMBAEwVAIeimFQKKDU+IvH9O/sHC6e3yZrQ0rZnJf9kIbb7lf3KPg LkMw== 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=x2M7PtnHeilUjlEAoc28awmzcjc5h+GMAjceBmif/rIU4HH4iaXYXfDUnR6+DQVjFY 2TRvQnec2KzVdut32PsbDdrZQV82r3vJb10+1sykgswORJTWTgu4Wd570rd1NuXTGuI9 1KADP8AOJMs+v4Xttc4884IBVUPAqM8RF/eKlkLfrbUbK/VJxSLxg/5Txv9kbJODtTvW 5sIa2w4+dE2o19UcLFiyAWy6Jw+Y0Lz+aDypVhs4lIp48QV0uEJ/vGdLTCBzvZYiAyoL lG2f9N9K/YEx6EQ4WxNf44tXrIdZX+mA8VhadYJWOiWJIWzUPI6JUdOvLCIIELWIe9ow EBxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=akFt6j7P; 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 r14si33570684pfc.134.2019.07.31.14.14.10; Wed, 31 Jul 2019 14:14:25 -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=akFt6j7P; 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 S1730968AbfGaVMD (ORCPT + 99 others); Wed, 31 Jul 2019 17:12:03 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:17181 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730439AbfGaVLK (ORCPT ); Wed, 31 Jul 2019 17:11:10 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 31 Jul 2019 14:11:11 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Wed, 31 Jul 2019 14:11:09 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Wed, 31 Jul 2019 14:11:09 -0700 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 31 Jul 2019 21:11:09 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 31 Jul 2019 21:11:09 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.110.102.167]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 31 Jul 2019 14:11:09 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , , , , , , , , , , , , , , , Subject: [PATCH v7 16/20] arm64: tegra: Enable wake from deep sleep on RTC alarm Date: Wed, 31 Jul 2019 14:10:59 -0700 Message-ID: <1564607463-28802-17-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1564607463-28802-1-git-send-email-skomatineni@nvidia.com> References: <1564607463-28802-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=1564607471; 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=akFt6j7Px8Xd1imahOCfLHwfAbLC59sxa8SyUOhFp6ZCcPEaZXZf5ykfGzixb3QqG 2uxWWKKlB7hje3UaowIz6jTfj5sxdN9f7CuOVMktut2loRmd2+Rsgr0D0NQIlIc6U5 tokqd4pBnn3nAuJU8xQB4ReDwJo15QA4No9mdm5MYZsIDfYN0dpVBPrnn7pILit1IV PWJqGjqL+fO/yxbANCCglrEJBZCttCkqd99qbdqJWLXjR/H/sxVouDBnvgRZup6drP dEZp9S9PxbLzO4sAWKPGVmajPJv03P2GNYUuonxWFPhOcjpfr0mtRNPpVwQlnBjDiM CkGyqMa8rVTaA== 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