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 1ED31C4332F for ; Tue, 14 Nov 2023 02:03:59 +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=PVsAs47XtTLRyJd1dYjarnB2aohVPgykL1a3S5o7AXE=; b=N2/XCq2X2ItS6o QbFmwlcTEYmjiZKKLSvkyj2w2FcUdIn6YRT4ZaZkJkx4v4ukFS7E/G/xp00JwshPB8z615HGaJTd8 pozfl5c25TO6O8NsgKdO2lg+mby0CFi5FHGBVMQpjpDkd47F7Wu4wgADaHlCcexGeCsVnFTxJllSl PSiuvQngxeyEN9r+Bvk5e7MdjtwYwmVmPM7AcDDD2wyyUWg4eq2osZFTMgkSJMaxhocC57gnHG8tJ ENn+WkHdNx9ftBpJxFslcdBVuZnARxJxKr7kyCgMRF+vj7grLpgezRz2mSNjIf/79Kbg34hywH1gm GFKqUhiQs/we/XVJxA7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r2ilw-00F2Fb-26; Tue, 14 Nov 2023 02:03:24 +0000 Received: from mail-oi1-f178.google.com ([209.85.167.178]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r2ilt-00F2FF-0p for linux-arm-kernel@lists.infradead.org; Tue, 14 Nov 2023 02:03:23 +0000 Received: by mail-oi1-f178.google.com with SMTP id 5614622812f47-3b2ea7cca04so3135247b6e.2 for ; Mon, 13 Nov 2023 18:03:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699927399; x=1700532199; 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=3QCfTjRiCz/DzkCe1cM9AjRQBmoPaZC036Y8ShSbLoo=; b=W8lIg20rglVJEiqxI+XprUuwymkCa734PMXXqKmO8s49HQz/Uf+QC3UBrc3sJuAJuD 0i4fMX4O5br9Z150Sj6Lz74EaDy/wOH0LfHSLWbN/OYOE3Gicf7QoxQD+R9rCH8ohckk +6rQ1nSFNwLhuzSXIankKDRJzCXUqZOYfRakcQa88ThvPqif+ABXjkveKSEJcDK9WxqP oVpBWSeJpN2Xp2kh0C6JWDFzkMub/P6+Krp10QFJ7SbAeN15+dxmW4YAIbAbipPbyU9g Ew4tKRgLiWJ9r0b47j1FByrzk5Akes1/KRZisB1Fj544LREFk1f42SCMUz20HOtXJUCq hG5g== X-Gm-Message-State: AOJu0YwMiowq4Uhdcv4c4bJCVxQ4yxxf3EwpFPiRu1BMKTFXFhY4IM9x lEnJt2+KzI0fKybPkYz8ZQ== X-Google-Smtp-Source: AGHT+IGNhdjn69qylIMWJZG44A4aCt+rpAV1f6vOuC1Wj18EeE9NqpmNUo+WyjgB8wJNaTV8XLb9Tw== X-Received: by 2002:a05:6808:a0c:b0:3ae:16aa:8ba9 with SMTP id n12-20020a0568080a0c00b003ae16aa8ba9mr9873991oij.30.1699927399003; Mon, 13 Nov 2023 18:03:19 -0800 (PST) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id n7-20020a0568080a0700b003ae540759a0sm993772oij.40.2023.11.13.18.03.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 18:03:18 -0800 (PST) Received: (nullmailer pid 301813 invoked by uid 1000); Tue, 14 Nov 2023 02:03:15 -0000 MIME-Version: 1.0 From: Rob Herring To: Linus Walleij Cc: Krzysztof Kozlowski , Vladimir Oltean , Gregory Clement , Rob Herring , Christian Marangi , Jakub Kicinski , Florian Fainelli , Conor Dooley , Florian Fainelli , Sebastian Hesselbarth , Russell King , "David S. Miller" , linux-arm-kernel@lists.infradead.org, Vladimir Oltean , Paolo Abeni , Andrew Lunn , devicetree@vger.kernel.org, =?utf-8?q?Marek_Beh=C3=BAn?= , linux-kernel@vger.kernel.org, Eric Dumazet , netdev@vger.kernel.org In-Reply-To: <20231114-marvell-88e6152-wan-led-v8-2-50688741691b@linaro.org> References: <20231114-marvell-88e6152-wan-led-v8-0-50688741691b@linaro.org> <20231114-marvell-88e6152-wan-led-v8-2-50688741691b@linaro.org> Message-Id: <169992739589.301792.1356820385901192007.robh@kernel.org> Subject: Re: [PATCH net-next v8 2/9] dt-bindings: net: mvusb: Fix up DSA example Date: Mon, 13 Nov 2023 20:03:15 -0600 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231113_180321_318734_FF60656E X-CRM114-Status: GOOD ( 18.00 ) 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 Tue, 14 Nov 2023 00:35:57 +0100, 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. > > Reviewed-by: Andrew Lunn > Reviewed-by: Vladimir Oltean > Reviewed-by: Rob Herring > Reviewed-by: Florian Fainelli > 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/20231114-marvell-88e6152-wan-led-v8-2-50688741691b@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