Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5604090ybi; Tue, 28 May 2019 16:12:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/WNfs/UX2NHRUcw1uvqACq55B3FxR3S01aV2Ts6GSvalY/AvgzFgO5P/3+Qpld7dOTa0g X-Received: by 2002:a65:518d:: with SMTP id h13mr1645482pgq.186.1559085124140; Tue, 28 May 2019 16:12:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559085124; cv=none; d=google.com; s=arc-20160816; b=fMVKVlXyk15sRRtWeo7qfE2UwqdGP2DvXcPE+f8sYGtl+/aQBmhIC0lV577jc0+GMx q4ArSbldCe8KEFP4f9pgnpVuZaxIlWTrtMERT+L2vnWBXPFYV5oj9ZSL/ZRwF+4cAJaD R4Zys2buK7v4j/vG1T+Q1NimlYHxXcaT1+t+dqPyV+rSal0QAvT+y24b7aN5cI2BxA5+ grHO6c6s8eE4sNljkmqXc5xu2aFkWCq3pF4BlYc0lJu750P4LNBXLKoSk+KhqxuOiZeB os9kygEZhV9gBjM+TCsy5JQkWZHzFyYI8BDq1320hBEaf9oaDs5gTLp12hEGAueFfeRJ vb1w== 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=0l4gC+Qj0JmgYVzpD51BKCVjV4o0qtIe+OiFzC2IyHA=; b=bMXM2NP6M4gaL9eeY1dPvwdelk89IMvQUmqx5jJ2XfrF2ylxoFLJsLInOhUpX8/K0g zu4NYGdnylxr9fFZEAQGjETl7gK2KGIeuYH1VUZ9409i5PYaWGU8XrIqDl6FuR0cOEn3 KY41M4jESO532DOU2PdpSEks2gvsR2egy1soQytg/KpVzINjqlAiyCVKIV0sKQcutCfy zoo2iO2+iH1z+EMy4Fv7necpV5ZdHmRYcuI398Dd5LkC15STFIEVyejvP3HfFnhppvIH oYm5/iyHVahKzve8MjnO2WF+uQWcspRlPAoJv6GJ3xqiDBpba1Cwt5Vxi/zX929Zdjyt GZNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=LovV5aJ0; 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 d1si22399702plo.137.2019.05.28.16.11.48; Tue, 28 May 2019 16:12:04 -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=LovV5aJ0; 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 S1727777AbfE1XJO (ORCPT + 99 others); Tue, 28 May 2019 19:09:14 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:11196 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727624AbfE1XJE (ORCPT ); Tue, 28 May 2019 19:09:04 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 28 May 2019 16:08:53 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 28 May 2019 16:09:01 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 28 May 2019 16:09:01 -0700 Received: from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 28 May 2019 23:09:01 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 28 May 2019 23:09:01 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.110.103.86]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 28 May 2019 16:09:00 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , , , , , , , , , , , Subject: [PATCH V2 11/12] arm64: tegra: enable wake from deep sleep on RTC alarm. Date: Tue, 28 May 2019 16:08:55 -0700 Message-ID: <1559084936-4610-12-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1559084936-4610-1-git-send-email-skomatineni@nvidia.com> References: <1559084936-4610-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=1559084933; bh=0l4gC+Qj0JmgYVzpD51BKCVjV4o0qtIe+OiFzC2IyHA=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=LovV5aJ0tEX82byBH3tCz6/VwLbrK1FSYX/Z3Ng4spRzao8ATjbMWMNVGsFc+xLNv 88j5TkQTl77TkvLcNJrlf+fq8hsKZAISyoJIUgB4Tc7cYIhZdQRjvQY5Y9MZMHlCyu c5x4iQ+eeVJXqZtGsNNjjRNvFOsrewPLiPiCrmya+6Wy7ek/mQbT1YVNMBPY1EgadK RQuRTqJpw5nmgTJws0TmztcOAoF6TmiDV7+BtVLDc2dVr4cS0raKs3jwr+IxNG3/Nl Mw24jBRxE8w/pujebCbHSKlyAa6gkQzPCAaSVz/3GgFH3EqpBPwXzlFV6dThrqG3VO 12pn60KwfVRtg== 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 a550c0a4d572..cf5c215efb04 100644 --- a/arch/arm64/boot/dts/nvidia/tegra210.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210.dtsi @@ -763,7 +763,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"; }; @@ -773,6 +774,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