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 B3EA7ECAAD2 for ; Sun, 28 Aug 2022 14:22:38 +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=YNfWS0ql2DLqgDXD5cuYm/6f/y48PUvgBoSkYSmwPkM=; b=effoj7Qhz1tNXh /GF9qKj59ywIjTceNDYj0TI2hnwG+wFI7oZBbdXPytrQaY5BSEwVlw06cRmBUhgBE/kcdg1an//la AFcMxEPkveEsW8CT5EfON8J87zVUrIHrNM8RSl5kKhk7sWRHG7PYFBFZieE7uKiP6DIRIL+/d77Rt 68kwYnpY95QIT2iygOKFYCL9HwKafDvHlXceu+2tGgMaoEpLHDjCNG2tW7JG2TmwMDb0pq+qJQ9uP x3ZSgKnCzNb9JQF8g+7Xhd2YkHjMaWDk/x1AvVBLMo12F6I5SK1iSrNGHOi9eg+Gl7gwdY3zarX9K iMmMeXjb2/bf+BKWtQgg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSJAH-00HSjH-FQ; Sun, 28 Aug 2022 14:21:29 +0000 Received: from mail-oi1-f174.google.com ([209.85.167.174]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oSJAC-00HSfZ-67 for linux-arm-kernel@lists.infradead.org; Sun, 28 Aug 2022 14:21:26 +0000 Received: by mail-oi1-f174.google.com with SMTP id w196so7706859oiw.10 for ; Sun, 28 Aug 2022 07:21:19 -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=sibDZma8SNC/1fdSULSJhZLiuhIbQTJjp2sPIcXm9F0=; b=1bvSwuh3CBIMZgZTBdLdEd8cfF4BI3690apBwuUBeaV+4C8Er8uYaRZlX/F3RI6oSK 1JNdrt2K9L7c6eyMO7tKOapJqZpBhIDFDYOSosffExPwC2VgBoK7ir6nGwausbjMH2+C G12QeMq6SNut3LrU7Kp1blmccmmjgadkSIBXX52oa3uOVG6/OYUPDhY80V9ZLbBr46Nc Se8vFen/Eoe991aXMBU5Qiq/z7vnY3su/rpyqt9R3to5cvKUDo70yOTKh96m/IyqmGqm LaXIVz39G6dbLADebRHm3BXD6hgB2CaSIWWsI2m1kzoNXb0cMwr3/vhNnVrIz+mXBXpc E/Ig== X-Gm-Message-State: ACgBeo1FGkfLCW6X67vHBV7ikObeHiktCBpPOTDIRqZWHOHxUAP/iiWL ibYGM/th61N8p87Zovp1lA== X-Google-Smtp-Source: AA6agR6BEiMKL2SlsQk0aVmQ0dN6+2z35akCIfyts949Lp8DmwKEBIdcRy/TMS8pFCS2MEZvN2bb8w== X-Received: by 2002:a05:6808:7dd:b0:344:997f:32c3 with SMTP id f29-20020a05680807dd00b00344997f32c3mr4981010oij.11.1661696478999; Sun, 28 Aug 2022 07:21:18 -0700 (PDT) Received: from robh.at.kernel.org (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id x26-20020a4a2a5a000000b0041ba884d42csm3867442oox.42.2022.08.28.07.21.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Aug 2022 07:21:17 -0700 (PDT) Received: (nullmailer pid 3159699 invoked by uid 1000); Sun, 28 Aug 2022 14:21:16 -0000 From: Rob Herring To: Maxime Chevallier Cc: netdev@vger.kernel.org, Russell King , linux-arm-kernel@lists.infradead.org, Andrew Lunn , Paolo Abeni , linux-kernel@vger.kernel.org, Eric Dumazet , Jakub Kicinski , davem@davemloft.net, Heiner Kallweit , devicetree@vger.kernel.org, thomas.petazzoni@bootlin.com, Florian Fainelli , Rob Herring In-Reply-To: <20220826135451.526756-2-maxime.chevallier@bootlin.com> References: <20220826135451.526756-1-maxime.chevallier@bootlin.com> <20220826135451.526756-2-maxime.chevallier@bootlin.com> Subject: Re: [PATCH net-next 1/5] dt-bindings: net: Convert Altera TSE bindings to yaml Date: Sun, 28 Aug 2022 09:21:16 -0500 Message-Id: <1661696476.844936.3159698.nullmailer@robh.at.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220828_072124_249116_50F43AF5 X-CRM114-Status: GOOD ( 13.51 ) 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 Fri, 26 Aug 2022 15:54:47 +0200, Maxime Chevallier wrote: > This converts the bindings for the Altera Triple-Speed Ethernet to yaml. > > Signed-off-by: Maxime Chevallier > --- > .../devicetree/bindings/net/altera_tse.txt | 113 --------------- > .../devicetree/bindings/net/altr,tse.yaml | 134 ++++++++++++++++++ > 2 files changed, 134 insertions(+), 113 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/net/altera_tse.txt > create mode 100644 Documentation/devicetree/bindings/net/altr,tse.yaml > 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: /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/altr,tse.yaml: allOf:1:then:properties:reg-names: {'maxItems': 4, 'items': [{'const': 'control_port'}, {'const': 'rx_csr'}, {'const': 'tx_csr'}, {'const': 's1'}]} should not be valid under {'required': ['maxItems']} hint: "maxItems" is not needed with an "items" list from schema $id: http://devicetree.org/meta-schemas/items.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/altr,tse.yaml: allOf:2:then:properties:reg-names: 'oneOf' conditional failed, one must be fixed: [{'const': 'control_port'}, {'const': 'rx_csr'}, {'const': 'rx_desc'}, {'const': 'rx_resp'}, {'const': 'tx_csr'}, {'const': 'tx_desc'}] is too long [{'const': 'control_port'}, {'const': 'rx_csr'}, {'const': 'rx_desc'}, {'const': 'rx_resp'}, {'const': 'tx_csr'}, {'const': 'tx_desc'}] is too short False schema does not allow 6 1 was expected 6 is greater than the maximum of 2 6 is greater than the maximum of 3 6 is greater than the maximum of 4 6 is greater than the maximum of 5 hint: "minItems" is only needed if less than the "items" list length from schema $id: http://devicetree.org/meta-schemas/items.yaml# /builds/robherring/linux-dt-review/Documentation/devicetree/bindings/net/altr,tse.yaml: ignoring, error in schema: allOf: 1: then: properties: reg-names Documentation/devicetree/bindings/net/altr,tse.example.dtb:0:0: /example-0/ethernet@1,00001000: failed to match any schema with compatible: ['altr,tse-msgdma-1.0'] Documentation/devicetree/bindings/net/altr,tse.example.dtb:0:0: /example-0/ethernet@1,00001000/mdio: failed to match any schema with compatible: ['altr,tse-mdio'] 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