From patchwork Wed Jul 19 10:20:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minda Chen X-Patchwork-Id: 122532 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2338644vqt; Wed, 19 Jul 2023 03:32:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlHPyhlUheqxzD+OLagjtJVfpmBA+JTlOzJJ6uybGqbSaGK0KTsh0j54spDmbXeGwvxzAKfd X-Received: by 2002:aa7:c0ca:0:b0:51e:4fa:14e9 with SMTP id j10-20020aa7c0ca000000b0051e04fa14e9mr2031233edp.29.1689762727785; Wed, 19 Jul 2023 03:32:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689762727; cv=none; d=google.com; s=arc-20160816; b=QBnRxP1f5rrFW8sdotVYb/YaQ3d7BaVTIj77yqBE7jumQY+jqXnnHQgjemrhVuK9zL 0JnGYBB8AcdHB9yhO2JizpuXFmUC1d8CONFNDTzS4Wy3/s4Swzl1XkilfVxMrDeZAlaO UYZ+noFXiSWCoI3VllEQA+2uGlCXsjsqkhHz9RgQuADck5YzKHeGuov0PoFhatOh8wVW f9u7nmIfFgVATeoPMhQUN3u3KF7y6tsqpFyfc0zn3cAn0HZNzm56VQQ0bMvbxd56A1L7 HcEqohzIzAdCme/7ss+OiN4Zo1nfB2IG01g4Y7WCV03IGhRiMwaj86XGuf5UTmgAAyaU ZHaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=El7d53zzE/Sdcb5ESoWK0Zi7ldulqEqGroF/AzTHFfk=; fh=d7kWbhDXUUwg3/pUZd6mzQXiPEgw5Ezg/At26C3Qzq0=; b=WlKaGlc7Fb8W4R88pTcvFKKZ+xIHo7qwnbreL6lRC3X3mtwwS+z49WfiG0Xlvi4PZg pc7/Fhd0e6gR4Dngc/Xqxwzbw8qz7tyhpxkLVQ52GbligBnHxtEfMuhmqmpdD7LIyiUh 0+eINiMnC7pKelD5v4UHoASfo2A5ClXmLZhNUJqbty/h8S/xxI3slyYqVaIdrKPUO2CL w4iuk3UyUSF++NjxEQKYnfC1yDdKKo5aMzfjsp1QD+MH74grmtRZPgsv+UD6Iy1J+Rjo JD6nw4Zl/RCJsmkk5HRWtiwwEI+Xm70N/yVwBXR7dMr61hciPR6FwfRFdeEaaDLvARuN ZF4g== ARC-Authentication-Results: i=1; mx.google.com; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j20-20020aa7c414000000b005219932463dsi2893826edq.457.2023.07.19.03.31.42; Wed, 19 Jul 2023 03:32:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230449AbjGSKVM (ORCPT + 99 others); Wed, 19 Jul 2023 06:21:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbjGSKVE (ORCPT ); Wed, 19 Jul 2023 06:21:04 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75C5E1BF5; Wed, 19 Jul 2023 03:21:02 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 24E2124E225; Wed, 19 Jul 2023 18:21:01 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 19 Jul 2023 18:21:01 +0800 Received: from ubuntu.localdomain (113.72.147.86) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 19 Jul 2023 18:20:59 +0800 From: Minda Chen To: Daire McNamara , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Bjorn Helgaas , Lorenzo Pieralisi , =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= , Emil Renner Berthing CC: , , , , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Mason Huo , Leyfoon Tan , Kevin Xie , Minda Chen Subject: [PATCH v1 1/9] dt-bindings: PCI: Add PLDA XpressRICH PCIe host common properties Date: Wed, 19 Jul 2023 18:20:49 +0800 Message-ID: <20230719102057.22329-2-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230719102057.22329-1-minda.chen@starfivetech.com> References: <20230719102057.22329-1-minda.chen@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [113.72.147.86] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771844641945301479 X-GMAIL-MSGID: 1771844641945301479 Add PLDA XpressRICH PCIe host common properties dt-binding doc. Microchip PolarFire PCIe host using PLDA IP. Extract properties from Microchip PolarFire PCIe host. Signed-off-by: Minda Chen Reviewed-by: Hal Feng --- .../pci/plda,xpressrich-pcie-common.yaml | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-common.yaml diff --git a/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-common.yaml b/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-common.yaml new file mode 100644 index 000000000000..3627a846c5d1 --- /dev/null +++ b/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-common.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/pci/plda,xpressrich-pcie-common.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: PLDA XpressRICH PCIe host common properties + +maintainers: + - Daire McNamara + - Minda Chen + +description: + Generic PLDA XpressRICH PCIe host common properties. + +select: false + +properties: + reg: + description: + At least host IP register set and configuration space are + required for normal controller work. + maxItems: 2 + + reg-names: + oneOf: + - items: + - const: cfg + - const: apb + - items: + - const: host + - const: cfg + + interrupts: + minItems: 1 + items: + - description: PCIe host controller + - description: builtin MSI controller + + interrupt-names: + minItems: 1 + items: + - const: pcie + - const: msi + + msi-controller: + description: Identifies the node as an MSI controller. + + msi-parent: + description: MSI controller the device is capable of using. + + interrupt-controller: + type: object + properties: + '#address-cells': + const: 0 + + '#interrupt-cells': + const: 1 + + interrupt-controller: true + + required: + - '#address-cells' + - '#interrupt-cells' + - interrupt-controller + + additionalProperties: false + +additionalProperties: true + +...