From patchwork Mon Oct 16 09:12:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13422799 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 4FB7FCDB465 for ; Mon, 16 Oct 2023 09:13:44 +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:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hnR3ET7yozbGmLXiI4YX/3BQYhSUVLjSVhvOpfYEtbw=; b=r72HARvxs3CSBu aP7U65CMzxsGXeZbMdPuB3MGEsBIzEgElHmGdM829HX+3NfKPaBvyoKSDp19EDsuh7IbRR0IR87bV 3vefLpC2RY1LhCaPS4cvs9TCvsOXl3/xvkxzv5kda5q+CkeaJKLEyWQS/btPXaSx5dH6PTTM/recZ VG47u4lbfmMBOM2V4jtgr/cflh3MShVCjTuGAsjMD70sc9ZFoS6fYqmoUkDdn0bjY+/dUJem4pq5g Jwonc6X2ug+B1k87W6FEJIV22A2pt7YdrgigL5PXW6cBe2kmsF7aDxUyVK0Zx++rOOzjkztAPTRzZ +u2JbwBST/GSjFNH1OcA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsJf2-008wl0-1H; Mon, 16 Oct 2023 09:13:16 +0000 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsJf0-008wfn-0p for linux-arm-kernel@lists.infradead.org; Mon, 16 Oct 2023 09:13:15 +0000 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-507ac66a969so1079315e87.3 for ; Mon, 16 Oct 2023 02:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697447578; x=1698052378; darn=lists.infradead.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=XQgNJEaB9CDsyBYuoK51xMQLKTuugJ9THzHXrzK30U8=; b=tWVjMs2B+zesv+roBlpQR87SJnHbvomNTBtO9pNZd4sHeyZ6axO5AXp0ZPqWUkoDvk +JDoZAgU/4zB8JdhMF/mFaksay/f66GIRl14YhJ/vXmgILh3+PVu0yk7/kLn26eThs7I o03PgIIE9VdFfQRjRvtQ7Oh0dzFUk5TOMKn7Jkd2S8nXTtkS24nVqMSEsPu4IhuE9Lv4 132WM375r0hrvm+WPRg7axFk2vy22wqeGr5ScV3k4jb2zPIC2Y/VxFF36HMxiHomZhez mmFAlhRTxHV+o6cs+NAYHnBOLfDEeSB1vnU3Qhz3fqCCqtKmayAXQmC0nzfDpPdMuQNK Fv6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697447578; x=1698052378; 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=XQgNJEaB9CDsyBYuoK51xMQLKTuugJ9THzHXrzK30U8=; b=oPRyFwbBuP87YXuq5LEdK/8QcTEXhAllxTBgdM/KGedEcCNjCAMCwimgBnBwr9N6gu bE/Tk+X1lyk4Y9wZWtLc8AgAoUZDTCIwno7er6G64zBxw0xAOvAIhKpmIjkLxjST4rQk weKHmPl1AXR9VhjD37NTbBq0k2tUTuvJKXM8Xu2+Fi9HWjkTiCX8Rbx+dJcJbPMAWEOv P8WWlFRDTb6TtVRgHo3N7krh80GeqREL4cG92JAIztMBgpHLVuCNu6o1chly/7vMsBY4 Kk8PwraeBP/okQ82Msj2lLiWW3Ky5rQntg0NqiM/LQrexZlYY9T1TKFu+bX8qee5SJNG 3taw== X-Gm-Message-State: AOJu0YxWOBppxpCZhaBH3yy9pla+TrEWDVF9PuUWAh02xE+7+XzDlwcV 4dvGLmLvby3HdBao0v5UMyGyDw== X-Google-Smtp-Source: AGHT+IHOrYoJN6TnzySSc3vvbrP9tHzSMIjwBQxg9l9tIyLk+Fcasw6JOLV7wUx0Rx3P9qzDheo1ow== X-Received: by 2002:a05:6512:39d1:b0:500:ac71:8464 with SMTP id k17-20020a05651239d100b00500ac718464mr33408434lfu.66.1697447578588; Mon, 16 Oct 2023 02:12:58 -0700 (PDT) Received: from [127.0.1.1] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id br34-20020a056512402200b005068e7a2e7dsm4160986lfb.77.2023.10.16.02.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 02:12:58 -0700 (PDT) From: Linus Walleij Date: Mon, 16 Oct 2023 11:12:56 +0200 Subject: [PATCH net-next v3 3/6] dt-bindings: net: mvusb: Fix up DSA example MIME-Version: 1.0 Message-Id: <20231016-marvell-88e6152-wan-led-v3-3-38cd449dfb15@linaro.org> References: <20231016-marvell-88e6152-wan-led-v3-0-38cd449dfb15@linaro.org> In-Reply-To: <20231016-marvell-88e6152-wan-led-v3-0-38cd449dfb15@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 X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231016_021314_341999_E783120F X-CRM114-Status: GOOD ( 11.07 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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. Signed-off-by: Linus Walleij --- Documentation/devicetree/bindings/net/marvell,mvusb.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml index 3a3325168048..ee677cf7df4e 100644 --- a/Documentation/devicetree/bindings/net/marvell,mvusb.yaml +++ b/Documentation/devicetree/bindings/net/marvell,mvusb.yaml @@ -56,6 +56,12 @@ examples: ports { /* Port definitions */ + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + }; }; mdio {