Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8034277rwp; Wed, 19 Jul 2023 04:24:16 -0700 (PDT) X-Google-Smtp-Source: APBJJlHTL07usui1CHj0dyBPtyL0VU+8MLXyakJ5sor7PIHrD59GdRvX8T3U3SGN4asSH7Ol++UA X-Received: by 2002:aa7:c902:0:b0:521:7417:1131 with SMTP id b2-20020aa7c902000000b0052174171131mr2041199edt.15.1689765856527; Wed, 19 Jul 2023 04:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689765856; cv=none; d=google.com; s=arc-20160816; b=yadnrfqqB1Ai2eIOamLf3Yad49tC1rM0kSERRgAQg7hp4K2LA+Fi7HK53Y3+YeFYXp MwBhK/0cGYZodqIbI6Mduldo6ZhZ5dnAVaLsgAKb5a2x7O/c5BhWSB/eQwpOVBro8UEg LFABumfSO9La9l9CTMbXDik42xcfL96VBqNLBSBvSqRRSE5lRh5pX/isTHbdXtoaJnBZ 9Ep+F9D60TFkyEI5u1jutaSj3TX3/ab2I6EakmtmCxPMn4Xp7d/5JnvOi1p61Epu15Ki Sabkrz7K+fKFPsodfRV6pkcu9HffzqUePHKq6fKT/CoQyhs5vjpuxsQvByySNU28athU g4dw== 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=yVxXZfOtxak8iBVRDb2c9fmyjvpQOuKAzeNKIUJfojo=; fh=JFMwIFRUM8Xqdzje2I8YftIsePlvhycm68mT59uj35Y=; b=f7xH/7VUIAf60hSW80EYblVtRBYI3zV4Tt8X3c9FvOeIuFfdUbPxrKzqxif3w+HnNG +6orRHzm2oHWwjmEn0sMs6NsPxNvbsiogZ9GEnSEaVv/LijsUbt5MGbe3IjH3oiYQsB3 aAixTgHtlfKiijo6xWoDRJ6lwebDE4a9Z4fxqh3LIeled5Z9eGfeEXF9FhK0Csi6Y3tU lj4Yodgyf5PsM1zB6vKsKSwR83h+EHwLgdkzE7qZjvIOelTbTQHRfeCc4tbUsFOzcLef GbgMJtMcCGpShVMkX4JpY2FU4hPO89iLCtd5ZY3kHRBzXISkLVVIR/cBgfGtC+INmm8A dV3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HeVH4aqA; 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 be16-20020a0564021a3000b0051e168ec86csi2814882edb.310.2023.07.19.04.23.51; Wed, 19 Jul 2023 04:24:16 -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=@linaro.org header.s=google header.b=HeVH4aqA; 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 S229518AbjGSKza (ORCPT + 99 others); Wed, 19 Jul 2023 06:55:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229528AbjGSKz2 (ORCPT ); Wed, 19 Jul 2023 06:55:28 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32764E42 for ; Wed, 19 Jul 2023 03:55:27 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4fba8f2197bso11444991e87.3 for ; Wed, 19 Jul 2023 03:55:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689764125; x=1692356125; 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=yVxXZfOtxak8iBVRDb2c9fmyjvpQOuKAzeNKIUJfojo=; b=HeVH4aqAbGSTlrakuKCfBsU+kcA3+5vAw/2F2XZ2oKt4WdOKQWlwy96CAB1sZy2WU4 8qvnhQiLGswTExx5lvoyoLk9HoK5mtEiqeLYGnDidaOStp2zs9rhLdZEtYr1RYBuNInE czVr7Mq22nDyuHb/uyyj9p5JJQtEUj9MUChLeLMvmGt68Pf5kpvesh/6Cytqoi8powab pju96pfebtbnLVIn6qNYf6YbWElvAJNANr+F4laUWMyJ2D0pQvwrs2s9tX2d/JsKn6b+ 8J+YOtt68Xg3TitlkpEoYxJkP9wP5Vs94/8nAP5jnZX1Fkk5Q70FIz9afn0/kMP7jTcj ixPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689764125; x=1692356125; 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=yVxXZfOtxak8iBVRDb2c9fmyjvpQOuKAzeNKIUJfojo=; b=YbVDTZ8YHNgynxG5ejVhbOc4hmoGupa8rZLRfJsTuoPcMpIm7n0r/pSPYskumjnpdE wAFkIOK/6uMNmleZB1hp2KcmYfBlcrqMkKnRFrkzK5fqrzh5eXz0+czF+NlbeCNn4mNv nmD+0boVp+rZ9FXBqFOhL3goGCJTODlOG6zWEBpZjkiKXU85kMPfKXCyAem67xsjVbHK cnuX2Vgx7sPbnPwwILkuFqHiu0Lqn5JdWookUKDFjVPntY3AiGr6D/ikaYqbAIsWU6UB X+0dxu7ib+GtA6o5dXZ6E3nJXSSFHI5a+pY9umRouueW5/bQiPUxVuzUEHwuUsh18d7s yHNQ== X-Gm-Message-State: ABy/qLYmJS/pX5+ALODo7O4ZNfo6yzwHSFcF5bxTl1SYtq2Cjp3etmmN geZ3eoticOIq01VSw6U+Rlc7wQ== X-Received: by 2002:a05:6512:3d89:b0:4f9:6528:fb15 with SMTP id k9-20020a0565123d8900b004f96528fb15mr13939510lfv.12.1689764125474; Wed, 19 Jul 2023 03:55:25 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.104]) by smtp.gmail.com with ESMTPSA id be1-20020a0564021a2100b0051e2549c4f9sm2526983edb.47.2023.07.19.03.55.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Jul 2023 03:55:25 -0700 (PDT) Message-ID: <6b452a82-4fc1-bb0e-2475-755d699db1ee@linaro.org> Date: Wed, 19 Jul 2023 12:55:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v1 5/9] dt-bindings: PLDA: Add PLDA XpressRICH PCIe host controller Content-Language: en-US To: Minda Chen , Daire McNamara , Conor Dooley , Rob Herring , Krzysztof Kozlowski , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Emil Renner Berthing Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-pci@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Mason Huo , Leyfoon Tan , Kevin Xie References: <20230719102057.22329-1-minda.chen@starfivetech.com> <20230719102057.22329-6-minda.chen@starfivetech.com> From: Krzysztof Kozlowski In-Reply-To: <20230719102057.22329-6-minda.chen@starfivetech.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=unavailable 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 19/07/2023 12:20, Minda Chen wrote: > Add PLDA XpressRICH host controller dt-bindings. Both Microchip > PolarFire SoC and StarFive JH7110 SoC are using PLDA XpressRICH > PCIe host controller IP. > > Signed-off-by: Minda Chen > Reviewed-by: Hal Feng > --- > .../pci/plda,xpressrich-pcie-host.yaml | 66 +++++++++++++++++++ > 1 file changed, 66 insertions(+) > create mode 100644 Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-host.yaml > > diff --git a/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-host.yaml b/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-host.yaml > new file mode 100644 > index 000000000000..10a10862a078 > --- /dev/null > +++ b/Documentation/devicetree/bindings/pci/plda,xpressrich-pcie-host.yaml > @@ -0,0 +1,66 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/pci/plda,xpressrich-pcie-host.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: PLDA XpressRICH PCIe host controller > + > +maintainers: > + - Daire McNamara > + - Minda Chen > + > +allOf: > + - $ref: /schemas/pci/pci-bus.yaml# > + - $ref: plda,xpressrich-pcie-common.yaml# > + - $ref: /schemas/interrupt-controller/msi-controller.yaml# > + > +properties: > + compatible: > + const: plda,xpressrich-pcie-host > + > +required: > + - compatible > + - reg > + - reg-names > + - "#interrupt-cells" > + - interrupts > + - interrupt-map-mask > + - interrupt-map > + - msi-controller Your common schema should require properties which it defines. Here you should require only difference or new properties. > + > +unevaluatedProperties: false > + > +examples: > + - | > + soc { > + #address-cells = <2>; Use 4 spaces for example indentation. > + #size-cells = <2>; > + pcie0: pcie@12000000 { Best regards, Krzysztof