Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2243791pxb; Fri, 5 Feb 2021 12:33:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJw7Rit8wm/vEPE4nE+FpAMroxU2h7SsCuZB5EXFK5j/X3Q8u0kOu/+cVIQ72kGZuWCzQ3td X-Received: by 2002:a17:906:b6cc:: with SMTP id ec12mr5671714ejb.520.1612557229434; Fri, 05 Feb 2021 12:33:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612557229; cv=none; d=google.com; s=arc-20160816; b=Bei6NQF0fBtpujvIQlz83Lgnaz2BRL38BqemSfXidCBrohsZKWo608CRMSuu0De3mo 8s/B5wXYyzZLZEg/U9S9ep5caroGOGsDq9GxUPaixkwmMvgPdKsOpqh3/3YLsxXMH+mk t2n8rB5SJBNhgKHDZyLSRC51UhTPrlrYC5T8RxvPI8uFChFoNVgrSDWSVtyhPWgqQY94 tIbDAc7/ZIk2twqBWuYUQd5FGvG5CkDiAxTpZGpdaeo6vmT7NaZjyp0gTD5T93Zc7Ulr p/e0+WjJ9TWfMPCcLeBLSV7OGb5vFJW4hK95dfKIYPlGLEPF7EESOYvGKk6eQRoBXJAS YvuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vvnh9iIUyWUsHfMHmU5W9oyhtUiiiMoMxCg48M2Jiz8=; b=JH7bfpb8XbagDL2lHtthNk+A8dd+aXOo3CA/SgDQG23i8YrAlAK6wHx0GEOmPYfaGg Y/ZpreQfDib3dJjwBrbJl101Y6EkO0vMLjCLlqkgZqRB8vFDuzyo0G9n18hembadInhr Hzig5Zahroe5zw05OWMeIk0LRA9Of4Z91Je4vSvmcgayHahuN1B07tNLNTcCeZKNqxo6 97KyU6Mi4f3pbJGnSCMk8RgOCsMtV/SJfhDkv5Op2ZuJlwjuqMebf4SI/zfEc9lKTFnZ yiIHaFdrFdOgwfJd9eBioosbuvuknBYjwmj/agcYUghCl2nqgYRHA7DjmbP82cE+8LVQ wYyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KfFDSzcV; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo4si6033334edb.420.2021.02.05.12.33.23; Fri, 05 Feb 2021 12:33:49 -0800 (PST) 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=@linuxfoundation.org header.s=korg header.b=KfFDSzcV; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233110AbhBESuR (ORCPT + 99 others); Fri, 5 Feb 2021 13:50:17 -0500 Received: from mail.kernel.org ([198.145.29.99]:45588 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233086AbhBEPEk (ORCPT ); Fri, 5 Feb 2021 10:04:40 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7681664DA8; Fri, 5 Feb 2021 16:22:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1612542152; bh=2FOXgrVvrtQQwxzm4Wfix8cnVUh7IkUdTTu1De+bjtU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KfFDSzcVzjJbQYJ7meo6+XLjz46z89rptPO7r0cjN61WrYRyEN3XrG1sLfkaa43Ud ExG/AI741QCRdc2A3z0dnPK65OJTg2MFRTlWFMlkLM7X9XtAOfKjQzqhv0OqXyG8pr tgMWAaKQ8D5iEAfl3J+c1jPNT7ZfVcyr1oRM+yq0= Date: Fri, 5 Feb 2021 17:22:29 +0100 From: Greg KH To: Thierry Reding Cc: kishon@ti.com, mturquette@baylibre.com, sboyd@kernel.org, JC Kuo , robh@kernel.org, jonathanh@nvidia.com, linux-tegra@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, nkristam@nvidia.com, linux-clk@vger.kernel.org Subject: Re: [PATCH v7 00/14] Tegra XHCI controller ELPG support Message-ID: References: <20210120073414.69208-1-jckuo@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 05, 2021 at 05:15:21PM +0100, Thierry Reding wrote: > On Wed, Jan 20, 2021 at 03:34:00PM +0800, JC Kuo wrote: > > 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 (14): > > 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: 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 > > dt-bindings: phy: tegra-xusb: 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 > > usb: host: xhci-tegra: Unlink power domain devices > > xhci: tegra: Enable ELPG for runtime/system PM > > > > .../phy/nvidia,tegra124-xusb-padctl.txt | 1 + > > arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 + > > drivers/clk/tegra/clk-pll.c | 12 - > > drivers/clk/tegra/clk-tegra210.c | 53 +- > > drivers/phy/tegra/xusb-tegra186.c | 558 ++++- > > drivers/phy/tegra/xusb-tegra210.c | 1889 +++++++++++++---- > > drivers/phy/tegra/xusb.c | 92 +- > > drivers/phy/tegra/xusb.h | 22 +- > > drivers/soc/tegra/pmc.c | 94 + > > drivers/usb/host/xhci-tegra.c | 613 ++++-- > > include/linux/clk/tegra.h | 4 +- > > include/linux/phy/tegra/xusb.h | 10 +- > > 12 files changed, 2784 insertions(+), 565 deletions(-) > > > > v5 "phy: tegra: xusb: tegra210: Do not reset UPHY PLL" is moved > > into v6 "phy: tegra: xusb: Rearrange UPHY init on Tegra210" > > Mike, Stephen, > > could you guys take a look at the two clk patches here and give an > Acked-by? There's build-time dependencies throughout the series, so it'd > be good if they can all go through either the PHY or USB trees. > > Kishon, Greg, > > any comments on these patches? Unfortunately, the USB patches in this > series have a build-time dependency on the PHY patches, so this should > all go through one tree. Since this all culminates in the XHCI driver, > merging this through the USB tree might be best, provided that Kishon > provides his Acked-by on the PHY patches. > > Alternatively, I can create a set of branches with the correct > dependencies and send out pull requests for the three subsystems if > that's preferrable. I have no objection for the usb patches to go through your tree as they are hardware-specific. thanks, greg k-h