From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09704C04A68 for ; Thu, 28 Jul 2022 22:37:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233337AbiG1Wha (ORCPT ); Thu, 28 Jul 2022 18:37:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233043AbiG1WhZ (ORCPT ); Thu, 28 Jul 2022 18:37:25 -0400 Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1ED43190B; Thu, 28 Jul 2022 15:37:24 -0700 (PDT) Received: by mail-il1-f170.google.com with SMTP id h16so1656698ila.2; Thu, 28 Jul 2022 15:37:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:references:in-reply-to:cc:to:from :x-gm-message-state:from:to:cc; bh=I3vEeMiDJCjGWEDJLfzHyBotayrkz42xF0yEiFQyelw=; b=NF2+ZdKEOQxw5SrR9ud3Ww7pViD8Nuv54mMGY6PGC242CTogptuHXgdurTSO9szFwJ eDqvAj3Hs/ywYkDCiFhNoMvF52YuOElHFNC9rpl6eufY3jrliH+Eh6mBs2DuEMFNeVQ0 qvY6637d9zUNfJpix14pKR3kfXACFresdxfZlXwdvLvuBjCW/vW5y3difa8gBUrAKJU3 nSiEuIrYFPCx4Gij+QWMBgHJXQGAc7Xh0iG0kfEJbkYulcLg+TlllS5h21xcbE0vgGlF 1LfxA36OhIDgJeh0xyQeWOiEKgisrqv2cUsvIHwwehm12IJqKzGP6Gksl+kvi2VLQh+s DbUg== X-Gm-Message-State: AJIora9xndpXsJVCNCYn0aVIIvZZtU7CEq46gciOo/XEIrVRqqqYM24l QtHutPrbdoWm1lxIPPFwoQ== X-Google-Smtp-Source: AGRyM1tXEvNHVsuWYfcBbpLRfuPajccl51f0Q5BP6aS+ie1v/TyeduYIT450S4eOIgWM5efIgTSX+Q== X-Received: by 2002:a05:6e02:1bad:b0:2dd:bc59:5078 with SMTP id n13-20020a056e021bad00b002ddbc595078mr294248ili.19.1659047844102; Thu, 28 Jul 2022 15:37:24 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id h16-20020a05660208d000b0067b4d6cecc8sm834748ioz.45.2022.07.28.15.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 15:37:23 -0700 (PDT) Received: (nullmailer pid 1710890 invoked by uid 1000); Thu, 28 Jul 2022 22:37:18 -0000 From: Rob Herring To: Serge Semin Cc: Lorenzo Pieralisi , Serge Semin , Gustavo Pimentel , devicetree@vger.kernel.org, Jingoo Han , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Krzysztof Kozlowski , Frank Li , Simon Xue , Pavel Parkhomenko , Heiko Stuebner , Alexey Malahov , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Rob Herring , Manivannan Sadhasivam , linux-rockchip@lists.infradead.org, Shawn Lin , linux-arm-kernel@lists.infradead.org In-Reply-To: <20220728143427.13617-12-Sergey.Semin@baikalelectronics.ru> References: <20220728143427.13617-1-Sergey.Semin@baikalelectronics.ru> <20220728143427.13617-12-Sergey.Semin@baikalelectronics.ru> Subject: Re: [PATCH v4 11/17] dt-bindings: PCI: dwc: Apply common schema to Rockchip DW PCIe nodes Date: Thu, 28 Jul 2022 16:37:18 -0600 Message-Id: <1659047838.065764.1710889.nullmailer@robh.at.kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 28 Jul 2022 17:34:21 +0300, Serge Semin wrote: > As the DT-bindings description states the Rockchip PCIe controller is > based on the DW PCIe RP IP-core thus its DT-nodes are supposed to be > compatible with the common DW PCIe controller schema. Let's make sure they > evaluated against it by referring to the snps,dw-pcie-common.yaml schema > in the allOf sub-schemas composition. > > Signed-off-by: Serge Semin > > --- > > Changelog v3: > - This is a new patch created on v3 lap of the series. > --- > Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: ./Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml: Unable to find schema file matching $id: http://devicetree.org/schemas/pci/snps,dw-pcie-common.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.example.dtb: pcie@fe280000: False schema does not allow {'compatible': ['rockchip,rk3568-pcie'], 'reg': [[3, 3229614080, 0, 3735552], [0, 4264034304, 0, 65536], [3, 2147483648, 0, 1048576]], 'reg-names': ['dbi', 'apb', 'config'], 'bus-range': [[32, 47]], 'clocks': [[4294967295, 143], [4294967295, 144], [4294967295, 145], [4294967295, 146], [4294967295, 147]], 'clock-names': ['aclk_mst', 'aclk_slv', 'aclk_dbi', 'pclk', 'aux'], 'device_type': ['pci'], 'linux,pci-domain': [[2]], 'max-link-speed': [[2]], 'msi-map': [[8192, 4294967295, 8192, 4096]], 'num-lanes': [[2]], 'phys': [[4294967295]], 'phy-names': ['pcie-phy'], 'power-domains': [[4294967295, 15]], 'ranges': [[2164260864, 0, 2155872256, 3, 2155872256, 0, 1048576], [2197815296, 0, 2156920832, 3, 2156920832, 0, 1064304640]], 'resets': [[4294967295, 193]], 'reset-names': ['pipe'], '#address-cells': [[3]], '#size-cells': [[2]], '$nodename': ['pcie @fe280000']} From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/ This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A5FE7C04A68 for ; Thu, 28 Jul 2022 22:39:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject: References:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MFx4sfvzTuiTm2RK4/MDg2y6zSIS3+JI0p6JDAp5R+A=; b=gyL0nZwkMTYepB s+1lKHyUDeYl33WTq5IhxQREvp8uMbysyyxNu0970/7lB7bozrdu7PBh14uz5fKrWJ3Cd9Lc+3baP nCfFrjV+dauBBrpq5k9g4zf136M9Ek0M0gM8s3R8LFnxNwNRsc2lYpjpS7qYpKy5ySEV6tsgXUMcZ UuxJqsn+8zD9Pjig+d5K1lh1MEoATKkQ3lLOaQ/InoY0jBv2QiagIXTiE8QKYBj9MbUs2hSPgw8hs cfltW6AcaZcJqMFITFG3c1JW209j0xaMBSZ+WE5Fp8PxRUQMjH7H6XseYDQ43z4Qa7UD5jf+fOsZx QlOdCGQxiQ3czAVIdaxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHC9X-00FbYq-9S; Thu, 28 Jul 2022 22:38:47 +0000 Received: from mail-il1-f173.google.com ([209.85.166.173]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHC8F-00Fb77-4f; Thu, 28 Jul 2022 22:37:28 +0000 Received: by mail-il1-f173.google.com with SMTP id z6so663383iln.13; Thu, 28 Jul 2022 15:37:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:references:in-reply-to:cc:to:from :x-gm-message-state:from:to:cc; bh=I3vEeMiDJCjGWEDJLfzHyBotayrkz42xF0yEiFQyelw=; b=etIQokyv7Le42t9OdyEYVLPFfA6zFqs0pQJK75VEH1LRVY0RbvK4v9m3RhGtRc+g5b Vdx297qmWoWwZq1ChoB0DMh4L+4nXEAD+qfpyid+KHm+Dr7JFJodFDdoocDddxgrZs9q s0HFxtuzQWsimmHSr9ZgO4HaxcNLnn0y7fMHor4VuKbldDZirw0KvbWqb1TYrWUhkLMO kwgu/amoTYknV22tkDFioR4f8oSpUa1j3klM7oR7POo7XtjllZ3ZH5R1ixFwGPJElA9N hOfFGcxsXLz7yJQMvijUelELabBqXZYm2BqIOC9uDOESS3x91nEsTT1/4/5iRi0u+88m R02Q== X-Gm-Message-State: AJIora95lHU70g+Vq+EKJDBH/fqqT3I/rN+C1e4OaOglsOJhttjhYlsv auFxDAvH1GYLSpVA5XWdLQ== X-Google-Smtp-Source: AGRyM1tXEvNHVsuWYfcBbpLRfuPajccl51f0Q5BP6aS+ie1v/TyeduYIT450S4eOIgWM5efIgTSX+Q== X-Received: by 2002:a05:6e02:1bad:b0:2dd:bc59:5078 with SMTP id n13-20020a056e021bad00b002ddbc595078mr294248ili.19.1659047844102; Thu, 28 Jul 2022 15:37:24 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id h16-20020a05660208d000b0067b4d6cecc8sm834748ioz.45.2022.07.28.15.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 15:37:23 -0700 (PDT) Received: (nullmailer pid 1710890 invoked by uid 1000); Thu, 28 Jul 2022 22:37:18 -0000 From: Rob Herring To: Serge Semin Cc: Lorenzo Pieralisi , Serge Semin , Gustavo Pimentel , devicetree@vger.kernel.org, Jingoo Han , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Krzysztof Kozlowski , Frank Li , Simon Xue , Pavel Parkhomenko , Heiko Stuebner , Alexey Malahov , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Rob Herring , Manivannan Sadhasivam , linux-rockchip@lists.infradead.org, Shawn Lin , linux-arm-kernel@lists.infradead.org In-Reply-To: <20220728143427.13617-12-Sergey.Semin@baikalelectronics.ru> References: <20220728143427.13617-1-Sergey.Semin@baikalelectronics.ru> <20220728143427.13617-12-Sergey.Semin@baikalelectronics.ru> Subject: Re: [PATCH v4 11/17] dt-bindings: PCI: dwc: Apply common schema to Rockchip DW PCIe nodes Date: Thu, 28 Jul 2022 16:37:18 -0600 Message-Id: <1659047838.065764.1710889.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220728_153727_232136_7BC404C7 X-CRM114-Status: GOOD ( 16.02 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org On Thu, 28 Jul 2022 17:34:21 +0300, Serge Semin wrote: > As the DT-bindings description states the Rockchip PCIe controller is > based on the DW PCIe RP IP-core thus its DT-nodes are supposed to be > compatible with the common DW PCIe controller schema. Let's make sure they > evaluated against it by referring to the snps,dw-pcie-common.yaml schema > in the allOf sub-schemas composition. > > Signed-off-by: Serge Semin > > --- > > Changelog v3: > - This is a new patch created on v3 lap of the series. > --- > Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: ./Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml: Unable to find schema file matching $id: http://devicetree.org/schemas/pci/snps,dw-pcie-common.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.example.dtb: pcie@fe280000: False schema does not allow {'compatible': ['rockchip,rk3568-pcie'], 'reg': [[3, 3229614080, 0, 3735552], [0, 4264034304, 0, 65536], [3, 2147483648, 0, 1048576]], 'reg-names': ['dbi', 'apb', 'config'], 'bus-range': [[32, 47]], 'clocks': [[4294967295, 143], [4294967295, 144], [4294967295, 145], [4294967295, 146], [4294967295, 147]], 'clock-names': ['aclk_mst', 'aclk_slv', 'aclk_dbi', 'pclk', 'aux'], 'device_type': ['pci'], 'linux,pci-domain': [[2]], 'max-link-speed': [[2]], 'msi-map': [[8192, 4294967295, 8192, 4096]], 'num-lanes': [[2]], 'phys': [[4294967295]], 'phy-names': ['pcie-phy'], 'power-domains': [[4294967295, 15]], 'ranges': [[2164260864, 0, 2155872256, 3, 2155872256, 0, 1048576], [2197815296, 0, 2156920832, 3, 2156920832, 0, 1064304640]], 'resets': [[4294967295, 193]], 'reset-names': ['pipe'], '#address-cells': [[3]], '#size-cells': [[2]], '$nodename': ['pcie@fe280000']} From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/ This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit. _______________________________________________ Linux-rockchip mailing list Linux-rockchip@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-rockchip From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 42452C04A68 for ; Thu, 28 Jul 2022 22:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date:Subject: References:In-Reply-To:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fXYOx5HC2WQhFY7Or8Tyj3Q9w9D69GEmgG2Mm48qqbo=; b=kTbUJ1CYYXZjHs dwN7sa64xyEHj+0kifccuAtH8rjl5/J+Mzeuk1vDZkAAfd+KKJgjgoe32D4tEm2IKJMo8llqC9i1F lkUN1Cj3EnlIxkM/7mBSxliRy1q2x4IrU9gcg0ZR68M9upgLnxqv7bAxQptGkPUutkRfpu+S+KniA IwyDUo+ap8oWUHLSNbLJs8gYfdMr79HVDtGAkhlICSfGD7bp2pbKjySk7ZEuxw7eH8uCnG+9Y+8Uh 6Jr1hQdA2DDPMT9mUpNzxYP0mY3EoAuqXXsNcpTgaOqDhghRw51TulYLb2xZVSm8SVKVRQswho7HW fl7e+YSUpVfMrXKuN4lg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHC9a-00FbZR-Qu; Thu, 28 Jul 2022 22:38:51 +0000 Received: from mail-il1-f173.google.com ([209.85.166.173]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oHC8F-00Fb77-4f; Thu, 28 Jul 2022 22:37:28 +0000 Received: by mail-il1-f173.google.com with SMTP id z6so663383iln.13; Thu, 28 Jul 2022 15:37:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=message-id:date:subject:references:in-reply-to:cc:to:from :x-gm-message-state:from:to:cc; bh=I3vEeMiDJCjGWEDJLfzHyBotayrkz42xF0yEiFQyelw=; b=etIQokyv7Le42t9OdyEYVLPFfA6zFqs0pQJK75VEH1LRVY0RbvK4v9m3RhGtRc+g5b Vdx297qmWoWwZq1ChoB0DMh4L+4nXEAD+qfpyid+KHm+Dr7JFJodFDdoocDddxgrZs9q s0HFxtuzQWsimmHSr9ZgO4HaxcNLnn0y7fMHor4VuKbldDZirw0KvbWqb1TYrWUhkLMO kwgu/amoTYknV22tkDFioR4f8oSpUa1j3klM7oR7POo7XtjllZ3ZH5R1ixFwGPJElA9N hOfFGcxsXLz7yJQMvijUelELabBqXZYm2BqIOC9uDOESS3x91nEsTT1/4/5iRi0u+88m R02Q== X-Gm-Message-State: AJIora95lHU70g+Vq+EKJDBH/fqqT3I/rN+C1e4OaOglsOJhttjhYlsv auFxDAvH1GYLSpVA5XWdLQ== X-Google-Smtp-Source: AGRyM1tXEvNHVsuWYfcBbpLRfuPajccl51f0Q5BP6aS+ie1v/TyeduYIT450S4eOIgWM5efIgTSX+Q== X-Received: by 2002:a05:6e02:1bad:b0:2dd:bc59:5078 with SMTP id n13-20020a056e021bad00b002ddbc595078mr294248ili.19.1659047844102; Thu, 28 Jul 2022 15:37:24 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id h16-20020a05660208d000b0067b4d6cecc8sm834748ioz.45.2022.07.28.15.37.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Jul 2022 15:37:23 -0700 (PDT) Received: (nullmailer pid 1710890 invoked by uid 1000); Thu, 28 Jul 2022 22:37:18 -0000 From: Rob Herring To: Serge Semin Cc: Lorenzo Pieralisi , Serge Semin , Gustavo Pimentel , devicetree@vger.kernel.org, Jingoo Han , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Krzysztof Kozlowski , Frank Li , Simon Xue , Pavel Parkhomenko , Heiko Stuebner , Alexey Malahov , Bjorn Helgaas , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Rob Herring , Manivannan Sadhasivam , linux-rockchip@lists.infradead.org, Shawn Lin , linux-arm-kernel@lists.infradead.org In-Reply-To: <20220728143427.13617-12-Sergey.Semin@baikalelectronics.ru> References: <20220728143427.13617-1-Sergey.Semin@baikalelectronics.ru> <20220728143427.13617-12-Sergey.Semin@baikalelectronics.ru> Subject: Re: [PATCH v4 11/17] dt-bindings: PCI: dwc: Apply common schema to Rockchip DW PCIe nodes Date: Thu, 28 Jul 2022 16:37:18 -0600 Message-Id: <1659047838.065764.1710889.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220728_153727_232136_7BC404C7 X-CRM114-Status: GOOD ( 16.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 28 Jul 2022 17:34:21 +0300, Serge Semin wrote: > As the DT-bindings description states the Rockchip PCIe controller is > based on the DW PCIe RP IP-core thus its DT-nodes are supposed to be > compatible with the common DW PCIe controller schema. Let's make sure they > evaluated against it by referring to the snps,dw-pcie-common.yaml schema > in the allOf sub-schemas composition. > > Signed-off-by: Serge Semin > > --- > > Changelog v3: > - This is a new patch created on v3 lap of the series. > --- > Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: ./Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml: Unable to find schema file matching $id: http://devicetree.org/schemas/pci/snps,dw-pcie-common.yaml /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.example.dtb: pcie@fe280000: False schema does not allow {'compatible': ['rockchip,rk3568-pcie'], 'reg': [[3, 3229614080, 0, 3735552], [0, 4264034304, 0, 65536], [3, 2147483648, 0, 1048576]], 'reg-names': ['dbi', 'apb', 'config'], 'bus-range': [[32, 47]], 'clocks': [[4294967295, 143], [4294967295, 144], [4294967295, 145], [4294967295, 146], [4294967295, 147]], 'clock-names': ['aclk_mst', 'aclk_slv', 'aclk_dbi', 'pclk', 'aux'], 'device_type': ['pci'], 'linux,pci-domain': [[2]], 'max-link-speed': [[2]], 'msi-map': [[8192, 4294967295, 8192, 4096]], 'num-lanes': [[2]], 'phys': [[4294967295]], 'phy-names': ['pcie-phy'], 'power-domains': [[4294967295, 15]], 'ranges': [[2164260864, 0, 2155872256, 3, 2155872256, 0, 1048576], [2197815296, 0, 2156920832, 3, 2156920832, 0, 1064304640]], 'resets': [[4294967295, 193]], 'reset-names': ['pipe'], '#address-cells': [[3]], '#size-cells': [[2]], '$nodename': ['pcie@fe280000']} From schema: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/pci/rockchip-dw-pcie.yaml doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/patch/ This check can fail if there are any dependencies. The base for a patch series is generally the most recent rc1. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel