Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7974862rwp; Wed, 19 Jul 2023 03:23:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlF09ITxx5d8Ctn8/Y5tR4sGICIgdEr2Sd3Y2g2JoV/2KrQ5excZzQg9bMlz9YwwmuszTw71 X-Received: by 2002:a17:906:190:b0:993:d6e8:2389 with SMTP id 16-20020a170906019000b00993d6e82389mr2512597ejb.26.1689762214384; Wed, 19 Jul 2023 03:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689762214; cv=none; d=google.com; s=arc-20160816; b=Y8PwYzSqJkRRyEcJfRtDdI0leEhpKpHtVuKsBzXzClHomawyJL95uH2SldvY223ZZD bavAhb3ZMREDeeWe+OkxQYUcBtVLxX0JEwAhWzg1nToHMX9edhI48FyAjyETdLAX8I5k QHQlaDun8Y5JQzsQW1RrqnpmtC40FpN1ln8th4RNBedOttN6/5E5nQyhtbyf/1HEUPJC NmmeWU6IGsYpokfyNrxkV6BcUBtA/DbeI4GEyBtfpo2X8N9Jafy0Ybun3+VyxHVN+loz HesydNxlZUPQrnSwb+8bSn5w+R0M9VERcFy50EGWMMmVQtz++NKENTx4Oa0OHwNyWMIk L1Lg== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d16-20020a170906345000b00997dbbda750si2659426ejb.839.2023.07.19.03.23.09; Wed, 19 Jul 2023 03:23:34 -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 S230436AbjGSKVL (ORCPT + 99 others); Wed, 19 Jul 2023 06:21:11 -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=20Wilczy=C5=84ski?= , 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 Content-Type: text/plain 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 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 + +... -- 2.17.1