Message ID | 20231024-marvell-88e6152-wan-led-v6-2-993ab0949344@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp1818999vqx; Tue, 24 Oct 2023 02:26:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEx792+cdvJdfblNEAtqkCvM6H4FlC9IMKb45eReH4iiVjfq7XOuT8Fw1/BJP60/rwHNQOR X-Received: by 2002:a17:902:e889:b0:1c8:8f5f:b610 with SMTP id w9-20020a170902e88900b001c88f5fb610mr12670996plg.13.1698139597915; Tue, 24 Oct 2023 02:26:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698139597; cv=none; d=google.com; s=arc-20160816; b=fmEHZEy21Hs0VIL2kRlki2Xqag+8oKudbLDFtWRjyx1XJoUyzOhWoSV2e/ZFrunumo AHuXYjNOyFeDhUFTm/zmoYlNKjUQLc3luQGFrxjngUwR7ch2DX7M+DXgifJ3HinR2oQV fQlNRI9Ho5PdE4xsDmipS0RbCJHtngMyvyPPoHJowDynHUwyTCYQHIalKjJDnK/2NfK2 DtC+U31Hcee6cN3p3eg+IgAWTKQtMpr88Kypt8xit667yfPDxkGXT2OJIWoZNHFcfuCK +CTCwW90wcJHy8lBtSVCE01Qog8Ltnnah+tjT3OEkN4oasAF+W0wcXRoiJQ96aC6BWEH aQsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=Q8dS0fiX8s3oTQdiSNWl2/6C6tud53gSSackCKtgSFY=; fh=2+V6Ps3JdvX/yAVqaiftiVHUj1hQH1I9FRVFoPN224g=; b=w7s71n9u6aB3Q5yHm2dwKERUD7JEy8jirtbkYSOiOb7TcqT1YPvthSbMBB/GdjnBTQ 1BfXsOz+U1Wfz+Phy9WbL/RxeT3vKZHC1jlTlhXRBEz9lBEIbJqzDr0FUuv0oVOY0J2e zo81RXN+m9qN+2mGVBIVCG61osbl1QtSVVWp/ZMh/sLjnRXfzulS0cAekZz4jnmLCbgS FqmfY0hajIcS3M91xcpx+/PR2pZALWpWF1qexQ4e5EXAthz0Ll6YR9UTQU18U9V/rIhj BkWNALvfDCc6Ol2uCcVM2Pg6Q3ny2OtyT2IfRF8alj7E5ZrPhkzk5lnwbeUwZfp/V2ox i22g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZJK7aXHL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id b3-20020a170903228300b001cae5779ed3si4033473plh.493.2023.10.24.02.26.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 02:26:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZJK7aXHL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DD5648079CB5; Tue, 24 Oct 2023 02:26:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234087AbjJXJZ0 (ORCPT <rfc822;a1648639935@gmail.com> + 26 others); Tue, 24 Oct 2023 05:25:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233990AbjJXJZS (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 24 Oct 2023 05:25:18 -0400 Received: from mail-lf1-x133.google.com (mail-lf1-x133.google.com [IPv6:2a00:1450:4864:20::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB41710D4 for <linux-kernel@vger.kernel.org>; Tue, 24 Oct 2023 02:25:15 -0700 (PDT) Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-507be298d2aso6182732e87.1 for <linux-kernel@vger.kernel.org>; Tue, 24 Oct 2023 02:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698139514; x=1698744314; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Q8dS0fiX8s3oTQdiSNWl2/6C6tud53gSSackCKtgSFY=; b=ZJK7aXHLn8PZUNU9rlSyESEpqM8kDce3ggBMM7u9hhH3jA44nHlr46RX8m9ufR05Ds kKSftvCEO9Fis5RWAnXH9VkULmP1jEJPqLQlr3pmbMoq60o6cY5v0xBobnDiRuEAHjbB Qvelouw47JRi5Qw0x1zR10DDyo1Uxdgz0b70/V/sebF7Ge9YfrgNhbxIzBGo0zkWKdd9 DubP2vHdqbOODSwj23GXiRiCeew4zypchVi7erGM8mw41S1rNfmduMJKLBsSTGkKXYSm S0SgcyhCG6P1EJ5j+8dfojyHzs/y9G6P5eSdAOSlffp0NJvuKqMHvyOPNzlEWuSFGBCa fXNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698139514; x=1698744314; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q8dS0fiX8s3oTQdiSNWl2/6C6tud53gSSackCKtgSFY=; b=AGtcQwNYECxD6+b9Xgw+P2+2WI0fcG0mkNHtUrjtRJ7X5GXkbSTdOs0AX+m8WgRqUh RilAgU1X2dNFqzKgi2jS/Gg6gPcSdCc8yvMyc3uGu+MAdTxy0e4S7cdtFBImIaLB18PG /qCMFZG6aNk2TkysR3+4F+xR4FLev7vSymZaiJtsKrY9+hp0CYhQYjZdB3nrM+6z2Vrv AYDRSJVPs4B7zkaMGxhatl6jOHzZWZ0ogK0e3lZ/i8bE5XYXsZbmM5bAkeEqRaqZgmR0 Ccpj3pPjaU6g1hy8uc97khfogo6gdvSPofY3M+DAYdVZNjpCHVHCz9SfVe8lni4lY7YI Cxng== X-Gm-Message-State: AOJu0YzKiJOeOasrLvSU7vUPMletF4u3QTjhoRgAW841zoZ2QJImmbra Cp3i95oBe/juBvlBorjlgCutZw== X-Received: by 2002:a19:8c46:0:b0:507:a087:622a with SMTP id i6-20020a198c46000000b00507a087622amr7387307lfj.60.1698139513947; Tue, 24 Oct 2023 02:25:13 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id c12-20020ac25f6c000000b004fbc82dd1a5sm2060246lfc.13.2023.10.24.02.25.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 02:25:13 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> Date: Tue, 24 Oct 2023 11:24:54 +0200 Subject: [PATCH net-next v6 2/7] dt-bindings: net: mvusb: Fix up DSA example MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231024-marvell-88e6152-wan-led-v6-2-993ab0949344@linaro.org> References: <20231024-marvell-88e6152-wan-led-v6-0-993ab0949344@linaro.org> In-Reply-To: <20231024-marvell-88e6152-wan-led-v6-0-993ab0949344@linaro.org> To: Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Russell King <linux@armlinux.org.uk>, Florian Fainelli <f.fainelli@gmail.com>, Vladimir Oltean <olteanv@gmail.com>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, =?utf-8?q?Marek_Beh=C3=BAn?= <kabel@kernel.org> Cc: Christian Marangi <ansuelsmth@gmail.com>, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org>, Vladimir Oltean <vladimir.oltean@nxp.com>, Rob Herring <robh@kernel.org> X-Mailer: b4 0.12.4 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 groat.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 24 Oct 2023 02:26:08 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780628426938801951 X-GMAIL-MSGID: 1780628426938801951 |
Series |
Create a binding for the Marvell MV88E6xxx DSA switches
|
|
Commit Message
Linus Walleij
Oct. 24, 2023, 9:24 a.m. UTC
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 <andrew@lunn.ch> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- Documentation/devicetree/bindings/net/marvell,mvusb.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml index 3a3325168048..ab838c1ffeed 100644 --- a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml +++ b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml @@ -50,11 +50,14 @@ examples: #address-cells = <1>; #size-cells = <0>; - switch@0 { + ethernet-switch@0 { compatible = "marvell,mv88e6190"; reg = <0x0>; - ports { + ethernet-ports { + #address-cells = <1>; + #size-cells = <0>; + /* Port definitions */ };