Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2264727rwe; Sun, 28 Aug 2022 07:22:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR5xZq0xzJrlkf8CjGu/SD/lRtGZmDLIBkTY0h/uMVOR/heECATM7BM3ZkiG1mkH+XQmmiAz X-Received: by 2002:a17:90b:4c11:b0:1fb:66d3:79f with SMTP id na17-20020a17090b4c1100b001fb66d3079fmr14259554pjb.44.1661696545027; Sun, 28 Aug 2022 07:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661696545; cv=none; d=google.com; s=arc-20160816; b=QQuvOt88l516NxnRyD/QPJEX0hxrQniW9k1IkDkoiYji7O9OYQpBAQnQ3O+WGwbZNF aV0emoTJVnqFO6E1bxM8nkfMfwfHo1nKxrqX7x78LnYRpgmORliBm67WPyNHQ0tg4gf2 MdhHQ6rbB3y0qvD6D4/3cHUbOCZSnVYX8CjEMvWTiGNva5+gKAYY4vfUHC5N08ef/rOs tqDQf8KBuXE5+SWCWq/2EFZupfvj/Se2Sh1BZQJ8t2p+WkgebDD5t/JNyeL8tdSfaRUP T2rB9udVvr4DjGhYdFf08lw9hqNMuQQG6q2wogBVHpqEyJ22hdIaiy8E7m4Dd3fBkkAe hA8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:references:in-reply-to :cc:to:from; bh=sibDZma8SNC/1fdSULSJhZLiuhIbQTJjp2sPIcXm9F0=; b=Q2cC79VE2iQHFWW/7tINbq1oWdGklZ6TdD52mnPcN6LEBVm1elzvryRQDno/hwHNIu kqiMsYTvdS41KYtqMpOEZr6yDUJb4goiB/+T5yTwag3FcwDad8yKdPo+yXvoNWmPiXh1 EletUDxcwoaKy4/3P+m5dJbCnKTOnAWLzF/ENOWW39xcdLq4oxlUS3OnVCRMqw37JYFb JaV5FgJ/Zj4GVKiyiCRFcStEGmfRx864R6kUJYH5bSaTv8XbuXZAsumM5jSx5ZT9Vkls 5mRpiAI+4r2emmSWzf1bqP25utSR0TsyHU7FcvhDuB6kZnNZwqVgqjUHam+OHfgKnv1H VH1A== 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l12-20020a63f30c000000b0040c99b681a4si6891244pgh.23.2022.08.28.07.22.12; Sun, 28 Aug 2022 07:22:25 -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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229542AbiH1OVV (ORCPT + 99 others); Sun, 28 Aug 2022 10:21:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbiH1OVU (ORCPT ); Sun, 28 Aug 2022 10:21:20 -0400 Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC01C1928D; Sun, 28 Aug 2022 07:21:19 -0700 (PDT) Received: by mail-oi1-f177.google.com with SMTP id p187so7717462oia.9; 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=tpmfSrXkOh/lB/uPbLfzk1/QvyQ4FFA4KWqozCU3AbDQv8gbS/K2UpTX2BZfhEBujU Wjk0Q4G992UZUjnAK+mHRkekML7svESNzZ0HcX/S59/7xRMiIxZgxLzsOct3H/JM0E5E MlYQlpjf1NM+uEvQXw1ha9juiOdyVSK4FHqDOBCCTXkKPN/H4BcqqCoxMOByIUYsENrJ NzFsKGXz42LAp9BKYD0CqS5ovYoxkgN5YffLMMFBfVJdeHupEB64tnjpS50t1WB8gwrL 0o+djr/9IIONQAt5b4oSFH6/eR6tb29sKOLJMJ1VqIT8LGYXFWMJqyN0MQUhZDaCnZnB iM8Q== X-Gm-Message-State: ACgBeo0yft2VjS/voBlF9qFNp1v/PpishtfdisGaOvOuEf26J68uwIMb PUKoEVZ0rllOO9kKgZQilw== 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-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 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.