Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1860725rda; Tue, 24 Oct 2023 05:49:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEXNpDdCKaSIXfxSGnQC6EtYFmCobvc3lCmXl/jptcJRLEvP41Ujhw9WSLoq4qIl3UB3Bnf X-Received: by 2002:a17:902:b28c:b0:1c4:335:b06d with SMTP id u12-20020a170902b28c00b001c40335b06dmr9769099plr.32.1698151749023; Tue, 24 Oct 2023 05:49:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698151749; cv=none; d=google.com; s=arc-20160816; b=jPRmuPHI7VMeMsYKbw8Tu7ALCNG1f7cuGCmN5XXO105LfmGTb69uU6HfanYJm26BuJ Wlr1INkFMrCQUpg4Lgq5ImKfCfhop3h9JDxZOnu3inFBPO8eLshEZLxIrh+N3vtiAIBK JHWqSR5CRUa/DwMImmmv11lksDGKhLI1o0ocewkbvPU80Njx4geOriNnDRQpW6dW7pV4 BXKcn2YGldEvseEwpz5Yg/eDSIwJ4gA0kEPA2LH4gdvRViS6whhfeJDXb/vgY9nSY42/ isyob2Sttg6QkPheQg5n30O/5H72Le+R9hRxnpeeQC3bHFxslacfoFpRfRnqzVVOpJRm RbNg== 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=n7IhxXRlskYcJ5lLaoUuwURziaHmVBMP8WH2znEzqGs=; fh=H5+jaum8d4aVW7/jLwbkQNNcTWwGTaJQS9pPn6ZnYnY=; b=V5YxtT1qDvxESxcQwq50BVgmTXOhoBPN4h+r5GdD85MqzNdzxv9TnoVngJTVgdqkvj fso2IQp/Q3aB2xWobiUqUUAg7dZsnvmOuTJv8u6MMhU+NAgDn3qel8oLdwkERtl98B2b BaWb6yZRstrfXHGnj+N3QU7Lpkq04HOqDszdKLuup17aMLRc4AFWV6a/adZdP5AvF+lo k2Vt4/awVmXPVwQ0rfU6HYb9q0IWY9cwVrJ9MWrENpbMfYRjOTRujiLXX8/4kXxP80rZ RIYMFLQkI4/oTr4fDrL4XpHcs2jpjh1KhC61TuJIP7u33xf7RrSgMB2xgXu9L/fyHNIa cGTg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id b5-20020a170902650500b001c61a231d33si8271214plk.292.2023.10.24.05.49.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 05:49:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 1C1548041183; Tue, 24 Oct 2023 05:49:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234374AbjJXMso (ORCPT + 99 others); Tue, 24 Oct 2023 08:48:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234372AbjJXMsn (ORCPT ); Tue, 24 Oct 2023 08:48:43 -0400 Received: from mail-oo1-f42.google.com (mail-oo1-f42.google.com [209.85.161.42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE311CC; Tue, 24 Oct 2023 05:48:41 -0700 (PDT) Received: by mail-oo1-f42.google.com with SMTP id 006d021491bc7-58441865ffaso1721340eaf.1; Tue, 24 Oct 2023 05:48:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698151721; x=1698756521; 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=n7IhxXRlskYcJ5lLaoUuwURziaHmVBMP8WH2znEzqGs=; b=Y1G1q7jMc74LjCLEaUd89MOJzvtgH/hCuk0gBlKSPZiBH/9khLZA19KdaebICO72dK 36+CA5S54aH2hJtaraXaG8bpOWtldTTVaucUqMqKa6cUlB6LCc4C6xmvSY819timovrU 8aYxXVAYaV9V2UxEd7xDUNq34qYfD2JyT0KCCfbJYUfIEifjesj9KSmlxtso954hZ2Nj 8MQOZSULS4QCkrktF/EYgSZtduEjx3g2vBDAEqEPi6ssONhK82FHbipHn+Xwn/eJhiE3 dxNwyxhchXkwf8YuAFHjJ0eiYHVWX5zJebiklKUkYJkfTcSuggvuCBdeBqMYzSz/d7JW brpg== X-Gm-Message-State: AOJu0Yy22eGZP7B8TcvYu3ogQc4fsS1I1PbCeAWCPaaIBWxcYvA0hyvB DOK17dUqUJpfldawpntU+Cejd1poUg== X-Received: by 2002:a05:6808:18a9:b0:3af:5fea:2f7b with SMTP id bi41-20020a05680818a900b003af5fea2f7bmr15719454oib.47.1698151720916; Tue, 24 Oct 2023 05:48:40 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id bj6-20020a056808198600b003adcaf28f61sm1924931oib.41.2023.10.24.05.48.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 05:48:40 -0700 (PDT) Received: (nullmailer pid 3451039 invoked by uid 1000); Tue, 24 Oct 2023 12:48:34 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Linus Walleij Cc: linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth , devicetree@vger.kernel.org, "David S. Miller" , Paolo Abeni , Russell King , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Andrew Lunn , Jakub Kicinski , Krzysztof Kozlowski , Conor Dooley , Vladimir Oltean , Florian Fainelli , =?utf-8?q?Marek_Beh=C3=BAn?= , Christian Marangi , Rob Herring , Eric Dumazet , Gregory Clement In-Reply-To: <20231024-marvell-88e6152-wan-led-v6-1-993ab0949344@linaro.org> References: <20231024-marvell-88e6152-wan-led-v6-0-993ab0949344@linaro.org> <20231024-marvell-88e6152-wan-led-v6-1-993ab0949344@linaro.org> Message-Id: <169815156038.3447619.17571704457000261488.robh@kernel.org> Subject: Re: [PATCH net-next v6 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports Date: Tue, 24 Oct 2023 07:48:34 -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 pete.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 (pete.vger.email [0.0.0.0]); Tue, 24 Oct 2023 05:49:06 -0700 (PDT) On Tue, 24 Oct 2023 11:24:53 +0200, Linus Walleij wrote: > Bindings using dsa.yaml#/$defs/ethernet-ports specify that > a DSA switch node need to have a ports or ethernet-ports > subnode, and that is actually required, so add requirements > using oneOf. > > Suggested-by: Rob Herring > Signed-off-by: Linus Walleij > --- > Documentation/devicetree/bindings/net/dsa/dsa.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > 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: ./Documentation/devicetree/bindings/net/dsa/dsa.yaml:60:5: [warning] wrong indentation: expected 6 but found 4 (indentation) ./Documentation/devicetree/bindings/net/dsa/dsa.yaml:62:5: [warning] wrong indentation: expected 6 but found 4 (indentation) dtschema/dtc warnings/errors: doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231024-marvell-88e6152-wan-led-v6-1-993ab0949344@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.