Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1011122rwd; Tue, 16 May 2023 10:28:05 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KMJ22R10z8fFx2ffQPymcWWXlBFVDZ/OxDstdnUDt4Y3TDp8M9B0ysXSCG9jTd37wk//+ X-Received: by 2002:a05:6a20:549c:b0:102:6b0:a648 with SMTP id i28-20020a056a20549c00b0010206b0a648mr28891711pzk.4.1684258084990; Tue, 16 May 2023 10:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684258084; cv=none; d=google.com; s=arc-20160816; b=eVnJ+PQrTffuQiXfhNGEO3VHbtYz+dX1GetFVZlFGV4m3guWe6VTs+vnlhVdmNg1ac /yhyuVzaEz5fP+yNnJbbrFeGrjHNHRofs0oMUlWdDaM3FJPEILWTRMSWay5/dzQyO7jh ofMWBwrUUdTgByjUGmVh9jwm3p0lkFZvGbaqM+104acVBrOCIH5/jUl4VIVB2h/ILJ4R vEZ2wFGQCGJDNLPyhnI4HckcAsQFKnWzSw092iKZkDGNGVhy/hQjo93FfZcG1y3y8UWA jwCze5lH0+v5v2sBouto6xezMNngIgHswRxX56uyJuqT/woNzM2ZQ4DJjX86qnVaiwIe xRZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ukVhfKT0mgHG11lGn0vYg1p+mBZBetpSLxzQrrq4sCI=; b=hjAhBbBT3hntEcNNaIc8qDnob8BRDqelAHH6FVGU00+fTyJwKhZ1DJUcgS3tW2hINC eoOORajE72gS9Ut5wd0uGaXRoKUAF1cx0a7A7EoXj5RWOOAAivKcfvMcvB6oClfhl8+T 2NpGSHA7NroPTBbLoV8TnUAWv4EHO06LkpGhPOqdoRJntrnSDVUvKk8K9jK3S92wVLoX nKn+S03Y82Ii9bxzaRiPS7oi7WfWC7gd/qTISmhQainHQ4PxQyOI7rFurMmAqyZyC9Vx Xv3hBe9PTrlAmvQTwcim6ZSVmDKl5jRSbCNcAsNrSZSLytKRnjzgcbsl/c2Wbzf3H9CS qIzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qKixGlL5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a62cf05000000b0063a149e3c85si19488979pfg.401.2023.05.16.10.27.51; Tue, 16 May 2023 10:28:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qKixGlL5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229665AbjEPRPa (ORCPT + 99 others); Tue, 16 May 2023 13:15:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbjEPRP3 (ORCPT ); Tue, 16 May 2023 13:15:29 -0400 Received: from mail-yb1-xb31.google.com (mail-yb1-xb31.google.com [IPv6:2607:f8b0:4864:20::b31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08ADA7D8C for ; Tue, 16 May 2023 10:15:28 -0700 (PDT) Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-ba1815e12efso12473098276.3 for ; Tue, 16 May 2023 10:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1684257327; x=1686849327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ukVhfKT0mgHG11lGn0vYg1p+mBZBetpSLxzQrrq4sCI=; b=qKixGlL5+nxj7tkgi3LANSRTBXsdGbOzI2FobrZdmUaJ0AsQkwmHHkBdbQ9aL+XR8E BH9kbJDvGKbDACU861FInxJoKsdjDKZZsVca6ugKf2+uvsXU0AZh053tfBfMsotsspKl STGsKM4tqgFt/w9doDR0BK15waVcb16bkFqhELEui25F3rRYsRXmcKKnH4OVaLRun7L5 LAins/6qDaMFg4vBs46HUDdZchMDsdHldzkc0kdCo+7IT1dCGm+fsnuuW8b6Cgr3A24a p2xA67TCKRvZ3u1OPwSEqnWiuq+81xLapggYccLTL8zAWYvajIAXEqQMAsE4sNKt0jLM AqLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684257327; x=1686849327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ukVhfKT0mgHG11lGn0vYg1p+mBZBetpSLxzQrrq4sCI=; b=LH8rZjYm5SYxaT/GZtYkti/haHlwSl36sl7iEoIGiLFE/TZkIfcs42Frxj9dcpjoEA wXBYsmmtR2P7gIE4SNuXq0QNZi5GhoD55Ax6IRMm0qr/XOGVfxEl4zPhzhcYpQ3K4Q+Q 7YnhJJB+ENKxw2O+qphl1y72E6AdlNNQbzhBXi5uokoQNZCnqscpuXU8APNK24g3vviq XCg4//7MouRoqnnt1zzqXtkZJ8CCc5pOcJPcZlJaWE4FlF2lAHm5QNYRxS3ABpcLC5qp 9KVrIbGEMaYmKF4WkVpnhkX6WAYTiIyBIPTMXQDvzxsTkYdl3JtTp1prgKv41F16WoS/ hKPQ== X-Gm-Message-State: AC+VfDxJt02COLmI/6ct7DUORb8Z+GOeO/KiCiwHvgZqbw/nVYdKsZ3M VIEZigYd1JKuaXQ6WAGB+mgaTsTFkQrUJXa61srG0A== X-Received: by 2002:a25:5344:0:b0:ba8:a3b:8e12 with SMTP id h65-20020a255344000000b00ba80a3b8e12mr2862948ybb.42.1684257327196; Tue, 16 May 2023 10:15:27 -0700 (PDT) MIME-Version: 1.0 References: <20230516133011.108093-1-krzysztof.kozlowski@linaro.org> <2e6f282c-33d9-7f96-0338-c4fd457d04fa@linaro.org> In-Reply-To: <2e6f282c-33d9-7f96-0338-c4fd457d04fa@linaro.org> From: Dmitry Baryshkov Date: Tue, 16 May 2023 20:15:16 +0300 Message-ID: Subject: Re: [PATCH 1/2] arm64: dts: qcom: sm8550-qrd: add PCIe0 To: Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 May 2023 at 19:43, Krzysztof Kozlowski wrote: > > On 16/05/2023 18:39, Dmitry Baryshkov wrote: > > On Tue, 16 May 2023 at 16:30, Krzysztof Kozlowski > > wrote: > >> > >> Add PCIe0 nodes used with WCN7851 device. The PCIe1 is not connected, > >> thus skip pcie_1_phy_aux_clk input clock to GCC. > >> > >> Signed-off-by: Krzysztof Kozlowski > >> --- > >> arch/arm64/boot/dts/qcom/sm8550-qrd.dts | 32 +++++++++++++++++++++++++ > >> 1 file changed, 32 insertions(+) > >> > >> diff --git a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > >> index ccc58e6b45bd..e7a2bc5d788b 100644 > >> --- a/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > >> +++ b/arch/arm64/boot/dts/qcom/sm8550-qrd.dts > >> @@ -385,6 +385,38 @@ vreg_l3g_1p2: ldo3 { > >> }; > >> }; > >> > >> +&gcc { > >> + clocks = <&bi_tcxo_div2>, <&sleep_clk>, > >> + <&pcie0_phy>, > >> + <&pcie1_phy>, > >> + <0>, > >> + <&ufs_mem_phy 0>, > >> + <&ufs_mem_phy 1>, > >> + <&ufs_mem_phy 2>, > >> + <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>; > >> +}; > > > > Is there any reason to disable the PCIe1 PHY AUX clock here? I mean, > > the PCIe1 is still enabled in the hardware. > > I was thinking about this. The AUX clock seems to be an external clock, > although I could not find it in schematics. I assume that on QRD8550 it > could be missing, if it is really external. OTOH, downstream DTS did not > seem to care... I might be completely wrong here, but I think that AUX clock is yet another clock provided by the PHY to the GCC, which we were just ignoring for now. For example, for sm8450 we have <0> there. I don't see it as an external clock, so I think it is internal to the SoC. -- With best wishes Dmitry