Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1150360rdb; Tue, 30 Jan 2024 09:14:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IGfpg+w3yx+MRiK0AZAe2M0KPrYiBEXhF96nCsHNkrVES8NI/SbHxBUrZFs5dY/ii/ieTjN X-Received: by 2002:a05:622a:1c9:b0:42b:766:b206 with SMTP id t9-20020a05622a01c900b0042b0766b206mr1636087qtw.49.1706634898323; Tue, 30 Jan 2024 09:14:58 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706634898; cv=pass; d=google.com; s=arc-20160816; b=aEfd+hJR5j1/mMJcLLjCxouQy+66DaV7Nl0+nM45HZ2hpIPnEJa+9qrcgKCwbOvsgi /0nzNFw7ZyrKWmXfW+lEjarorAhTh8krybpuE7FbLa2cH+RWZQ3Qez7VffMg3hek1wEK nrirXE7jN4FyMiqZyijJS/iwOYMs6ij/kJf/h/BK6QWLCtp5DL0fxmDKM/tQ6PifT/2R 1tBYJIUbOsbwwzHVMnTcJRFk2RA/Wj3umgZWxeo50P+MJQw7P42flpMis6QVwf37GyQz EYqS/IXBPkFOVQHgxUYvIv9T6HFjykw2DU99KeTrk/IL6hj7XavuIvfNVsFB38zEtxRp V3aA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=YIsXXUFLvKym0M+ErWgL65djuvuo4U2Sfwl1EPhlWn8=; fh=Sj+mHlRnIJgKQuu39DU9zWyZ0bOQz06BJEcPSjbpOmo=; b=PHFRjFuifkhVaxknYIzFHl/zi2Mr5eJvC+kaSvfpDu745QzUcFvhUf60pUG+DHdTRn 2tYYPtZjcyw+MMxLjAJ8bUQDIhuCIpOtAZrPHMxYRdNaYUoHY9nIC1NDJNgyGze6pORL h16F++ZCdvh/zRJET5F/qFKI55CqWWrS6PYI0KGU1ySOlrXNoC8KYH5rjaxi9dhox2C1 xpM0G1CnJGInUP9KepyoL5evQ51KDXCF7nEckGV0miSTfdlSVj94v9bbQX1N0TIpsyp7 Vz+T7bbk0LHaISCIzoJAzhCLIG4bW+L/dt3rw5sRSqZm1Ey1gwkFbGYfQO5nlDoVZJsl CwQA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B5sVTDYc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d21-20020a05622a101500b0042ab586ea45si1949675qte.200.2024.01.30.09.14.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 09:14:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B5sVTDYc; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-45026-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45026-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 188C61C24E02 for ; Tue, 30 Jan 2024 17:14:58 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EA328129A7B; Tue, 30 Jan 2024 17:14:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="B5sVTDYc" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 173E126AC6; Tue, 30 Jan 2024 17:14:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706634891; cv=none; b=CBTmoLn44A5ejrzy99Wgg9U0mvM0MOQT9+UykzJiwxrUYyfyeF1nHqBXZuj6EMup1eNWLK1u5wb4ovUevLKlx7XE+Vw8ZAIXPT32r4joh7H6RkrFLfnZZgJn4lCsXaFpKuiVmlCQO9VflBLGzo3g0CXmq1n0RJqdR0ObgEKlDIs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706634891; c=relaxed/simple; bh=A5T8FP/fhIVtH/olVEw0tzShluBYACTWaf+iE7kNjHc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qrk7NrM89gE42QmOaElXCgtUllBsrRz6JlYZCvcBSdxAAWuAJ6CKrTQGZR1tw1UOW4FZ7jHkZTjG16uS+wDqe94U7hZhKAgVZl4p8FcG21cP/lCYL8S8Do5refGWkIhyK35rllyIuBNGY6DREq7fF4B9jRJSKOVKC8MvoViAFqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=B5sVTDYc; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC0B3C433C7; Tue, 30 Jan 2024 17:14:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706634890; bh=A5T8FP/fhIVtH/olVEw0tzShluBYACTWaf+iE7kNjHc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B5sVTDYcZYQd6secc+1JOjx11SzAr4mybLbcRDSte3T8Xi62OLzcth2fj04pGx37w SfdAaUIfYHZH44RnWaSeE9sFYUpJAVvbBDO1o42UR514TdkB7qJPRdy2etQ45uYCp6 DIKvVDpDFZohfFtwzm/tEAh30eyIsJHjeuts7GQ0PVks8OaC0jxNKjgm4tQXYFs9hz WaskVbC/gMNGEhjIWK5Ytt8jNaVc1+Ck49ELh5odrADWqEZb0B1IMltoNXWNuBjPo8 WmLTkMkGEXr3xmf7AVnWdDUD8uDtkj4AzA9k9SbGrVkMM2T+8RC3RXS4Vs3RYjQBSj MPdAOv5LpsXWQ== Date: Tue, 30 Jan 2024 22:44:46 +0530 From: Vinod Koul To: Manivannan Sadhasivam Cc: Bjorn Andersson , Konrad Dybcio , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , cros-qcom-dts-watchers@chromium.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 04/14] dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Fix the usage of aux clk Message-ID: References: <20240124-pcie-aux-clk-fix-v1-0-d8a4852b6ba6@linaro.org> <20240124-pcie-aux-clk-fix-v1-4-d8a4852b6ba6@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240124-pcie-aux-clk-fix-v1-4-d8a4852b6ba6@linaro.org> On 24-01-24, 13:06, Manivannan Sadhasivam wrote: > On some platforms, PHY block requires PCIE_PHY_AUX_CLK to be used when the > PCIe link enters L1SS state. On those platforms, a dedicated > PCIE_PHY_AUX_CLK is available from GCC. Other than this, the PHY block > doesn't require any other "aux" clock, including PCIE_AUX_CLK which only > required by the PCIe controller. > > Historically, the DTs of the platforms requiring "aux" clock passed > PCIE_PHY_AUX_CLK as "aux" clock. But over the period of time, platforms > that do not require this dedicated "aux" clock mistakenly started passing > the PCIE_AUX_CLK as the "aux" clock. More recently, SA8775P platform passed > both "aux" (PCIE_AUX_CLK) and "phy_aux" (PCIE_PHY_AUX_CLK) clocks. > > So to clean up this mess, let's remove the newly introduced "phy_aux" clock > and just use "aux" clock to supply PCIE_PHY_AUX_CLK for platforms that > require it. For the platforms that do not require a dedicated "aux" clock, > the clock is removed from DT. > > While at it, let's also define "qcom,sc7280-qmp-pcie-phy" compatible for > SC7280 SoC which was earlier using the compatible > "qcom,sm8250-qmp-gen3x2-pcie-phy" as the clock requirement has changed and > also restructure the "clock-names" property for the affected platforms. This one fails to apply for me -- ~Vinod