Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1053919rda; Mon, 23 Oct 2023 00:19:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFV5q3rRbQ9+FKTw3oo3nvALtXbLcXWZuyUBnIjA2zV1C77l08kPg93M30sJyvW5BfWvbzH X-Received: by 2002:a62:790b:0:b0:693:394f:5d99 with SMTP id u11-20020a62790b000000b00693394f5d99mr8541444pfc.8.1698045568260; Mon, 23 Oct 2023 00:19:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698045568; cv=none; d=google.com; s=arc-20160816; b=l3f353i8Fu9QM8Uudebi8YpiKgUoP/9eOOx5RH/jvp5mHQGf+MFuD+X9AMrZ5C+vuc Xu8D+UDGS+Re1oXximoeankbRtyYdBAAmN5fkFVB8+JxdBni9rZgdNV0y4/wqlsOMHcy WLses3s46GsHKxa7ncWeMMgLbdpF1GOC06PsYeZQpBOPZkkIhFIA6Oh2UTjWsl8Nn++I 8gBGA+9f6Zr/F3A4ONwegdq0avjCbUZQ+illalpljOxBiQVcWB8VGOAD0mWju0d0G3YO 2RWB5YKDumpYRLZG4hXkwhmcskI1hi252qby9TAd7QggLi0eTeoNVeZmde/2ylFx+lUR BOPg== 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=D+/3Yi7bH7Hi+uUsTmtck0vYZ+i95ClqTO7Rae7/KWY=; fh=+UZJ8XShzihkrt5CTDeLOPa14p5TNtt7JwQZeNbCPkQ=; b=dV4eIpAXPnbt1YPiCV1tWBkIGhHRaFeUBYIKJzUi9vbZIq6vsGP625LvYW+g/0Yb1M LmiYD6Ck2dEVRv4+u57Jfr79bw1Ql1gZ8QDuX58Z8vjzBdeiXHOV2yv+oNkrUs2345Mg uusawlwgzzflC/2c5+5WXcy7P+3KbBpAyrM9dWzg6etIyVW0LwGtNdEP8DVt0Y4YGecV jXz9IcEKNuhJOiC1I0i2Vj6CP4rtWxDRuaLEcYvdAG5zQVVDxgwj4NraaiW9+B7kA8Um 4Q6RpcrotjCN4UZ9sJS4f1EqqFSoTETtUx9fty+sjUm4ZtIsl8jpGwOCnkwHYSb6QEvY lpwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OyTtfBu4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id x32-20020a634a20000000b005b42f4443b7si6075376pga.653.2023.10.23.00.19.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 00:19:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OyTtfBu4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id CD655804DDA5; Mon, 23 Oct 2023 00:19:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233446AbjJWHTT (ORCPT + 99 others); Mon, 23 Oct 2023 03:19:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233406AbjJWHTO (ORCPT ); Mon, 23 Oct 2023 03:19:14 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A8E0BD5D for ; Mon, 23 Oct 2023 00:19:11 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-507bd644a96so4308682e87.3 for ; Mon, 23 Oct 2023 00:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698045549; x=1698650349; 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=D+/3Yi7bH7Hi+uUsTmtck0vYZ+i95ClqTO7Rae7/KWY=; b=OyTtfBu4qKkr7k8OMwSW7yFdNYZpNNezjHtWYTgCAEWaj7GmJzCAUt0Tm+heziy38Z DqqdTCHLvMstMVJeGSLEWBqfoxAfp3nbr7/DN3Xd3tqPPxbkDXqwAq3JvAQxGns4oyZ/ 9nh01ivG9ufEDchE+dnfQjumzjFFcOWoKpuoOL5pnjubukbCywo0UYvXo+BDuCMiwL/7 gs5O1MSkVZ4tL/TFO8DixKeM0oTZzkCMRGlvpji1Fp/oBB6yTG4zpbQBY7x0WUZ8lEHn g26VBTofwFQTy3nF9fqVa90oYYW8lugkRCoHx4qp3fOjaJqHR/O+MCriqGbELEHUIf+3 fWYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698045549; x=1698650349; 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=D+/3Yi7bH7Hi+uUsTmtck0vYZ+i95ClqTO7Rae7/KWY=; b=IT1/VupQJDeIlvm3XKV6HRZkIjrFaPXUNYaC10bxVlKfro+qFLtnV6K/psj9aaqaGo rrsgOhwq5eqch8AGwQNCBtGQuO1hNMbt11SGFNvvianSgkMFobcAr1nQucvpiw+QFgWK WYXP768x1GzN2SnArRcsX4ozFQYJgFmZ0SIZnBoxmvMiz8tp0LuT/ObTMYrCAqwCV5i6 HOI8ilDJrYcQm/n1a7sOpql6Ldk4qEe7MvcKWKZ8CB0sTcFemfL6vlbzHZ6r5VdH/ahi QHSwAo0bYOhUWu2GtIdxXGRFKbRRsAXbqBLCOSF8ppbP2FvMPQ/5+JUmIdHBl5LB5uSX uxaA== X-Gm-Message-State: AOJu0YwGqX3T1V//hMO9FfWdCaoDIQmgk7Ui2kjM3XN1B27o0Ts+g2Sk mOtnKjUOff1hQYq4Ol3pEk2qYQ== X-Received: by 2002:ac2:5bcd:0:b0:500:b553:c09e with SMTP id u13-20020ac25bcd000000b00500b553c09emr5167474lfn.32.1698045548975; Mon, 23 Oct 2023 00:19:08 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id w15-20020a05651204cf00b00507a682c049sm1578727lfq.215.2023.10.23.00.19.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 00:19:08 -0700 (PDT) From: Linus Walleij Date: Mon, 23 Oct 2023 09:18:53 +0200 Subject: [PATCH net-next v5 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: <20231023-marvell-88e6152-wan-led-v5-2-0e82952015a7@linaro.org> References: <20231023-marvell-88e6152-wan-led-v5-0-0e82952015a7@linaro.org> In-Reply-To: <20231023-marvell-88e6152-wan-led-v5-0-0e82952015a7@linaro.org> To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Linus Walleij , Vladimir Oltean X-Mailer: b4 0.12.4 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 00:19:27 -0700 (PDT) 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 Signed-off-by: Linus Walleij --- 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 */ }; -- 2.34.1