Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3697326rdg; Wed, 18 Oct 2023 03:33:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHBVk4/Q3vohzhKMYLd+tKyCDF+o7EhHHFzkFaFvYah1G1jku1Y3dHmpVm7BbM8QIVkCMH9 X-Received: by 2002:a05:6a21:114e:b0:154:3f13:1bb7 with SMTP id oi14-20020a056a21114e00b001543f131bb7mr4147517pzb.49.1697625195180; Wed, 18 Oct 2023 03:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697625195; cv=none; d=google.com; s=arc-20160816; b=w93mTe79tksiLARNeidjYh3r3h9WPFmqHjvidc81GJhddIUXBj1hYrZERM0XPZqx5D NJBWWQ9MgXrQOrdPHB3Dx7iii1vRcSVI+BcFzBLdrRnUU3ZbGKq+Gu3T5bQH6ST0oBwH jHAq6gtmnFvUlCycefk4oKRqm1ICn1MSBK7ex62Rffp/Sy6dbUGpNr0HTnv+448virRl LuCzQS52n9KtLKLltXoC4h0T6e+Pxad7pSjq06rr9VA7U4mRm6nrgIFpt1/VIoiOgZzx wiWC/W1WkmN83xLMTfui1I0hjfoKEprYE/Ir3Xxsi2cY2onClrvT5A2lwXmlXaVLhlY1 nH1w== 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=UmbVrx3kvH0r68sBw/GJCPYCHWMUhOzKvn9kROVZewE=; fh=Ivznon6aTDmJmT/i7M9cgqk9q5PTuIwdyP45jHillTk=; b=khvp23I7W50p8CMLbl2ASq3PTBU+oOb2UuZFkTtSlgPxGQxIRZNZc2Okiumd/KpV5w ILACiZHnBMCB5UA1dnnSD+x7TlyxRSLXMrBzPsqi5cLzTuLrJedj1SRxyhFIeB3hIYAl my5gjS+dDhHxs97juGmiPC87FEm+zaCOW595wfpmaNLVl/HB9XlhZTzUHPLS8QxhAJZF Y6564z04HK3O4JRmq6wuIyTdk5fnvhTCV/FIPGOKFdQnjUH3vQDl8JTiGxkvdu27gS/4 /usyoyzQTP2YA5ChfHwsKSjQFB/MrQhuRKEJnC65Einvne+htF5q6q36VK4LfD4kb4BC kb9w== ARC-Authentication-Results: i=1; mx.google.com; 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 t7-20020a170902bc4700b001bbaa5e95fdsi649923plz.102.2023.10.18.03.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:33:15 -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; 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 B2DB4803C44D; Wed, 18 Oct 2023 03:33:11 -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 S230124AbjJRKdB (ORCPT + 99 others); Wed, 18 Oct 2023 06:33:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230475AbjJRKc4 (ORCPT ); Wed, 18 Oct 2023 06:32:56 -0400 Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C9B1EA; Wed, 18 Oct 2023 03:32:54 -0700 (PDT) Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-3b2f2b9a176so25838b6e.0; 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=bsEEN0rjgjp0QWLZt17vhvxPBOhE5kTZNX1hW3AHnHtVjNsTjLorFpsKaWaQ33/c/R nDAWyJOctkC8f3vJkhtVIQrgnVU6mILMeXXWg+Uk0n0naMmbRf1jMHHVZ5PQ1ySU8qsX wU2l3tHqc0GlniqKZId73T7P0QdfVT5Lm7cX2qam1fWkKbLIvWmZG6ibMwwL7CNTe3EY YfRQM02C7SvV7DHY6Eo+YZVS5hnUZdIyZNuQcXTBaf/qf0TZCCWN7fxSPbB5/WCQswCR DnPiI+ZqSCoLdAVs/fNJpEutkVCZ+6Y13IPdZTkETQOoVwV1mHey2js21J6S9X29KH4W rAbw== X-Gm-Message-State: AOJu0YyaKpi7/tRealCvXRXRrdHxM9egVM8zILEIiSOnXBKOZRv9Zg8k N2icn7hKIthHmTQqLiN88A== 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 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit 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-Spam-Status: No, score=-1.0 required=5.0 tests=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]); Wed, 18 Oct 2023 03:33:12 -0700 (PDT) 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.