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 9BED7C25B47 for ; Mon, 23 Oct 2023 17:41:27 +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=AH0ky+9miJu4hzqmaU63Fttzm2YQ2QFVzu97dU/6GWo=; b=F0F9WGvqH1w0ss F5OIO2h3/Vn1kK1t/vft8oYNyPMI9rotHBQtFK7Q8bqtPwoHJhsR44alebpEDZ8Wkvn8KbNYtpZwV iZZuf+xBMIrES8YYAcpDGPxtOCccN0axwhHYxKYux9ufwRnhJq/tAOvvyUyzg1JfV3iXIM06uO5Er CqY7WAjD1SbhQ9Sx1360FAF7KIQTcMe3fZCTRGqDFAQoYA0b+M6UU1jwUyMRc8A8jShgw0E+cV4zr pggI3r4udCDU2tcsbgF8H2/bfW32urSNxXTznypqTWQNO3aO3++08PMWV/jKT6D61QqTqIRbTHjug zRIVpot/L48IcYj3itsA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1quyvK-007z6T-1U; Mon, 23 Oct 2023 17:41:06 +0000 Received: from mail-oi1-f170.google.com ([209.85.167.170]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1quyvH-007z5E-2T for linux-arm-kernel@lists.infradead.org; Mon, 23 Oct 2023 17:41:05 +0000 Received: by mail-oi1-f170.google.com with SMTP id 5614622812f47-3b2b1af09c5so2087456b6e.0 for ; 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=n2BLhijLCvLooTr3SLMcnafYZPnZav/riOQ33tMcln8XIyTCmV7QDAwtQXRI2QUiTQ H7MH6pWiGEQBzGt6TLyaufoCqkmi3bm8o+suvZ68dV1ATuXzKZUtBx7aM/0cd0ZDgqmT /XW7yIYvm1GmPFikn9ebAo/gMzPLcl91SpI7khS1DAqg8kJca2BEyLY15PEHO3Cohcm6 jLpolw3XaM/aOufwZ43RCkuJ+JksCLe+SiKbminU7sat1bGzalDLfCgPcHCIoeDvVSIg HuGsd4Umkvkq/HyjpNCEp3aSnSVdvwv4THlTUg6IUVVsEKhQLfx/Y++USu7/HSc2sSSP xXCg== X-Gm-Message-State: AOJu0YxeTO/xT5j9qc4hpr4FQ4W+acTqFUlsIZWijz3cfou2i7NKTqB3 BCvqOqD9b6FMRNyGM3jLsQ== X-Google-Smtp-Source: AGHT+IHV9ojFzaeIhztF8lWZjX/vfptW0p5inXTEfvWm3/N7Fj8s4KWJ5FOFJN8T6j84XIOkU8V+vw== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231023_104103_798395_375C02F8 X-CRM114-Status: GOOD ( 14.68 ) 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 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. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel