Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp955524rdb; Tue, 23 Jan 2024 23:32:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IHEqt1Vb6RkIfEB05YnQnC8zBXY/hq9t0N+9CrrogLpaji62q7+Xz/la9+kN94+xPSWDX2X X-Received: by 2002:a05:6e02:17cc:b0:35f:ea6b:cecd with SMTP id z12-20020a056e0217cc00b0035fea6bcecdmr1490142ilu.12.1706081548740; Tue, 23 Jan 2024 23:32:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706081548; cv=pass; d=google.com; s=arc-20160816; b=br/AF+Uc2ZfTVgAsXhrTLlOiBYKzfEnJ7lfp4YMpGGqZtbnNR6WwX1oTqy8tqbiye/ HeJ60MedudzMDBcDU6GSgL77vSzBXemiIk+Lf8BSCuIpRV4dQknGP4fhyz5bdYjYa22M r46a+T9e+pRPJuiCBdtPgI6vIxChsVJ6yngSFYAqCvMuYNu0y66Gibly1liTc5MZ7fzm QWXqvQmXWj4YXSCwG50NHscx/r6adKXrQZsuKmHJYM7bgOYgmIN2imO7cCaBtdMnaRpN mvgD1FqUHlKWly0qmpyv6u7mJ6oeb7aq/Fvnl4ND4nVhKStmbBHfUVVDQTZkIOiDeb2l 9p0A== 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=9qhi7rDRF0cWUpYj9d8zKSAemApOUEFIBYvIDnWZLpU=; fh=3dVR+J3BB3XLH52mZgR960YdR3VExbGDIBEomVypvRU=; b=FRKI5hu+SRi4rzCM7y8McqdZJqYiMzG8P9oBvfJFyowvnatze8zz6QuksGlXnw2LDC oJAzgt4PgLQc4MSdcClx4cqHa+VEZQ/ApJjLNMnefp87vRe6vgzJXtTgYH0Mb0b/dqsj avv5rhHZ5lMT3xJWoIQWA3br91AT6Yb8flNLRYZgs1dY8HOOrmod2bcGHrV+sHL9jMgL w9Rajykhr4EEQOnoHlQCfWyqc4OKYqA/NCUyk2pREmyzdKqDiJrlhS4i2B3yy3y4YZ/a KzyuisSxO2NyUdi7uQoWmniYt7zmgrQa2u+9JB3Uh3oKTWz0H4l4kXnu8Tol+LpUlaHx jUlA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mXtpTJvW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-36550-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36550-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o7-20020a656147000000b005bddb7249e0si10956222pgv.313.2024.01.23.23.32.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 23:32:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36550-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mXtpTJvW; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-36550-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36550-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id A2B5F281999 for ; Wed, 24 Jan 2024 07:31:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A840A168D8; Wed, 24 Jan 2024 07:31:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="mXtpTJvW" 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 C470A1643A; Wed, 24 Jan 2024 07:31:46 +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=1706081506; cv=none; b=JdXHcbV+A5bnohGfpoFhK2mvQSN/g8NKWGlfBLvj8w2VV1xt6JQiQGJRyLYKInslGTX91ZEhAgFfFYlYcOeWAPeTd3rUeVgf09Rf0rJc0xODeX9h+J7VDeprJkYlurIHrtYkKNU52WEpsoSlMlbu2dwj6LaN7sKHIINUlW6BjiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706081506; c=relaxed/simple; bh=Z5xkNjim3rqnsAkQGQ0id2z4IrLAeUuIm2Jfh85DiOc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SKJrM72AugW/LaVecgiy8k/o7iFKwiyz947k3hxO8FBKhF09Plf4W5VHFMIDSdBQVXvVADdnHoQAJvej8/DLvctkmRFDuFUjyfo3hGUCAkh51ZeCv0sreQF44hZ2wlDzZ1YJ6kS1dNLJgVuaNim2k2jA9ZlN7XfL8fPBNKPQQ7w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=mXtpTJvW; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 387DBC43390; Wed, 24 Jan 2024 07:31:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1706081506; bh=Z5xkNjim3rqnsAkQGQ0id2z4IrLAeUuIm2Jfh85DiOc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=mXtpTJvWYNG5rhMRLdzLnwj82B1bHgSPNTuWT7YmbnuS4AjeTYYtOxm9SKIPOxgCp f8MtpfN/qgF9Wf+ay3o+W8LGK2UbVRj77JFFDziPeB8lwAj1G2Ef4FR04hqfpmUQbA gUFolGmdfZ5ZMEMDA4NbZHF+m8j3k0J18aYHIAZ4YYLR7UkJ0bYiXv44ES0HhE2pIw 99fqRI3Trjdd2g2j7/xsvYYR+5HHihLMCrSfv0A2U0S6GIgXSJHZDBLjk5ZKCRhxPM RYBWgdzVvBJcnWaFjD89QOqWxlANl/DehjUWvRR9v3N0wEyTcWKtBrVDIQ2+G+1Dr1 e/9bE+lMuy4YA== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rSXjp-000000001Mm-43yo; Wed, 24 Jan 2024 08:31:58 +0100 Date: Wed, 24 Jan 2024 08:31:57 +0100 From: Johan Hovold To: Manivannan Sadhasivam Cc: Konrad Dybcio , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Johan Hovold , Marijn Suijten , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Konrad Dybcio Subject: Re: [PATCH 1/3] arm64: dts: qcom: sc8280xp: Fix PCIe PHY power-domains Message-ID: References: <20231227-topic-8280_pcie_dts-v1-0-13d12b1698ff@linaro.org> <20231227-topic-8280_pcie_dts-v1-1-13d12b1698ff@linaro.org> <20231229170334.GA9098@thinkpad> <20240122172528.GE3176@thinkpad> <20240123170614.GH19029@thinkpad> 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: <20240123170614.GH19029@thinkpad> On Tue, Jan 23, 2024 at 10:36:14PM +0530, Manivannan Sadhasivam wrote: > On Mon, Jan 22, 2024 at 06:36:51PM +0100, Johan Hovold wrote: > Ok. I tested by enabling the PHY clocks during qmp_pcie_clk_init() without > PCIE_GDSC. It worked for one instance of the PHY which doesn't have > PCIE_PHY_AUX_CLK, but for the PHY instance with this clock, I saw the same "clk > stuck" issue. Then checking the internal documentation revealed that this clock > needs PCIE_GDSC to become functional >.< > > So to conclude, PCIE_AUX_CLK belongs to the controller and it needs GDSC. And > PCIE_PHY_AUX_CLK belongs to the PHY and it also needs GDSC. > > I will just submit a series to remove the PCIE_AUX_CLK from PHY nodes. Then > in another series, I'll remove the GDSC for PHY instances that do not require > PCIE_PHY_AUX_CLK. Sounds good, thanks. Johan