Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2184226rwi; Fri, 21 Oct 2022 00:19:01 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7OZpV/p0CaEBrsohl/Ll/jlA3WTn2AkBW/P2zuI10+96cBPyTvqjVdBKPxpKkdHLRGcQvr X-Received: by 2002:a17:906:fe46:b0:73d:939a:ec99 with SMTP id wz6-20020a170906fe4600b0073d939aec99mr14481217ejb.169.1666336730915; Fri, 21 Oct 2022 00:18:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666336730; cv=none; d=google.com; s=arc-20160816; b=PIP+502lm4a8YD2Ntws9G0XMOvv+CPfWMt5OpeyHfXOABdG29RGPct8dBzwqH1m4+9 JYnlNNq9o4Pk0AuaHaFunjU4fRNRgLU0E85xc4cPE83IeYBZZxOumEgwUXVekJsR/xYr ceQ5MXeNJPAqbDUs8LtsIAhy4EnS9Js68IyVTUXcnFVbp0zScPnDRhsovx/5LMNOKNJz n+X7u5Q1O89pimJFufocq/NEV9LnEVnN58wghijrOilJvcy65lpsRCMwKrqGtRmvs5Dn 4WqCtbxgk0rOxdP35z8GfJY5nNvRzYrhBVjTqM+yxMV+3qgo28FiGJ46k7viXcD5DOyp ib1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XHwUfgwASZ3I5DHQkt0GUv1v6FcOnh/pVibtVcrU3Mo=; b=CrdaHgwVAbeGKS0PtyDBaf+6yd0hCP0YsBmk+lrYfWRYhGEBJU+4tpt/zipwz2cIuH UvK8gt7haMYjTdXumJb0/IEHuVzQcSIx8LTZTRo3zIfixRuv5276PRGj8/fvE/jRsyRb kEEM9S4bxfe65KfkECFt5gA9gfdwDng/Bo8aQezszWoSPROQbq76vFRLS+VFfBbh95UT hTXZMRt2NYRiwyqDmdeGsa2wpZt9u806D292KbVUZuH94VwEo1OcL0/tUG2JoZjXPq/i NwxgchJblItI5pmRHfR6eVOPkWOujkloDk3a8XNGVbLwvP9aUT8PWrQzlN6Jp/+d9WT4 6jSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="R9ROaxc/"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xg11-20020a170907320b00b00741a0c28f07si15439381ejb.943.2022.10.21.00.18.24; Fri, 21 Oct 2022 00:18:50 -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=@kernel.org header.s=k20201202 header.b="R9ROaxc/"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230186AbiJUGsC (ORCPT + 99 others); Fri, 21 Oct 2022 02:48:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230077AbiJUGrw (ORCPT ); Fri, 21 Oct 2022 02:47:52 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 384202413F4; Thu, 20 Oct 2022 23:47:49 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8C40F61B39; Fri, 21 Oct 2022 06:47:48 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE015C433D6; Fri, 21 Oct 2022 06:47:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1666334867; bh=L2kl6xZZIoArZEtrdl2/F173ECwVvHETksPU21qwgRE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=R9ROaxc/KwLiIIiAAjv30f0ccyVD3IU4x6k9l5AzwnZ6eLV/ylJafIDqZp1SrBZrG 38yDMWOZNchG8nhG1Eu+moNdFWqX+iCN2FU/p8tHdB9VFGC65ICdsFdAEFizjDEh7n Zn8fQG8UFM/QtS3PngMFsGaPteqcc0sFOPBwHi4tDz+86kSbRJUwchP8zQFpxHGL1O jWpqhW5n+eve6zCxNYHYdKLYX28yXtB70ym3bFnh+ZKY7PFuK3hh/mC+2TIF/0hFLQ 6O47P9Te13+XISMhuGziVy6VUimDWAag2trAF+Yijtkd1sJx251xmQitpSANjTEP3R un1YWzKHdzlSg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1olloc-0001fU-D5; Fri, 21 Oct 2022 08:47:34 +0200 From: Johan Hovold To: Stanimir Varbanov , Lorenzo Pieralisi Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Manivannan Sadhasivam , Krishna chaitanya chundru , quic_vbadigan@quicinc.com, Brian Masney , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v2 1/2] dt-bindings: PCI: qcom: Add SC8280XP/SA8540P interconnects Date: Fri, 21 Oct 2022 08:46:15 +0200 Message-Id: <20221021064616.6380-2-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221021064616.6380-1-johan+linaro@kernel.org> References: <20221021064616.6380-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Add the missing SC8280XP/SA8540P "pcie-mem" and "cpu-pcie" interconnect paths to the bindings. Fixes: 76d777ae045e ("dt-bindings: PCI: qcom: Add SC8280XP to binding") Fixes: 76c4207f4085 ("dt-bindings: PCI: qcom: Add SA8540P to binding") Signed-off-by: Johan Hovold --- .../devicetree/bindings/pci/qcom,pcie.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 54f07852d279..2f851c804bb0 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -62,6 +62,14 @@ properties: minItems: 3 maxItems: 13 + interconnects: + maxItems: 2 + + interconnect-names: + items: + - const: pcie-mem + - const: cpu-pcie + resets: minItems: 1 maxItems: 12 @@ -631,6 +639,18 @@ allOf: items: - const: pci # PCIe core reset + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-sa8540p + - qcom,pcie-sc8280xp + then: + required: + - interconnects + - interconnect-names + - if: not: properties: -- 2.37.3