From nobody Thu Jan 1 14:34:18 2026 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50176C001E0 for ; Mon, 23 Oct 2023 07:19:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233454AbjJWHTT (ORCPT ); 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-Google-Smtp-Source: AGHT+IG5r+tT4MejIfpg3DlgLPXtjo3f9TOqwvkBhhFtIokEWdfdK6p9carAyQ3rI/AH8+g7bjeVXQ== 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: quoted-printable 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Rob Herring --- 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/Doc= umentation/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 =3D <1>; #size-cells =3D <0>; =20 - switch@0 { + ethernet-switch@0 { compatible =3D "marvell,mv88e6190"; reg =3D <0x0>; =20 - ports { + ethernet-ports { + #address-cells =3D <1>; + #size-cells =3D <0>; + /* Port definitions */ }; =20 --=20 2.34.1