From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 20A60C433F5 for ; Fri, 11 Feb 2022 17:57:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234619AbiBKR5j (ORCPT ); Fri, 11 Feb 2022 12:57:39 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:46334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbiBKR5i (ORCPT ); Fri, 11 Feb 2022 12:57:38 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 869601AF; Fri, 11 Feb 2022 09:57:37 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4EA771042; Fri, 11 Feb 2022 09:57:37 -0800 (PST) Received: from lpieralisi (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0FA113F70D; Fri, 11 Feb 2022 09:57:35 -0800 (PST) Date: Fri, 11 Feb 2022 17:57:33 +0000 From: Lorenzo Pieralisi To: Stephen Boyd Cc: Andy Gross , Bjorn Andersson , Bjorn Helgaas , Dmitry Baryshkov , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, Prasad Malisetty Subject: Re: [PATCH 0/3] PCI: qcom: pipe_clk_src fixes for pcie-qcom driver Message-ID: <20220211175733.GB2300@lpieralisi> References: <20211218140223.500390-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org On Thu, Feb 03, 2022 at 09:11:44PM +0000, Stephen Boyd wrote: > Quoting Dmitry Baryshkov (2021-12-18 06:02:20) > > After comparing upstream and downstream Qualcomm PCIe drivers, change > > the way the driver works with the pipe_clk_src multiplexing. > > > > The clock should be switched to using ref_clk (TCXO) as a parent before > > turning the PCIE_x_GDSC power domain off and can be switched to using > > PHY's pipe_clk after this power domain is turned on. > > > > Downstream driver uses regulators for the GDSC, so current approach also > > (incorrectly) uses them. However upstream driver uses power-domain and > > so GDSC is maintained using pm_runtime_foo() calls. Change order of > > operations to implement these requirements. > > Prasad, can you test/review this series? Waiting for testing/review and Bjorn/Andy ACKs. Lorenzo