Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2760456ybd; Thu, 27 Jun 2019 19:15:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqwinxQ3IqJRERJ32/16E1/19x2Sj1AqONdprzsiU2hyxIrXtCbnZ/C9G/Y9WJ5pAzwp+72Z X-Received: by 2002:a63:e0d:: with SMTP id d13mr6367624pgl.5.1561688152481; Thu, 27 Jun 2019 19:15:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561688152; cv=none; d=google.com; s=arc-20160816; b=nORSvwztNQct45HQhxVejvAtix5rWs6vveMHNbEeWTsFSgrrps9VZEVyBNumX5WGZW dwYKdUTvnUQXwL7ReYNhSs4TKwVpkcWoBxfGfjXheUyI0BQ+CjZFntu1vnT5YfZc4Ex8 Lq7IqVTXru0yp9WtdztPSEjmQ/sp1/IKRNYB/lRWBQBKmKUWJJRzCg+Juzshtp69dQHn ItSYWWB4MD65NkzIz6AboTUbCCS9J5ss+f0iV1vLYllXgSU5+sCbN3DO9f/KYaPqgiLC HqMVJn1SJ3tLZXsXghhgSUntZckQplBUx0yHKdO2K/Fmnp3E22J+0kz+OIG2q1dvhVfF EAIg== 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=co4+umvZwa1EuxkKICStneBXrVxNRq2BZMUSJ34CoLoCyUJHxH+lWigtSDj2lgGvHS rxM/kqrTzw/lv+mTXxVDfRurXBBalYj7Wo0VqbeTGRGjfpdPLoI+UPdijW5mTcUsXrSG H+erbfwDtDBSHewixluivTHntmvIk0nlAi9OKRk+EC8b4L8F+2taTdV2pgca4ZMdKlvL sZxhitnfIl8WnUlEnkbKaZYpj02FNRDs7Q2sakt4Xx2kzAvzok36LM/QUgPN1jSsahOs 9lqCcWe9aEs95MCh7KUGEmgnEF/NBIKSsoGfkc+NqS/yyV8K01O79eIaZC0fK2fLNkAV vMug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=kcHrPswf; 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 e124si847745pgc.115.2019.06.27.19.15.36; Thu, 27 Jun 2019 19:15:52 -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=kcHrPswf; 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 S1726921AbfF1COW (ORCPT + 99 others); Thu, 27 Jun 2019 22:14:22 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:19590 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbfF1CNh (ORCPT ); Thu, 27 Jun 2019 22:13:37 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Thu, 27 Jun 2019 19:13:34 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Thu, 27 Jun 2019 19:13:36 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 27 Jun 2019 19:13:36 -0700 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Fri, 28 Jun 2019 02:13:35 +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; Fri, 28 Jun 2019 02:13:35 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.110.102.155]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Thu, 27 Jun 2019 19:13:35 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , , , , , , , , , , , , Subject: [PATCH V5 14/18] arm64: tegra: Enable wake from deep sleep on RTC alarm. Date: Thu, 27 Jun 2019 19:12:48 -0700 Message-ID: <1561687972-19319-15-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561687972-19319-1-git-send-email-skomatineni@nvidia.com> References: <1561687972-19319-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=1561688014; 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=kcHrPswfiZz65Baz23jNP4sHHpiUaPgRgJ8DI/q/I0KpmKTjwbcbmJGzuWgXjyNoL n0AGEN1kG0M6kbe4bu4Y41QiUAk24ggOJAzPJDPL4j9odJjjMm9k3jQwJUE04KJbB6 KyZPOWShOK0FKgmp6HWmwuyqqNn1UM1Vm1ThLegSoQ+rIxWz+AoT8h4E4+UBUwWv1S nB2H+e4sp4+XN11soY6nTgrJ3zk/sDq/6cAfJL+MxEiJgC4nqxXbaaDB/J6OJTUvju Wr+yY2b7IAwrXNskQHihymPuXEnkZdkjMw+JIfK9kPFxzbtLSMbUgmqv5iI2GH0nuz b4f2Qt77KsycA== 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