Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp3455975ybi; Tue, 18 Jun 2019 00:47:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2e0jzEoE/jA0liM/5OK3v3G0yi0BV+6ZHhUBRpJA2TAZeuUQ5nx9aRrWzNJ3PqwpDo1KT X-Received: by 2002:aa7:8049:: with SMTP id y9mr2733419pfm.195.1560844069760; Tue, 18 Jun 2019 00:47:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560844069; cv=none; d=google.com; s=arc-20160816; b=kMcQSNmKUl60ZSajApwjoRfudLRgnVbh5k9l/2zBMsF0OZkZoj9KGXT4YgppiGS6FM S+6Gv8sQarApIH6wUvmQcrrCqRICT+rFL9ClW1sRnLu7AofoAcAYu4yK7aS36oMJsET+ vm92UpPE9lPxt7CSE8r3BonayrOG0Yd54dp3XbKp0a5Mtr8EGVmqu09G/N//WkQYG9jr O0opsX5068ud0hLq3IsJzVB5ygOQcmvi4OrfO6e3+DBiHxEffAUIMOAsXIXotrWmeeKN SaMElD7e4Gc+DO81zcOBZbpdZstPFCmOhBRXx8M27gh66Ds7Bky3B1jYbqqx97IhfNxv WHAA== 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=yDxMxfPTCgsxiYAL44L3iSaV2tcgK1454UaiFZ8F9DY=; b=PSPHCGVSR1WmkBFuMJJgsL5xRX75uUtp8Fune6ifMtsHy1wL6V2o2Rbp5mYCyerqY/ GgHMExvdeKxbxH9DxgPhsRSK6+8Ow9bYcoXZWDVeyAjpSKYWl0Ly7wX1kOq8yxnjnC3w +aP+oeon+XsaYsGhPAo7oosC+V5QiJRfAy1oQXvZ9BE9nyEB4l1xg9l2U5WqfX2zXnls WdWmzVHKV+Zei0a9WR5oDZEmEe9y6e2M43FNhe/VCr6Ck80JbsV+JrcbY3NlksKD+kUO U9hhxoDrBX+dSwzXNiMLpJSLb8D/tHFIiRXNBziyFHFHcn2GPHiqk1FerUqL0OjOojLS +uWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=DiM1ZPkH; 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 e123si7466397pgc.479.2019.06.18.00.47.34; Tue, 18 Jun 2019 00:47:49 -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=DiM1ZPkH; 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 S1729206AbfFRHrP (ORCPT + 99 others); Tue, 18 Jun 2019 03:47:15 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:14184 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726238AbfFRHrN (ORCPT ); Tue, 18 Jun 2019 03:47:13 -0400 Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 18 Jun 2019 00:47:12 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 18 Jun 2019 00:47:12 -0700 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 18 Jun 2019 00:47:12 -0700 Received: from HQMAIL106.nvidia.com (172.18.146.12) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 18 Jun 2019 07:47:12 +0000 Received: from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL106.nvidia.com (172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 18 Jun 2019 07:47:12 +0000 Received: from skomatineni-linux.nvidia.com (Not Verified[10.2.168.217]) by hqnvemgw02.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Tue, 18 Jun 2019 00:47:12 -0700 From: Sowjanya Komatineni To: , , , , , , , CC: , , , , , , , , , , , , , , , Subject: [PATCH V3 14/17] arm64: tegra: enable wake from deep sleep on RTC alarm. Date: Tue, 18 Jun 2019 00:46:28 -0700 Message-ID: <1560843991-24123-15-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1560843991-24123-1-git-send-email-skomatineni@nvidia.com> References: <1560843991-24123-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=1560844032; bh=yDxMxfPTCgsxiYAL44L3iSaV2tcgK1454UaiFZ8F9DY=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:X-NVConfidentiality:MIME-Version: Content-Type; b=DiM1ZPkHoJ3e4hCEshegM+ypO5Nk6Dg+7HkEwkEqAHgpFP9jPBYMzMQOilOP/K1ov X8UlnOJeWLoDr4sriHXCFNdJn/1pyP7ALUK9+qbklirmCiwgGBahjstHa4okk65dC3 rKc+yWPHnwTD3m01H9CjFenyQpl3MdiLt9Y823YvQqknkZRU5Nt3KE48DfwdsEQiJT EkPeBXAFzI4iX1g1t+3rUl6CkuNR5HAscbtr/B6Sbtkq8/y104qW3J942jCow7NtUb fpv1M7y0+pTo+SfudFOwS3/ixI3XZYEtUHjkuAMBgpmysMzqS+koukOFctJoaQjy+8 uUpWa0yKwlNsw== 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 edf27fe2f10e..d284bd6088af 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