Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1559891ybm; Tue, 21 May 2019 16:35:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZLD+XhVQbdQxLmI6JE5c99BV0OBNYTCeDC2oqamj97woTpvtCZWTqjN8HjG0qj7hdeIKR X-Received: by 2002:a62:e303:: with SMTP id g3mr90867224pfh.220.1558481726415; Tue, 21 May 2019 16:35:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558481726; cv=none; d=google.com; s=arc-20160816; b=f8DBBW76ncLgb3D6bgUvs6CwMtAp/ngm2E8+5w2Z1dRqfbsuo3N0nOjEIf/Iqrvkzv 1hdRQhqtdcMjVBvOl7WAYQt6qGnxgptO4z1v1m8rlW1RAjdHnvYUcN4w0oXbL7fIIfow lxIEBGyfckEarJNqn/JrYtTGh2kAVGnms/rJgIbMcTY/MdU1eb9E8adMLmuR6rWEIXiU BYejHPAtFKv2WrjbqKYrxP00dVCOGtyWakhefvngahckPUqjl/WkqyJ6eeBHPY1uShT6 YY2+wwiUkELnbrnVUrAaUkJKEc2sRfP64LEXkWYgZs70kdE1GsBjtg+CyyVVFMOq/Kmn ZEEQ== 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:message-id :date:subject:cc:to:from; bh=XkrgQWPSdSys4sY6++u5MjM3R5kQ9ZrMn6kdxayE2Cw=; b=FnA2qOuBERydDExWa4QkGt3sBAa+EzlMTiM+OyJml0QDPjml9z4JWWtajngWE7CwGc +DTLgp4AlPnbEyFbv8veCkvE2F9j4VIuyCXseuhUKVkcpBIr+LjODYrBP879PzKVlqAL lY5n0Tj6UjpznW8ikv+lHTPHkUzxuNaRufv5Gql982c5zp7vd5AkFY7lwvNKbU/GcoIa EkO3LG0SVItKQZE6uGLkaJGzTMs8YkrbBJNRpeWVl6XndktkBdOO0lSjeqfffxldszaf dMYFOAAHWr0oNrPwFT7DRe6VfbZARihebXTQDAFxHNtlmSIWneyqLEr90+dsiQ+P2LM5 CCNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=ZlTswiaW; 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 z1si22578797plk.245.2019.05.21.16.35.11; Tue, 21 May 2019 16:35:26 -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=ZlTswiaW; 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 S1727424AbfEUXbS (ORCPT + 99 others); Tue, 21 May 2019 19:31:18 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:8288 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725797AbfEUXbS (ORCPT ); Tue, 21 May 2019 19:31:18 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqemgate16.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 21 May 2019 16:31:17 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Tue, 21 May 2019 16:31:17 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Tue, 21 May 2019 16:31:17 -0700 Received: from HQMAIL108.nvidia.com (172.18.146.13) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 21 May 2019 23:31:17 +0000 Received: from hqnvemgw01.nvidia.com (172.20.150.20) by HQMAIL108.nvidia.com (172.18.146.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Tue, 21 May 2019 23:31:17 +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:17 -0700 From: Sowjanya Komatineni To: , CC: , , , , , Subject: [PATCH V1 00/12] LP0 entry and exit support for Tegra210 Date: Tue, 21 May 2019 16:31:11 -0700 Message-ID: <1558481483-22254-1-git-send-email-skomatineni@nvidia.com> X-Mailer: git-send-email 2.7.4 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=1558481477; bh=XkrgQWPSdSys4sY6++u5MjM3R5kQ9ZrMn6kdxayE2Cw=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: X-NVConfidentiality:MIME-Version:Content-Type; b=ZlTswiaWlchA1i+TZL+RyOFISCvqevPVyY+YP/NgZ4BU2XsMNiV922fMJFlGhfN6+ 29AHlT1Q0aGw3L0vXbEq9PhO21sbUx5Ck2Nx9cYbSLp4CPQViSrKmBZjGy6Y/WN5yB Rt6xIDfvI4mZ1vvLpRc7trV/fbXQz8CHL/4+bCK8y9HlZYRDEad8SkPZIPytBfliUq zjEwOMZgDeqiz4kjR+8Z3GwDAqwpl2BRov/WNfIAuFwMT13+x3dJsfaD42Q40VuLyP IW6NrXOePSILRUaDwxzAPvUrkZWrPT1Gf/1TwFkIAHWkjtBfKze00U39i7LM9ir2Nl vQs7Nk7Chl5Aw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series includes Tegra210 deepsleep or LP0 support with deep sleep exit through RTC alarm wake and power button wake events. This series also includes save and restore of PLLs, clocks, OSC contexts for basic LP0 exit. This patch series is doesn't support for 100% suspend/resume to fully functional state and we are working on some more drivers suspend and resume implementations. Sowjanya Komatineni (12): irqchip: tegra: do not disable COP IRQ during suspend pinctrl: tegra: add suspend and resume support clk: tegra: save and restore PLLs state for system clk: tegra: add support for peripheral clock suspend and resume clk: tegra: add support for OSC clock resume clk: tegra: add suspend resume support for DFLL clock clk: tegra: support for Tegra210 clocks suspend-resume soc/tegra: pmc: allow support for more tegra wake models soc/tegra: pmc: add pmc wake support for tegra210 gpio: tegra: implement wake event support for Tegra210 and prior GPIO soc/tegra: pmc: configure tegra deep sleep control settings arm64: tegra: enable wake from deep sleep on RTC alarm. arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi | 7 + arch/arm64/boot/dts/nvidia/tegra210.dtsi | 5 +- drivers/clk/tegra/clk-dfll.c | 82 ++++++ drivers/clk/tegra/clk-dfll.h | 2 + drivers/clk/tegra/clk-divider.c | 19 ++ drivers/clk/tegra/clk-pll-out.c | 25 ++ drivers/clk/tegra/clk-pll.c | 220 ++++++++++++-- drivers/clk/tegra/clk-tegra-fixed.c | 15 + drivers/clk/tegra/clk-tegra210.c | 382 +++++++++++++++++++++++++ drivers/clk/tegra/clk.c | 74 ++++- drivers/clk/tegra/clk.h | 18 ++ drivers/gpio/gpio-tegra.c | 109 ++++++- drivers/irqchip/irq-tegra.c | 10 +- drivers/pinctrl/tegra/pinctrl-tegra.c | 68 ++++- drivers/pinctrl/tegra/pinctrl-tegra.h | 3 + drivers/pinctrl/tegra/pinctrl-tegra114.c | 1 + drivers/pinctrl/tegra/pinctrl-tegra124.c | 1 + drivers/pinctrl/tegra/pinctrl-tegra20.c | 1 + drivers/pinctrl/tegra/pinctrl-tegra210.c | 1 + drivers/pinctrl/tegra/pinctrl-tegra30.c | 1 + drivers/soc/tegra/pmc.c | 159 +++++++++- 21 files changed, 1167 insertions(+), 36 deletions(-) -- 2.7.4