Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1918487ybd; Sun, 23 Jun 2019 20:04:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNN0lkO4N4/91Re/okx/sht0Ym8bZdeOFDEOjOrHxe5VHyDBlk697n2g3fYIbwcPo3+ERD X-Received: by 2002:a17:90a:8a8e:: with SMTP id x14mr21439187pjn.103.1561345477394; Sun, 23 Jun 2019 20:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561345477; cv=none; d=google.com; s=arc-20160816; b=baiHG22mSKl3T+yjn8xTdIHkge5zwnXF08cGESpQkUxevZRWfUsGth5wDPA8avpUKR Azhllx68ZMPgP6CisDjHQMZlX/3DOeoHgeqX9KYOnVBMcrRRrDvHcErgHNaEsgOpHYAg S9uJuM3Slm5/7VzNP6LRykdmDjwpA+HqSkJ6anGoH2bIbpjXrGXa2LyTb+JsoVhKYPoq 2KCx86fF/wPZ1PmIapUTuUVEkTu2PMnmKfcd9DeOFwuLl0kI++UKLEtxvGQ9N8gV48pK G73FaQ1IEwn+RQovSyfgw5NeY4ARv3173uYGCWSOxg5AOMQ2RUi0FTugDW7g14XcNZqF 27Dg== 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=ZHJpmGk/jpC0MoBEtVWxzEyoHmpRyaqZCSbV+GgxVYhOWfPT1KoMkGO/NY1tJg39K8 LS7v6sae4pAU9Du+V/96xXrQ0HWkF1AqbHUkMICMwrWT9Ml7v2kstvGy+guIRd0icw9d uciI/8Isg2oeZss61sGTWc/OdSzGJYJlUSD5GwwLDNMPHozz8TR3HlwsEyJ8i7K4Ha39 WEsNW3DCDmaoTpaW/pAOSye4LTL1uJbd6bcoGTePlRrcOCzkcnesbVZ8HoFiseFJON8U xpfV8OTzSlLTG7X/clCX9b0D2sXGl3+e5TilBkjLFgV3vWzPLQ+d7r03ePterHv7tHY7 x+Fw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=ER8hw4Y5; 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 d2si8668947pgo.463.2019.06.23.20.04.22; Sun, 23 Jun 2019 20:04:37 -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=ER8hw4Y5; 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 S1727584AbfFXDDt (ORCPT + 99 others); Sun, 23 Jun 2019 23:03:49 -0400 Received: from hqemgate15.nvidia.com ([216.228.121.64]:7414 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727566AbfFXDDr (ORCPT ); Sun, 23 Jun 2019 23:03:47 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate15.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Sun, 23 Jun 2019 20:03:49 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Sun, 23 Jun 2019 20:03:47 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Sun, 23 Jun 2019 20:03:47 -0700 Received: from HQMAIL105.nvidia.com (172.20.187.12) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 24 Jun 2019 03:03:46 +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; Mon, 24 Jun 2019 03:03:46 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.174.126]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Sun, 23 Jun 2019 20:03:46 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , , , , , , , , , , , , Subject: [PATCH V4 15/18] arm64: tegra: enable wake from deep sleep on RTC alarm. Date: Sun, 23 Jun 2019 20:02:56 -0700 Message-ID: <1561345379-2429-16-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561345379-2429-1-git-send-email-skomatineni@nvidia.com> References: <1561345379-2429-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=1561345429; 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=ER8hw4Y5X0UgQGYKZ8MtwW09ehgstjCTZw8XcoaFATByfoy441YySZTEZFyByQ6m5 vFTpE+Ymw9aw/aXXEU3pCpe7oWNKdFAorTw2mDWaYRf51pe3OlFwqu+BC6D6Eb66wb IdsEzYrmNd85zIOByOPBgFOijUFV2NwJDt5CzQGha7+xtaTRKpXjBs8HOffZdhDm/C 2V7fFbwoJqV/MQnw4xvSRZCfVGugK/IoIQcsdS3/LFE6GxwzJ52ryiFjQKfFwIWDbd Ulnd533MxGIzJSmARrrQy5CZIUkozQ1izC7gbr3JNXCmcXaGi2Oq2uBwbA20Amabh+ KaNG7sroWdTUQ== 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