Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp656242rwb; Wed, 16 Nov 2022 06:06:42 -0800 (PST) X-Google-Smtp-Source: AA0mqf4TKtMChJSmfNvnn/1mSJYvVjDYUut6dNx1rWsQF4QnIhXqzzBy4n76XVjY4BKTE+N1vb5D X-Received: by 2002:aa7:9af7:0:b0:56c:b5fc:9167 with SMTP id y23-20020aa79af7000000b0056cb5fc9167mr23268462pfp.40.1668607601940; Wed, 16 Nov 2022 06:06:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668607601; cv=none; d=google.com; s=arc-20160816; b=xrTgGVgaJGHSy1aW4oHxxeGrsTfPc5LDbfJSSu/wrOkzAJgNasVWd1p7ECTa0tDfpz sxU3hkT4xMYkDT0lOgMwDERmXPk+ko/5apy2LtZhKD4YLDZcwgOOjSIFM5a3EaL5NPZJ hsYP3YV8V167Q8hxFdQk/WtfFU7rfyO+SL2WqqmD5osVpibMpAKSqJdGJJ03MwTJdkHg CV7TNAFXfiC7AtMVk8n9nIwraz3/DsVA22Y74exR7el5/H1ZqUyTlxfIMAQMPQd11QNf 8a2hIh6ZZtY1sXLdHpC99PtTEs0Fsy9W154P/YEjxooW59yPseoB4AgG3ANcTiJjm4X+ hotg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=6nFImyqcjOCw0VPGt4sM3tOy2kTrCbLPrbHyGVMhwtU=; b=Yc1hh0ay+S66ZpoxdfvQrcIq1LznmEycU6nL8bsHCF8H9+TIJwI1E5WamGS0IpeXRa xx5uWigVNXd8zjbfcoLA9Z/7BIr0UIIWyKAsfJoElwz7R1z31svCQdzOEk9OstyEX+dd rmpRTb+DfUoHHcVGU0OhNu3Ud6GunPr6rIZNvMXNXscCigoxGyPgsTmIWvkIAoKpNBTn 0XvtXpR5TW82/WhyHZ6hRFvNCPjHQ006oi+MxfIiS4m+B8utp8tIm5F5td+FjMdjxpmT Ucd4IDtVLK8A+SAPHnmLpO+QH0ijQMNwacjp9K3KoqiIMpboVm4XjTeN+heGC+XRH+Ib higw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IElGtUKf; 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 w7-20020a170902e88700b00176a2d5ae14si16463666plg.363.2022.11.16.06.06.09; Wed, 16 Nov 2022 06:06:41 -0800 (PST) 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=IElGtUKf; 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 S232714AbiKPNDA (ORCPT + 91 others); Wed, 16 Nov 2022 08:03:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229785AbiKPNC6 (ORCPT ); Wed, 16 Nov 2022 08:02:58 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FA429FFA for ; Wed, 16 Nov 2022 05:02:57 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id s8so12234957lfc.8 for ; Wed, 16 Nov 2022 05:02:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=6nFImyqcjOCw0VPGt4sM3tOy2kTrCbLPrbHyGVMhwtU=; b=IElGtUKfWsETwq7XYWaSaFYsjCaNOE6bA7mNckgqHVfZvqPotujU9CCPPMMCyEO6L3 3yaoOGxAAMXPg15J44rMU9G3wCInMNhvs68nBoaEvSmuAuvlyedSuqOfYYqM64dYLyZJ NWeeYz/MeTYj7EpYnBfqosVV/kajQ3xmBnLJNTphmlDgDw+5oMxzIaMPRxoB0R6b2MUC xI6OirpvcBQCrSDYBeDgnXQVIdJaI3b48wykYi+16A4Ii4+Rt2TBiW4Ah7LLM/mVbM34 79dTUx4oyOS0oA+KQLtWiorNnHQ4vbXwgu+OR2pMfMIbcudxl+KRkuLcpSVlevIHwXIU l7Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to: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=6nFImyqcjOCw0VPGt4sM3tOy2kTrCbLPrbHyGVMhwtU=; b=OzDU3S3J3PJK8cNOED9XBwwtIsEIEhbsUtRDRjx7EgoS6pRfwKOwCnEelqProADcIw rW9w2IoEIBpRO2Ww/ciy2i+YfhDdonZr37GNvWoN8cb7DurN4cTrEq1fQgafL79aOtKD CuOe50D4Z4a+GVO8dAcZ69ecAR4nmIbD5pjqnaNrPE83qECsDdsbmDRuHnXg82Akds9M AbMz2F4015+JzTvRTOoA/Fo0VzQ6/1LG2q62jsJ5JeANN0RaU/k8N9pqEAJGHfsm3+Ol FjO5SrfewfcPxn0SWKbPsQdK3OwuQN801Qm7av27ei08I2IKhzMUzG9ulAUcdaDVmgT6 VSjA== X-Gm-Message-State: ANoB5pmVbNAlWsugcI1vHw01zYAVXjrNiI7A4ouprNnJ/dBdtWZ/Xbxe wKo4l5HfyVang9014BUULh6iOg== X-Received: by 2002:a05:6512:1398:b0:4b1:df29:b9ee with SMTP id p24-20020a056512139800b004b1df29b9eemr7695595lfa.160.1668603775702; Wed, 16 Nov 2022 05:02:55 -0800 (PST) Received: from [192.168.0.20] (088156142067.dynamic-2-waw-k-3-2-0.vectranet.pl. [88.156.142.67]) by smtp.gmail.com with ESMTPSA id f16-20020a05651c02d000b0027708c94c9bsm2976409ljo.79.2022.11.16.05.02.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Nov 2022 05:02:55 -0800 (PST) Message-ID: <79d783a0-b9cc-9093-6f76-0d50b9b81247@linaro.org> Date: Wed, 16 Nov 2022 14:02:53 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 1/2] dt-bindings: PCI: qcom: Add SM8550 to binding Content-Language: en-US To: Abel Vesa , Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Manivannan Sadhasivam , Lorenzo Pieralisi , Rob Herring , kw@linux.com, Krzysztof Kozlowski Cc: Linux Kernel Mailing List , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org References: <20221116123505.2760397-1-abel.vesa@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20221116123505.2760397-1-abel.vesa@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 16/11/2022 13:35, Abel Vesa wrote: > Add the SM8550 platform to the binding. Subject: Drop redundant, second "binding" > > Signed-off-by: Abel Vesa > --- > .../devicetree/bindings/pci/qcom,pcie.yaml | 96 +++++++++++++++++++ > 1 file changed, 96 insertions(+) > > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > index 54f07852d279..efa01a8411c4 100644 > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > @@ -34,6 +34,8 @@ properties: > - qcom,pcie-sm8250 > - qcom,pcie-sm8450-pcie0 > - qcom,pcie-sm8450-pcie1 > + - qcom,pcie-sm8550-pcie0 > + - qcom,pcie-sm8550-pcie1 I am not sure what's the benefit of encoding arbitrary IDs to compatible just to differentiate by clocks. The devices are basically the same, so compatible should be the same. > - qcom,pcie-ipq6018 > > reg: > @@ -92,6 +94,10 @@ properties: > power-domains: > maxItems: 1 > > + enable-gpios: > + description: GPIO controlled connection to ENABLE# signal > + maxItems: 1 Does not look like used property... > + > perst-gpios: > description: GPIO controlled connection to PERST# signal > maxItems: 1 > @@ -187,6 +193,8 @@ allOf: > - qcom,pcie-sm8250 > - qcom,pcie-sm8450-pcie0 > - qcom,pcie-sm8450-pcie1 > + - qcom,pcie-sm8550-pcie0 > + - qcom,pcie-sm8550-pcie1 > then: > properties: > reg: > @@ -601,6 +609,92 @@ allOf: > items: > - const: pci # PCIe core reset > > + - if: > + properties: > + compatible: > + contains: > + enum: > + - qcom,pcie-sm8550-pcie0 > + then: > + properties: > + clocks: > + minItems: 11 > + maxItems: 11 > + clock-names: > + items: > + - const: pipe # PIPE clock > + - const: pipe_mux # PIPE MUX > + - const: phy_pipe # PIPE output clock > + - const: ref # REFERENCE 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: ddrss_sf_tbu # PCIe SF TBU clock > + - const: aggre0 # Aggre NoC PCIe0 AXI clock > + interconnects: > + maxItems: 1 > + interconnect-names: > + const: icc_path Keep existing pattern of allOf:if:then or change entire file to a different style. Best regards, Krzysztof