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 BF336CDB47E for ; Wed, 18 Oct 2023 10:33:25 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Date:Subject:Message-Id:References: In-Reply-To:Cc:To:From:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wcJFQcfPMJmsTDbg/Plv+vgNgG4qAbM1TxS9EfyBmKg=; b=Lltnp6uG3B5vwW ZvlcTj096G1QJMhaHwm1IhoxmhGPKT8nSAv8ZMwljZSRi6MTRxMh3NAAWlpiifqq7h4zrmmTH04jh KcCDSI235wy8fHmEPQnctjtR8scVbMggnzm6OFWx772EijD1NrIJhy2BPBqgP/JyB/RgKWS27adpN nNsRFXZkM3Wb6uROafeGDxyca4S7BSAI6XDVXxBkKuP2OhVW/nE/CUCdRFxH/hpkt5MUclW743nwF VrG18Uu+RDGyiTv/4xRUr37z7eoezFh1X6Hq2tTawKJtoHEWIjK/aGm7bNgMiLfB+1XuScFGvM9ND PHXl7Gmxd5mm4QZbljhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt3rK-00ERpc-08; Wed, 18 Oct 2023 10:33:02 +0000 Received: from mail-oi1-f174.google.com ([209.85.167.174]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt3rC-00ERlk-2v for linux-arm-kernel@lists.infradead.org; Wed, 18 Oct 2023 10:32:56 +0000 Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3af609b9264so4363073b6e.2 for ; Wed, 18 Oct 2023 03:32:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697625173; x=1698229973; 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=UmbVrx3kvH0r68sBw/GJCPYCHWMUhOzKvn9kROVZewE=; b=UJM1h65E6er7crey/l+ltLGGKkdoszW5UyaEwKSkM3lh9U5N3txsV/3I4MlDHro76B DOhV+FoUAG8pDw9b0A0TKVCatoeNwZ/B+Y5rQlkIFRLuohKChm7zRAXJpYg9LIDL7Y6+ LnsKIJ+FnnA7QOQo7eoM9hxrYEZOo6xpp8POOv6K+NjnX83YBU9o6Zwq6xXx/FpaulkY lBB6O7k8dYy/hE33hFqHga22fE3U0aqOzyhzjjYNTa9ztQvUtOPB6tM4N0BvjPmbMDrd e016XS7ENPGhJ3Fo03ro+mUzUnEnLK51gyNg3s4tjYgX25fHGiH1pN/a4yrWYujfnTeZ 3Oew== X-Gm-Message-State: AOJu0YxGCxaV1HCtEfyDE7KNM0BV1BVgCEMb0BB3h5wXReKb/eAk0Fsk 2NkvWD9rZT6bNPH4Wh0CiA== X-Google-Smtp-Source: AGHT+IGguJvx7euIHkwYhW8loUuEySlqQJw1vUUYeEeRd6xi6pZbiyhYle0ERX9CZ29XjjXgVF4Lyg== X-Received: by 2002:a05:6870:310d:b0:1e9:9c39:a580 with SMTP id v13-20020a056870310d00b001e99c39a580mr5430942oaa.7.1697625173637; Wed, 18 Oct 2023 03:32:53 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id eg48-20020a05687098b000b001e9a253afa3sm636004oab.49.2023.10.18.03.32.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:32:52 -0700 (PDT) Received: (nullmailer pid 391917 invoked by uid 1000); Wed, 18 Oct 2023 10:32:48 -0000 MIME-Version: 1.0 From: Rob Herring To: Linus Walleij Cc: Vladimir Oltean , "David S. Miller" , Jakub Kicinski , Rob Herring , Eric Dumazet , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , Sebastian Hesselbarth , Andrew Lunn , Florian Fainelli , devicetree@vger.kernel.org, Christian Marangi , netdev@vger.kernel.org, Paolo Abeni , Russell King , linux-kernel@vger.kernel.org, Gregory Clement , Conor Dooley In-Reply-To: <20231018-marvell-88e6152-wan-led-v4-2-3ee0c67383be@linaro.org> References: <20231018-marvell-88e6152-wan-led-v4-0-3ee0c67383be@linaro.org> <20231018-marvell-88e6152-wan-led-v4-2-3ee0c67383be@linaro.org> Message-Id: <169762516741.391849.18342287891015837205.robh@kernel.org> Subject: Re: [PATCH net-next v4 2/7] dt-bindings: net: mvusb: Fix up DSA example Date: Wed, 18 Oct 2023 05:32:48 -0500 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_033254_948282_B10B3992 X-CRM114-Status: GOOD ( 18.04 ) 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: , 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 Wed, 18 Oct 2023 11:03:41 +0200, Linus Walleij wrote: > When adding a proper schema for the Marvell mx88e6xxx switch, > the scripts start complaining about this embedded example: > > dtschema/dtc warnings/errors: > 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# > 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# > > Fix this up by extending the example with those properties in > the ports node. > > While we are at it, rename "ports" to "ethernet-ports" and rename > "switch" to "ethernet-switch" as this is recommended practice. > > Signed-off-by: Linus Walleij > --- > Documentation/devicetree/bindings/net/marvell,mvusb.yaml | 7 +++++-- > 1 file changed, 5 insertions(+), 2 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: Documentation/devicetree/bindings/net/marvell,mvusb.example.dtb: /example-0/usb/mdio@1/ethernet-switch@0: failed to match any schema with compatible: ['marvell,mv88e6190'] doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231018-marvell-88e6152-wan-led-v4-2-3ee0c67383be@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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel