Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp4528825rdb; Fri, 29 Dec 2023 05:08:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvfeDGkLwRp5X527S+BbHxZoaoKV/EA2zdFhQnGKUxn+5Vbui7PEndvUo7W9r3HrgraRxe X-Received: by 2002:a05:6a00:2da8:b0:6d9:b082:b8f0 with SMTP id fb40-20020a056a002da800b006d9b082b8f0mr9759445pfb.66.1703855319436; Fri, 29 Dec 2023 05:08:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703855319; cv=none; d=google.com; s=arc-20160816; b=TSyrbLalJxnqj9w721Exiv4svPauwP5nl/BVdFVsJ5lwDS/B4NxzyRdOvpnt+mnBXd giLbf8L2WhHOykxGV9Lyane6ripUQAbjInN1qfOwGFN5uMtRiaDr8vfgmdH68xR9ldGe EwvqNZa0Uk+8kgKRQenIDM/bVZMQxxVCmeEUYAK4UijtQXQTvvOKmvZo7cLhoooMMqK5 2ZKijyYJ1Z1a3meUemE7sjUOVaAeH1fKO7lV0Hvb8vkuYn6oZhRSJXZaxXQYPNYau/gd CZTP5a/xxiIEU15Rmui4Q4304mOdeMvk6GSU73uoA52OehHjisMQ8z8MY07XjxsRBw9u 2keA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=dSWeTiMkwsfQEJmoJjotnLlqP/j1o0llUk3wvmIF5M0=; fh=yFaMhtMEgw/IjbkrDvElmx40WVBlwNNk8OTwBz5XfsU=; b=RTR+4HjXoGQ5ZudyRSUd5C/AyrHll28mBPMD6o6tjOT2cLqw0m7kK/wmIjgsNSNK7T Rlm2gpQW9FclgLJOVCdWslemrRABFztVRp22emVSmIsUWqZuIeicZpK21FN16MwPjm10 87slFPmgv0cReD5JktzCkm8cxrCDXxTp619FmRofTnjUQvtRVDecNIX6MnLWVuTQNeDO d3ev3vSOsykna2yUDpJ0E947DvluY7Oc7BPK3SQJGhI/Xdz1bwU9p8QFEZz0YUwB/7bx 5IXTicOEusTQiyOVmw5fCqNCfBdG4TCKxtBd/QYfFfC2vrr9EG0J51CpaGUFcprCh9xP KX3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wYnc3AKR; spf=pass (google.com: domain of linux-kernel+bounces-13093-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 e20-20020a63d954000000b005cd85efe518si14544359pgj.584.2023.12.29.05.08.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 05:08:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-13093-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=@linaro.org header.s=google header.b=wYnc3AKR; spf=pass (google.com: domain of linux-kernel+bounces-13093-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-13093-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 1A141282B5B for ; Fri, 29 Dec 2023 13:08:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EA281170A; Fri, 29 Dec 2023 13:08:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="wYnc3AKR" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 27B4611705 for ; Fri, 29 Dec 2023 13:08:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-5555b8de81fso2391147a12.1 for ; Fri, 29 Dec 2023 05:08:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703855308; x=1704460108; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dSWeTiMkwsfQEJmoJjotnLlqP/j1o0llUk3wvmIF5M0=; b=wYnc3AKR3GnxO9rSqe58sUSaluGDT6A3DmCADtApfi2cNTZCkGmP1v6kGyI7GCaVub cdBDE13vOj7hiPR8LRMYKI9aKrjhvtyBZka4+iRUldCz4nl9dvfFUa+I45Y80ngSKE83 hB4Z3iYJSnC+xp0fcjhsrSEORsq6PBx6pAvymDmbIOB1+HBepDnGdcKeRPZzH5MN+sKU pGaa2Uu1ym2HwGQ62fiPnt+0LUIL/ZUEUTKyMNyVkZqpNWB//GfvvLfcGNI9lOXB7KYx LgTvoPYPLhjyR+rPsqy7M76rl9v39j7JryAleUouWw/oycPAFE4opII2zwA5s5RW5zUZ +ypQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703855308; x=1704460108; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dSWeTiMkwsfQEJmoJjotnLlqP/j1o0llUk3wvmIF5M0=; b=PttXCt6ML2dU58tN5+qLaLMOCmLZNhkHDOSh7xBQd54anJC17D4CI3lV4shr9DtOZ8 lgGwNHMwpivjSarwYRaSspMtY+ppDEoC1i0VM+spAfaZX3bCEuIq9pM3kMiwGJd8Z421 S1R0bNedmNamyDvJSkMBM8f71RQ2NQ9lQmb1a8c1zuBQN3XN6DWEfH7fA/MBAVVRH1ui 38T7mK3QTXnx8+ILZvJMruZC/0Hcwo4eeXjApwXcwYg5EJqN4L9udXNKNL6SU8+8dhcD PfGh6gqjVk2CzU+JXvNcjUFeSWJa9d0slpZWTsR30Tcv2FqayHgIC+jrsRCU7bQjSS1V UtPw== X-Gm-Message-State: AOJu0YzGiBeywyJEB6llT0UgMcruOs9B41eBh0KUQSi3AfWIrq9GxnqV Dp/eW4+WnLjFwSKX5sWlGzNSYn0A46/5Ig== X-Received: by 2002:a50:8745:0:b0:553:f06d:3aae with SMTP id 5-20020a508745000000b00553f06d3aaemr992725edv.45.1703855308479; Fri, 29 Dec 2023 05:08:28 -0800 (PST) Received: from [192.168.199.125] (178235179036.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.36]) by smtp.gmail.com with ESMTPSA id p2-20020a056402500200b0055338547cc1sm11059927eda.70.2023.12.29.05.08.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Dec 2023 05:08:28 -0800 (PST) Message-ID: Date: Fri, 29 Dec 2023 14:08:25 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/3] arm64: dts: qcom: sc8280xp: Fix PCIe PHY power-domains Content-Language: en-US To: Johan Hovold Cc: 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 References: <20231227-topic-8280_pcie_dts-v1-0-13d12b1698ff@linaro.org> <20231227-topic-8280_pcie_dts-v1-1-13d12b1698ff@linaro.org> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw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RHsalwQCrtq/1ewQpMpsRxXzAjgfRN jc4tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 29.12.2023 12:24, Johan Hovold wrote: > On Wed, Dec 27, 2023 at 11:28:26PM +0100, Konrad Dybcio wrote: >> The PCIe GDSCs are only related to the RCs. The PCIe PHYs on the other >> hand, are powered by VDD_MX and their specific VDDA_PHY/PLL regulators. > > No, that does not seem to be entirely correct. I added the power-domains > here precisely because they were needed to enable the PHYs. > > This is something I stumbled over when trying to figure out how to > add support for the second lane pair (i.e. four-lane mode), and I just > went back and confirmed that this is still the case. > > If you try to enable one of these PHYs without the corresponding GDSC > being enabled, you end up with: > > [ 37.709324] ------------[ cut here ]------------ > [ 37.718196] gcc_pcie_3b_aux_clk status stuck at 'off' > [ 37.718205] WARNING: CPU: 4 PID: 482 at drivers/clk/qcom/clk-branch.c:86 clk_branch_wait+0x144/0x15c > > Now, you may or may not want to describe the above in the devicetree, > but this makes it sound like you're trying to work around an issue with > the current Linux implementation. Could you please recheck this with patch 1 from [1] applied? Konrad [1] https://lore.kernel.org/linux-arm-msm/20231227-topic-8280_pcie-v1-1-095491baf9e4@linaro.org/T/#u