Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1379763rda; Mon, 23 Oct 2023 10:41:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEhRUm3Qz4jTPOdxUu7uf8yOhv7/xATapHLV5uCsPJk/fMD1C83tZp1tPR+cuZ44WR+ZEvk X-Received: by 2002:a17:903:1112:b0:1c6:117b:7086 with SMTP id n18-20020a170903111200b001c6117b7086mr10993672plh.5.1698082918507; Mon, 23 Oct 2023 10:41:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698082918; cv=none; d=google.com; s=arc-20160816; b=lcJYke2VpoSYrBHFmWRYuRGpLvHSllyAoPAVj4qWPmK01P8LJWJh+MCg6d9ilS8oBK 4L048m9S8wLu+UHXAbyHXYZfKg6gWEAohs/4Fyus3koqGO+eXNXpbt7cv0xcfSYATKB4 fhknWDGBa6vaNW7Vp7OHka2AwSxDN2KBUCcdhysAWWRZztULQCA1Id8ZYh7iZd/wunoq uHl6xvkvlaZ+Z6xSqZSx/cL5eW/621hJkVm3uCGYPoC4Jiq3GJ1009ZeLgglRsTX0qhz H6kjLFANYW0xZSmhs/w8dxYSh1kKP1x9cnhTCPYnI8ow3fSVxMMSaCFxFGAf+T2fZIlC L1EA== 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=pmqnrhI90Z1XEYPu0vBhhTnhUoWJuxsH4Kz9QXi9qtg=; fh=leurrdXig4unny+GCtz9NObAcI4nyxatJCxMka6YwhI=; b=ZtK/mb+Iy6v21/L5fHL5578K2/pRyfsASj01aI0jRebesysr/PEAcBO6NhUcia9hB7 vYW1dN0ehKpbndAuTAbeVN9GO7cXwLTOd39v4LjEeSt6kFTFBMQRn5F0B7gYKrw1Cpo6 YXvdeCXOrxit+f1db/oREwVe9VZBlHDvt8VWOxb1aZ7/n8kmEi5RPaid4nmvNjV7qCw4 HHmzIaWZ76cl3ktrzDGqTrIvrpvMpqaFEy1lLJA+txwkv8OvpPjxIYWdBTpQjwcJ0nZG aY4HZqsBT97qyAsU0anNlPPjG3OgmXMn3pRRK7xjhn8UjKVMxDgy0MR4G0epQmpKpTAH XujQ== 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:6 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. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id t1-20020a170902e84100b001c60ee5a9dcsi3780985plg.428.2023.10.23.10.41.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 10:41:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 796F880621E6; Mon, 23 Oct 2023 10:41:45 -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 S233965AbjJWRlT (ORCPT + 99 others); Mon, 23 Oct 2023 13:41:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233932AbjJWRlI (ORCPT ); Mon, 23 Oct 2023 13:41:08 -0400 Received: from mail-oi1-f178.google.com (mail-oi1-f178.google.com [209.85.167.178]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65D6710CF; Mon, 23 Oct 2023 10:41:03 -0700 (PDT) Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3b2b1af09c5so2087457b6e.0; Mon, 23 Oct 2023 10:41:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698082862; x=1698687662; 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=pmqnrhI90Z1XEYPu0vBhhTnhUoWJuxsH4Kz9QXi9qtg=; b=UTjxkGvtLud72/hOwlcXscEp+CUeIS/k6aT859xrmwj4WMAcMyuLyNwnry6sLzQI6K RI4vtcakXeg6PziXIPpYcL7hi1XCPiXK3OF93+wJp4MMEwG4+n6JsC9IrarLVExwR5CF ilLpb03MhD6i1XhxZcMmJ7qjJFVEb7zFZ+dRlHDJDNOQq112t6p46gONAuzYLXP1XTix vg4zoqnVksc3oXarq/tX5aJYGUbCoOKUwNkAgxVZV2SYRuuWRXt+2VqzmYI5L+MaVSEy nduMJdy2Prq2KIG88jLG5DXJwwXV+oKoNi/S7gxonxBcEjzNvwe0tt8rc64/KiVV7tmt eJNg== X-Gm-Message-State: AOJu0YzqrcSn731oQnJsiuj5zeoDxN0/QxZIb/ovLhZibDuzFJg9Dr3k OOcjUs34543nXZfj8PDq5Q== X-Received: by 2002:a05:6808:bc1:b0:3a9:cfb5:462a with SMTP id o1-20020a0568080bc100b003a9cfb5462amr10051960oik.36.1698082862515; Mon, 23 Oct 2023 10:41:02 -0700 (PDT) Received: from herring.priv ([2607:fb91:e6e0:8169:8cd7:6070:de02:c079]) by smtp.gmail.com with ESMTPSA id r5-20020a0568080aa500b003ae540759a0sm1560522oij.40.2023.10.23.10.40.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 10:41:01 -0700 (PDT) Received: (nullmailer pid 864626 invoked by uid 1000); Mon, 23 Oct 2023 17:40:49 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Rob Herring To: Linus Walleij Cc: Andrew Lunn , Gregory Clement , Rob Herring , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Conor Dooley , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Russell King , Eric Dumazet , Jakub Kicinski , Florian Fainelli , Sebastian Hesselbarth , Christian Marangi , Paolo Abeni , netdev@vger.kernel.org, "David S. Miller" In-Reply-To: <20231023-marvell-88e6152-wan-led-v5-1-0e82952015a7@linaro.org> References: <20231023-marvell-88e6152-wan-led-v5-0-0e82952015a7@linaro.org> <20231023-marvell-88e6152-wan-led-v5-1-0e82952015a7@linaro.org> Message-Id: <169808265708.861114.9088023510447543664.robh@kernel.org> Subject: Re: [PATCH net-next v5 1/7] dt-bindings: net: dsa: Require ports or ethernet-ports Date: Mon, 23 Oct 2023 12:40:49 -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]); Mon, 23 Oct 2023 10:41:46 -0700 (PDT) On Mon, 23 Oct 2023 09:18:52 +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:7: [warning] wrong indentation: expected 8 but found 6 (indentation) ./Documentation/devicetree/bindings/net/dsa/dsa.yaml:62:7: [warning] wrong indentation: expected 8 but found 6 (indentation) dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/dsa/dsa.yaml: $defs: 'oneOf' should not be valid under {'$ref': '#/definitions/json-schema-prop-names'} hint: A json-schema keyword was found in $defs key. from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/net/dsa/dsa.yaml: $defs:oneOf: [{'required': ['ports']}, {'required': ['ethernet-ports']}] is not of type 'object' hint: $defs entries must contain schemas from schema $id: http://devicetree.org/meta-schemas/keywords.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231023-marvell-88e6152-wan-led-v5-1-0e82952015a7@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.