Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp625107rdg; Thu, 12 Oct 2023 16:26:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFm3e8SeQTgtRyfq0t0aHLSiCKa7OmiDyuZn8F5fb0uNENeZcYWTvpDzp9pWYbxHuBZET1X X-Received: by 2002:a17:902:76ca:b0:1c7:7b27:f9a9 with SMTP id j10-20020a17090276ca00b001c77b27f9a9mr20381108plt.59.1697153216503; Thu, 12 Oct 2023 16:26:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697153216; cv=none; d=google.com; s=arc-20160816; b=AZPGt+zE78A8Mk8wC8+h3Abf0rehgHyrNpcpdPWMHClKtu5hrZ83efr5fKZPgXIqql SS10ScTLJfQgfq0ZFLrZ9J2sQJ8Nqnno5rfnt0fBxRCVPM7oul4ElnP892stNTXblj4n 2ci61kKpwYcRhKQwwVlpxnvfZYgxiiApGmtKpqlPB99aB4tf2FGI1T2bCazALCL9TSvS fZ9xnkfSlSPvVs7aMDDQR/WRovcmeOTrvPS/gCr8o2iEgDpMdXulAdy5keE+yKDh+/EH 7sJz6SDo+KTwgvVtw0Y8R0UQpT+pkSYQl75jnjgULuReQGTXCikgix/et9aAdeU/VoC6 tETg== 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:dkim-signature; bh=0F8vzjOuXOhcEzeGvcytixPqSsZWjXupNx4Z4b1AJ1s=; fh=k2ti7+ZYOwYrWqsUaPLEvsrt7hbPv0VYGqNOqePlJgk=; b=XPoP7jj+Jlf87US9140DHuDVChV0IZdSAqGiyrqdRiyXG+GPp+foKueBkY53PCkYdr dKR8nmjQAAxAHWcTAsX/ZX82qcAscNy6/dpfWD6UEuomLoyWMmcENoEj3IOd2oMiGpDt vGf3R9JICgBdyBzfkLVnxnwKhEQK9U8GU+1v1LxyMQZiX+9w1h7iosuuelC4EDWbF8me vyV/ITyerL5aGqUO/NEGvCw9e3jWOSXx1knmIyW7JBSr5dZrZhcC3k0OMy5u2+/6G6OD ncUYj1Cugz6MuCJjhgwVifOYk2vsEo87TIoEjpRey6CEeFWie17KyaziyLJ9ejHr7inT AAlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HKWW41YQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id p22-20020a170902a41600b001c5c632aea4si3096339plq.217.2023.10.12.16.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 16:26:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HKWW41YQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 75028805F2D8; Thu, 12 Oct 2023 16:26:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443095AbjJLX03 (ORCPT + 99 others); Thu, 12 Oct 2023 19:26:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443094AbjJLX01 (ORCPT ); Thu, 12 Oct 2023 19:26:27 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0DE17C9 for ; Thu, 12 Oct 2023 16:26:26 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 176C8C433CA; Thu, 12 Oct 2023 23:26:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697153185; bh=qNqWoA/ZDLB/uXCHNS8ySDtf00nZP74HHvVGjttkErQ=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=HKWW41YQy8EqNpNGM+UUKpc+RgJDT9JWw0QCWmqprmhVz5h0QulhwY8JfidW38YWT kreoZcDSL4oFttV2dRMx+v2DuddjZI0/yB/HA2uHlh98EADBUMpH726kyIFwKlvg4x 8CJJIb4M1nW0ldfOVGb3I4FZGqr8rxTYWeAizA+4jmaUHuz2CR34yKnN216yLYNO9t Q7yNlM3mwpsje2zZ76/9y5RtJ3YPg6h6oU9IImpklyO1+j1SkUf27tsOCg0D3I3V9j N85228TKgf371oxZ1kXdwAYp8u65FWKwZgXKAWOz/sxsLS4WwyMeuCy+hoGBd4fDD1 wm7fzxeKRwjbA== Received: (nullmailer pid 2140553 invoked by uid 1000); Thu, 12 Oct 2023 23:26:23 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Linus Walleij Cc: Vladimir Oltean , Eric Dumazet , Krzysztof Kozlowski , Gregory Clement , Andrew Lunn , Russell King , netdev@vger.kernel.org, Jakub Kicinski , Christian Marangi , Florian Fainelli , Paolo Abeni , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, "David S. Miller" , Sebastian Hesselbarth , Rob Herring , linux-kernel@vger.kernel.org, Conor Dooley In-Reply-To: <20231013-marvell-88e6152-wan-led-v1-2-0712ba99857c@linaro.org> References: <20231013-marvell-88e6152-wan-led-v1-0-0712ba99857c@linaro.org> <20231013-marvell-88e6152-wan-led-v1-2-0712ba99857c@linaro.org> Message-Id: <169715318309.2140513.13293051505659071749.robh@kernel.org> Subject: Re: [PATCH 2/3] RFC: dt-bindings: marvell: Rewrite in schema Date: Thu, 12 Oct 2023 18:26:23 -0500 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Thu, 12 Oct 2023 16:26:44 -0700 (PDT) On Fri, 13 Oct 2023 00:35:15 +0200, Linus Walleij wrote: > This is an attempt to rewrite the Marvell MV88E6xxx switch bindings > in YAML schema. > > The current text binding says: > WARNING: This binding is currently unstable. Do not program it into a > FLASH never to be changed again. Once this binding is stable, this > warning will be removed. > > Well that never happened before we switched to YAML markup, > we can't have it like this, what about fixing the mess? > > Signed-off-by: Linus Walleij > --- > .../bindings/net/dsa/marvell,mv88e6xxx.yaml | 249 +++++++++++++++++++++ > .../devicetree/bindings/net/dsa/marvell.txt | 109 --------- > MAINTAINERS | 2 +- > 3 files changed, 250 insertions(+), 110 deletions(-) > 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/marvell,mvusb.example.dtb: switch@0: ports: '#address-cells' is a required property from schema $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/marvell,mvusb.example.dtb: switch@0: ports: '#size-cells' is a required property from schema $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/dsa/marvell,mv88e6xxx.example.dtb: switch@0: mdio-external: Unevaluated properties are not allowed ('compatible' was unexpected) from schema $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/dsa/marvell,mv88e6xxx.example.dtb: switch@0: Unevaluated properties are not allowed ('mdio-external' was unexpected) from schema $id: http://devicetree.org/schemas/net/dsa/marvell,mv88e6xxx.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231013-marvell-88e6152-wan-led-v1-2-0712ba99857c@linaro.org 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.