Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2260162rdb; Fri, 8 Dec 2023 03:09:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHUHLzO/5R1sN/5eMaNpspZM6m4Q/lLBXG74q+z4fEod6sfFsNLd3WtTEUqWltwWJLsJGq X-Received: by 2002:a05:6358:9047:b0:16f:ebce:8126 with SMTP id f7-20020a056358904700b0016febce8126mr5286523rwf.19.1702033799207; Fri, 08 Dec 2023 03:09:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702033799; cv=none; d=google.com; s=arc-20160816; b=nj3LjmrwnLkQ6bOUJUkmTN8aQJNXTzg0pileZXoSy1yxgaD1xKE5ETUgavRF9VMQYu Fp2PsDASoRh/SWcgLgp0jjwaqx9DRQzyHk/xM8KtRDyZVRIyn3SZP5Brr0b5NLmdo0Jz zf/XSm1bAL/31iN5cxHJUXg6yOZWBFCfvecbmA0aoUbbO71DVw6b2kFQ3kp8/l2/+B83 9m2tkDQehjwSDnmalcJbGtL1aqbiWVOVavKeAZQOrUzHvobnm9zA4duvW9uBe0whEyc/ Zt4QcWD2NwLbE4z5G25FSrnOS2j/ix97qXi9xgbbplrkMMpyqbpwD0YNz1pPlPo9qmCt q9Uw== 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=W+6I4hiDdnv4ZiBUCigpUef8rfkBrmTbuDLH13/aZAU=; fh=c19BF1Kx5tWoO2Ca1FOL5f0s46VmjRFR07/xXoeJSTU=; b=VOj8sPI70z+Aa/azlR5IpUrvfYd4Gd+iU3tCMFCQtGlAOUJoPF66aFC4NAcoELKREV Kcvjz6pnmKLcM/IZHyIEoFl2MBUMfidv8eViwhqHFfS2m/IGF/2ZaMHOSAB8jw3k34ar YwsdPMEoS48PsT4Ngdsi4TsKjFpuWojZJ1HMH5iFrWiV50yxIOT88+I8bx/4CUQLpGms moqN6NsKMyIPW3KzAWohammpHQscEmDBp1FNIEZEwhXX7fFvT1oeRgVAkVb6ukPBztSm fTEaOMyQHqYyEM8z1Ie06csXTiSydTflkVs5RBglZ2BsGSDV4twH8arXIPVma6O7JbYg cH9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x1ehbaEm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id d3-20020a056a0010c300b006bd360e70edsi1400854pfu.103.2023.12.08.03.09.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 03:09:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=x1ehbaEm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 516788114EE7; Fri, 8 Dec 2023 03:09:56 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573709AbjLHLJd (ORCPT + 99 others); Fri, 8 Dec 2023 06:09:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231828AbjLHLJc (ORCPT ); Fri, 8 Dec 2023 06:09:32 -0500 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 69110F1 for ; Fri, 8 Dec 2023 03:09:38 -0800 (PST) Received: by mail-yb1-xb31.google.com with SMTP id 3f1490d57ef6-db5311eab29so2066052276.3 for ; Fri, 08 Dec 2023 03:09:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702033777; x=1702638577; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=W+6I4hiDdnv4ZiBUCigpUef8rfkBrmTbuDLH13/aZAU=; b=x1ehbaEm2VR3cEpsz//L5GD9Egd8PhH/A1pQJIzXcgwPRRM13akb9jBGu17FDjbyZk DRtKI6Fk3aqQZzZT/9GUFEPwKT5jyDqiY52f5DSuMeohd8h77PwAQ6rgUCVq4jNC6ClO BqemzQNalICjVO6KQ72OfbHSioFOQ33fiGIgVHYU7YJIrgJDwLSYaIhgkh5JAUyOmdJS fDE3HS6D+QusAUAgnevMYNyZTinUrzMIvqww6NPAeaxpHohqXJEiLHsbUZpLdPO1Z31s vqqLLEBaShVaEBMk3AaQR6nwSivd5yM74/ZtJ+Is9KLE7msd92VRyAPjwNZKZqaNlxQF eSNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702033777; x=1702638577; 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=W+6I4hiDdnv4ZiBUCigpUef8rfkBrmTbuDLH13/aZAU=; b=VN1Hf8lBDQo6oWUM3vgnvbwtatA9MMlgiGgA+6H+r1es3Aiza1hBwXBc/Z5fZgY/DQ ELgFbDbZmjW2m3jyXDJNlpPmkgbE9NVcBhR6ILkl06xH1r1OozN06h1MBAQiuQN5JhZk topc5FUrOuS14rv0RK1VWuzqPGMQrS9LWVrFbGZX9SsnbEHDSiR1TKWlKFuYHOBN14Kb oJXYA98MuHag6wgTLIY1l1L4eNDXI7F53jmJexebSr91OpSXv+ouhCYNKKWrZnZgPImT itlmSYoBzl+wp3pgu1+nnUm6DMDM/AHC9CDikP4RWENa/Hoel8DxMMXnBinep0uMopP1 bEOA== X-Gm-Message-State: AOJu0Yx323kGBoNjf36eLW/m3Ouj/t4bUXyPJsxB2/gCG0p5EXF0BcQn 3TyoMS8IUuHnZaw4Hw/hFlvLeidjE+ye2Y+3400lsA== X-Received: by 2002:a25:bfc2:0:b0:db7:dacf:6209 with SMTP id q2-20020a25bfc2000000b00db7dacf6209mr3461261ybm.91.1702033777658; Fri, 08 Dec 2023 03:09:37 -0800 (PST) MIME-Version: 1.0 References: <20231208105155.36097-1-krzysztof.kozlowski@linaro.org> <20231208105155.36097-3-krzysztof.kozlowski@linaro.org> In-Reply-To: <20231208105155.36097-3-krzysztof.kozlowski@linaro.org> From: Dmitry Baryshkov Date: Fri, 8 Dec 2023 13:09:26 +0200 Message-ID: Subject: Re: [PATCH v3 3/4] dt-bindings: PCI: qcom: correct clocks for SM8150 To: Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 08 Dec 2023 03:09:56 -0800 (PST) On Fri, 8 Dec 2023 at 12:52, Krzysztof Kozlowski wrote: > > PCI node in Qualcomm SM8150 should have exactly 8 clocks, including the > ref clock. > > Suggested-by: Manivannan Sadhasivam > Signed-off-by: Krzysztof Kozlowski > > --- > > Please take the patch via PCI tree. > > Changes in v3: > 1. New patch: Split from sc8180x change. > 2. Add refclk as explained here: > https://lore.kernel.org/all/20231121065440.GB3315@thinkpad/ > --- > .../devicetree/bindings/pci/qcom,pcie.yaml | 26 +++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > index 5214bf7a9045..a93ab3b54066 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > @@ -559,6 +559,32 @@ allOf: > contains: > enum: > - qcom,pcie-sm8150 > + then: > + properties: > + clocks: > + minItems: 8 > + maxItems: 8 > + clock-names: > + items: > + - const: pipe # PIPE clock > + - const: aux # Auxiliary clock > + - const: cfg # Configuration clock > + - const: bus_master # Master AXI clock > + - const: bus_slave # Slave AXI clock > + - const: slave_q2a # Slave Q2A clock > + - const: tbu # PCIe TBU clock > + - const: ref # REFERENCE clock Can we change the order of the tbu and ref clocks and fold this into the sc810x case? > + resets: > + maxItems: 1 > + reset-names: > + items: > + - const: pci # PCIe core reset > + > + - if: > + properties: > + compatible: > + contains: > + enum: > - qcom,pcie-sm8250 > then: > oneOf: > -- > 2.34.1 > > -- With best wishes Dmitry