Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp911589rdb; Wed, 1 Nov 2023 06:29:24 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHRDADgkl9iF/mgHW7XaoFB0Y9M0uvsceU/gskGZ6cYkGA4mYNHh0FRmeGouecfYERFlwey X-Received: by 2002:a17:90a:9906:b0:280:65ed:dfe with SMTP id b6-20020a17090a990600b0028065ed0dfemr8060741pjp.23.1698845364504; Wed, 01 Nov 2023 06:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698845364; cv=none; d=google.com; s=arc-20160816; b=Ocs5q58Yzv3pc2iw0RFRD5FRCySRcpk0/YPh2b6x7DI1laG2g5HoldaX4feS270HN7 RwrYMELyolcQkTnPEWGJa/LDaRiwfJzXc9ZjqZ9oA3j1cYWw6KlJswVTIsvO4z2UA7Lk SO4G3iUWTtlz3NAJ+MhzaKXUhBEAeY1Nd88ErcmoDzoeXEU5wE1mVneY2uFWzf7B5rfl 1SGy/w9sOuzaBw9aquXASqK/8PiRH+APm5/1LghFl+MKcTpRebw3ViBe4DaRPg3utybK U3AcVywJK1grhMFpmvrf5C0cJTnH3oDQnVK2LQVBQ/hlMG91qvmQ80MM1BzdQ/iyROLh GhCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:message-id:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding; bh=yuRhwoRZhsAqDUdHH78st4OhSKCrO+YWmaTXJR5WojE=; fh=08zTTEGoXKXPyCnt/mFOHOkJFf8a0tcePKRUiOkT/cs=; b=WKTsSCFPzUIaVbgc7tnHsT5TRh/Q66ddIMgM03e8awQxaXHx+qZymPyDht4VpOBITe sa/vXu8fpMteMcSTSxFoNiFNJZVvfQkeP8hZdlEiqrdcFJ1CSUmj8i4lvPPT6O3stdMQ VxfJYYT0RWWYfC2N9w3JD9OxWFFVfLRDeqgbhObITit5lkBArilOmCTnpTwoy3m//qE2 lOUJXF+W9/5RgdbELQOf4IK6NUsvFGYt6uNLj23V2IfS6Nzw0gPp08UlctPGGYFy9O4M 0rQg18nvBjgMWQeVfpR0/u+ZAqNIdgaR4WYYJl5FqhaG1xOvIO+lGSfIyjwouE1ZZlwN KFVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id e1-20020a17090a728100b0027d15abe599si833917pjg.143.2023.11.01.06.29.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 06:29:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 6E7E6803110E; Wed, 1 Nov 2023 06:29:19 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344219AbjKAN3B (ORCPT + 99 others); Wed, 1 Nov 2023 09:29:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344200AbjKAN3A (ORCPT ); Wed, 1 Nov 2023 09:29:00 -0400 Received: from mail-oi1-f169.google.com (mail-oi1-f169.google.com [209.85.167.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B2CEFC; Wed, 1 Nov 2023 06:28:51 -0700 (PDT) Received: by mail-oi1-f169.google.com with SMTP id 5614622812f47-3b2e44c7941so4559723b6e.2; Wed, 01 Nov 2023 06:28:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698845330; x=1699450130; h=date:subject:message-id:references:in-reply-to:cc:to:from :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=yuRhwoRZhsAqDUdHH78st4OhSKCrO+YWmaTXJR5WojE=; b=FBXb95r0YpQKKxksJazMcmmwop6jeUA4wiLCILYBLrYEd3jtbCyIhp0eBDSkXktzZR LHwIiD9TD0cGQFoapkZOlLRz+zVtnsL1ZQX8Zpq9yUJpCvITJjH1bJ/A3qIoFfXWjOJ7 3MqUp/wML8r7OdCv11D7GfaoPzQt+xeSJlrp98gsAvhDAYCMQwsYDpvyn7J3lpGd+4RB m5G+5F77BenYumRNAN/F5Uk+OkaSM1NbamQSMM5AphFDMoFjduPonniI9swB+alqrUR3 Q3OSOqYkwVwlHtiYZXklqrn4DFnarXgHJDm/Z5An2OqGiddvdzH1t7VZC3J465MDiFQy HbjQ== X-Gm-Message-State: AOJu0YzI9vePqtMdKVwJio80bPyPctY4JqiKYi87QB3x8v1foJq9sl9f Nn+4nR4BBX8ewmIh8sCheA== X-Received: by 2002:a05:6808:14c4:b0:3b5:663c:9b91 with SMTP id f4-20020a05680814c400b003b5663c9b91mr5571557oiw.12.1698845330569; Wed, 01 Nov 2023 06:28:50 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id s7-20020a056808008700b003ae165739bbsm221997oic.7.2023.11.01.06.28.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 06:28:49 -0700 (PDT) Received: (nullmailer pid 4072711 invoked by uid 1000); Wed, 01 Nov 2023 13:28:48 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Christian Marangi Cc: Eric Dumazet , "David S. Miller" , Conor Dooley , netdev@vger.kernel.org, Andrew Lunn , Russell King , linux-kernel@vger.kernel.org, Rob Herring , Heiner Kallweit , Krzysztof Kozlowski , Paolo Abeni , Jakub Kicinski , devicetree@vger.kernel.org In-Reply-To: <20231101123608.11157-2-ansuelsmth@gmail.com> References: <20231101123608.11157-1-ansuelsmth@gmail.com> <20231101123608.11157-2-ansuelsmth@gmail.com> Message-Id: <169884529967.4072013.2362625689707570358.robh@kernel.org> Subject: Re: [net-next PATCH v2 2/2] dt-bindings: Document bindings for Marvell Aquantia PHY Date: Wed, 01 Nov 2023 08:28:48 -0500 X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 01 Nov 2023 06:29:19 -0700 (PDT) On Wed, 01 Nov 2023 13:36:08 +0100, Christian Marangi wrote: > Document bindings for Marvell Aquantia PHY. > > The Marvell Aquantia PHY require a firmware to work correctly and there > at least 3 way to load this firmware. > > Describe all the different way and document the binding "firmware-name" > to load the PHY firmware from userspace. > > Signed-off-by: Christian Marangi > --- > Changes v2: > - Add DT patch > > .../bindings/net/marvell,aquantia.yaml | 123 ++++++++++++++++++ > 1 file changed, 123 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/marvell,aquantia.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/dt-review-ci/linux/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.example.dtb: ethernet-phy@4: compatible:0: 'ethernet-phy-ieee802.3-c45' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.example.dtb: ethernet-phy@4: compatible: ['ethernet-phy-ieee802.3-c45'] is too short from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.example.dtb: ethernet-phy@4: compatible:0: 'ethernet-phy-ieee802.3-c45' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/mdio-mux-mmioreg.example.dtb: ethernet-phy@4: compatible: ['ethernet-phy-ieee802.3-c45'] is too short from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/ethernet-phy.example.dtb: ethernet-phy@0: compatible:0: 'ethernet-phy-id0141.0e90' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/sff,sfp.example.dtb: ethernet-phy@0: compatible:0: 'ethernet-phy-ieee802.3-c45' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/sff,sfp.example.dtb: ethernet-phy@0: compatible: ['ethernet-phy-ieee802.3-c45'] is too short from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/sff,sfp.example.dtb: ethernet-phy@0: Unevaluated properties are not allowed ('interrupt' was unexpected) from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.example.dtb: phy@0: $nodename:0: 'phy@0' does not match '^ethernet-phy(@[a-f0-9]+)?$' from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.example.dtb: phy@0: compatible:0: 'ethernet-phy-ieee802.3-c45' is not one of ['ethernet-phy-id03a1.b445', 'ethernet-phy-id03a1.b460', 'ethernet-phy-id03a1.b4a2', 'ethernet-phy-id03a1.b4d0', 'ethernet-phy-id03a1.b4e0', 'ethernet-phy-id03a1.b5c2', 'ethernet-phy-id03a1.b4b0', 'ethernet-phy-id03a1.b662', 'ethernet-phy-id03a1.b712', 'ethernet-phy-id31c3.1c12'] from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.example.dtb: phy@0: compatible: ['ethernet-phy-ieee802.3-c45'] is too short from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.example.dtb: phy@0: Unevaluated properties are not allowed ('#phy-cells', 'compatible' were unexpected) from schema $id: http://devicetree.org/schemas/net/marvell,aquantia.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231101123608.11157-2-ansuelsmth@gmail.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. 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 after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.