Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp145837pxk; Wed, 9 Sep 2020 01:11:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwuFYgQXSWK1p+MyYWvrXWnOe9zQYub1sVHHZ/V2UdgKs9DKZkRbpeQjdnYMUke14wRl15b X-Received: by 2002:a17:906:b156:: with SMTP id bt22mr2415553ejb.481.1599639117813; Wed, 09 Sep 2020 01:11:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599639117; cv=none; d=google.com; s=arc-20160816; b=DijNRIDX2gpjBhLHaLzBRPc9/aDtwf2NxhyffwSNuLGqJdFGKaKXaJ0Uf8Bj/bgOFx h7TuT0spMCUpF+f/M4eqeOTJIBbkTVkwL66wP7ARhQC9eZG9WNZmBBRnYvVjGg++MKPT xToYskryhGjpakzjrZ0rIK/F5wLypvlCVL5Na2U5L9nV1D+lD1AdWIoOquH/TeFnK8DD ucwpYZJk5sFNaVRBQNkh7zd4z48dPacOOYR9zy2YmMn6PKsRlKR/T1pak/3KQxho+Qmc Fdyl0dCjcQZrqtCJ0VkZAm4ISt6kiKiX94PTcIeRX8Jxsaa6hf2V/aGboxc7Th5Dh2iY vgRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=OnE1M57BnQjNFIR97nMj22Gyn8Dt1hz3QZatowFVODA=; b=NraTMXbDHlNUzI1sp63dHJ0K1Pz4c9EqUSu0++A6Az4tywUkeSD3Cu2S5PyaW0wddm 5tP4GZsg2tV+mAeKegnomqPb2BbKvR6IA/fFKSs8X74HahvMY0Ensdq0KS42c/O2o9DQ /ODRTCSmW1ogVZ2w/AIn0qz9nOBIdpVZFv57INkZUtWltl8X3P9Rc1DwrqwmDJwCjA+G VOtFY/vSV8YC2YKPE+JWplq/wI7ztiG9o+BdiEZx8TrQZwir6TT3QcJ0giQBFydj4UG3 G9yLq5NpT+lc6fOkVIepxsxEeCVvW23vOph0E4svtGJQPP5KStM3DfTR22PxfUzpj+Wg sb4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=E7Jlqwq5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id c23si810296edn.110.2020.09.09.01.11.34; Wed, 09 Sep 2020 01:11:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nvidia.com header.s=n1 header.b=E7Jlqwq5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730064AbgIIIKz (ORCPT + 99 others); Wed, 9 Sep 2020 04:10:55 -0400 Received: from hqnvemgate24.nvidia.com ([216.228.121.143]:14002 "EHLO hqnvemgate24.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbgIIIKv (ORCPT ); Wed, 9 Sep 2020 04:10:51 -0400 Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 09 Sep 2020 01:08:33 -0700 Received: from hqmail.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 09 Sep 2020 01:10:47 -0700 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 09 Sep 2020 01:10:47 -0700 Received: from HQMAIL109.nvidia.com (172.20.187.15) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 9 Sep 2020 08:10:45 +0000 Received: from rnnvemgw01.nvidia.com (10.128.109.123) by HQMAIL109.nvidia.com (172.20.187.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 9 Sep 2020 08:10:45 +0000 Received: from jckuo-lt.nvidia.com (Not Verified[10.19.100.126]) by rnnvemgw01.nvidia.com with Trustwave SEG (v7,5,8,10121) id ; Wed, 09 Sep 2020 01:10:44 -0700 From: JC Kuo To: , , , , CC: , , , , , JC Kuo Subject: [PATCH v3 00/15] Tegra XHCI controller ELPG support Date: Wed, 9 Sep 2020 16:10:26 +0800 Message-ID: <20200909081041.3190157-1-jckuo@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-NVConfidentiality: public Content-Transfer-Encoding: quoted-printable Content-Type: text/plain DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1599638913; bh=OnE1M57BnQjNFIR97nMj22Gyn8Dt1hz3QZatowFVODA=; h=X-PGP-Universal:From:To:CC:Subject:Date:Message-ID:X-Mailer: MIME-Version:X-NVConfidentiality:Content-Transfer-Encoding: Content-Type; b=E7Jlqwq5oHFMQou6t7BQOp4HY7WXDW84tEsUIvUbgchzf5L97+sgXIOn8WEgS4heL WpxzoAYkZUGO8UF/r3ZMzeWRIgOZZDnjyvmiMG55u9e27nTFhm1nDxGoayUxedlAAN HCGt5E44AC92ACMNiIFLZarNYG30o808rXuGBIlzhf5SHZZ7dH51t0vk9IJHUvKGb0 EJKFTnVqXrd7QogM5zEMukNjEMCX7TZ9pDDGetXdLoO1til+C3cLbFcqatteZh9eVA Pxu0Lw6CP5jmDy5ZtHwmxLd9jaoRUrH9sL6gtjJTop+zW9t/7HUJ0UUB8PLAmFHft4 brPE8YnJ1cQ5g== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tegra XHCI controler can be placed in ELPG (Engine Level PowerGated) state for power saving when all of the connected USB devices are in suspended state. This patch series includes clk, phy and pmc changes that are required for properly place controller in ELPG and bring controller out of ELPG. JC Kuo (15): clk: tegra: Add PLLE HW power sequencer control clk: tegra: Don't enable PLLE HW sequencer at init phy: tegra: xusb: Move usb3 port init for Tegra210 phy: tegra: xusb: tegra210: Do not reset UPHY PLL phy: tegra: xusb: Rearrange UPHY init on Tegra210 phy: tegra: xusb: Add Tegra210 lane_iddq operation phy: tegra: xusb: Add sleepwalk and suspend/resume soc/tegra: pmc: Provide usb sleepwalk register map arm64: tegra210: XUSB PADCTL add "nvidia,pmc" prop phy: tegra: xusb: Add wake/sleepwalk for Tegra210 phy: tegra: xusb: Tegra210 host mode VBUS control phy: tegra: xusb: Add wake/sleepwalk for Tegra186 arm64: tegra210/tegra186/tegra194: XUSB PADCTL irq usb: host: xhci-tegra: Unlink power domain devices xhci: tegra: Enable ELPG for runtime/system PM arch/arm64/boot/dts/nvidia/tegra186.dtsi | 1 + arch/arm64/boot/dts/nvidia/tegra194.dtsi | 1 + arch/arm64/boot/dts/nvidia/tegra210.dtsi | 2 + drivers/clk/tegra/clk-pll.c | 12 - drivers/clk/tegra/clk-tegra210.c | 51 + drivers/phy/tegra/xusb-tegra186.c | 626 +++++++ drivers/phy/tegra/xusb-tegra210.c | 1968 +++++++++++++++++----- drivers/phy/tegra/xusb.c | 81 +- drivers/phy/tegra/xusb.h | 21 +- drivers/soc/tegra/pmc.c | 95 ++ drivers/usb/host/xhci-tegra.c | 572 +++++-- include/linux/clk/tegra.h | 2 + include/linux/phy/tegra/xusb.h | 8 + 13 files changed, 2907 insertions(+), 533 deletions(-) --=20 2.25.1