Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1557440ybm; Tue, 21 May 2019 16:32:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2StA53Elm7gzZei2oYyWKia+CLj/vNDpem5o7sKjYIfF0KbLKZJGzLfNjoqD30WBd/uL5 X-Received: by 2002:a63:7:: with SMTP id 7mr87004594pga.108.1558481562576; Tue, 21 May 2019 16:32:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558481562; cv=none; d=google.com; s=arc-20160816; b=ToEaxTC6jMS3VZxUcYGwNJZ11YBwC5F4TDnh9sS0Jl4ftnwmTAmNjXMN/KvCnsv/1f H1/Li8xUWKFJMTJUsw/BvROlTG74TFpU64E7yQx3FmXuAJcD+8ZM9DrtWaFYdBlx6DM4 T1+4Wrx0T+JRbWU7+t/+bMfQNIAsdDPLuZ+PnCVnTp6ViD5GWgnK2S1iDRXDjbxMSmzv LCblyz73R8JstjYLCC3aWUJGiy9PQ0/+js04CFFTXWajOHhyYyttZZDhTbJLe2FwHBV5 G1ML6/V4Q1qGN+Cpnd0frxXpeuOp9hmZFPI/+haGShLAC5SusaoGDT/s8x7gRW8wk06x pMOQ== 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=UGZonzAOBUh2uRN2ACKO7e+T1em2dwiD/Qgh2WkewQTZkL0IeYXfXAwOakIb0NeSIe 83xJqoMAVGx9YyLosKd1uEuXveOLpV9DcpzeicdcMSdSh5Dk9EX+sP/ZK809SDfTlVB4 axGsSrvntp+hZssVGtpIrKqs7ahjl1ALFgkVSClaa5c5cHKAPCx+o9aw9Cf8i5rk0ouX TyWS1NPor/keS362VR0fab8vSG6WxchtHCoIypwZ1EtkHQUz/NCRu1ZLdYTWOBWL9oE5 cH7kTgzJRKpwOuclC6LELTsJIph7eR9/Yi0EErwuDANdc/nXJYorFs46WNzOjhwiuVXE 0v/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=pdt5MZBn; 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 j39si23770172plb.319.2019.05.21.16.32.26; Tue, 21 May 2019 16:32:42 -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=pdt5MZBn; 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 S1728031AbfEUXbV (ORCPT + 99 others); Tue, 21 May 2019 19:31:21 -0400 Received: from hqemgate14.nvidia.com ([216.228.121.143]:1183 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727790AbfEUXbU (ORCPT ); Tue, 21 May 2019 19:31:20 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate14.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 21 May 2019 16:31:20 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 21 May 2019 16:31:19 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 21 May 2019 16:31:19 -0700 Received: from HQMAIL106.nvidia.com (172.18.146.12) by HQMAIL104.nvidia.com (172.18.146.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 21 May 2019 23:31:18 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 21 May 2019 23:31:18 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.110.102.174]) by hqnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 21 May 2019 16:31:18 -0700 From: Sowjanya Komatineni To: , CC: , , , , , Subject: [PATCH V1 12/12] arm64: tegra: enable wake from deep sleep on RTC alarm. Date: Tue, 21 May 2019 16:31:23 -0700 Message-ID: <1558481483-22254-13-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1558481483-22254-1-git-send-email-skomatineni@nvidia.com> References: <1558481483-22254-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=1558481480; 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=pdt5MZBns4+ceXvILOGcVnbdVCbXXruvt8Ivg02qDNzL3ohJttqjXz9PSUadVtnYu RtysGhBViJw/q/9DFqZIzNZXUFC0Fm/f5qZnoBiYkimLa2Hb/5d+4XPBsevvjwdHZg mo3VMzUnzyFN/VhoEW9WrbqYOAh0Z0XMU/BMjNCPM7zZJpE2m2T6EdnpCQZ2hoMIFV Ma7SwSfaGtKO/OkaCnMDce4PEtj7FOyxH8pnSx5KwmRgODLINjcB7nQXtko8mU0ONI h49YWOkx0085rPlDk+HtmB8SDt1lY4+VYXHflPz5A4vWRZLhagkvLq+guxAIng5v3K T5nM7976tebHA== 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