Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2455692rdg; Mon, 16 Oct 2023 05:18:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHM00ga4WIcxUhAI1evbz8eENzdLK5qfa/2Ww4ZUFJ71hxmHZv2DIhkwzyncwxQxCEEEPyf X-Received: by 2002:a05:6a00:14c2:b0:6b8:f7ed:4deb with SMTP id w2-20020a056a0014c200b006b8f7ed4debmr8330940pfu.13.1697458684993; Mon, 16 Oct 2023 05:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697458684; cv=none; d=google.com; s=arc-20160816; b=uFOCVrNlaYjvKSvh/5Qq8v1zxHP6lRB19hPs0RPD6yA//WnfDGZF4HLxGE5jYLdAyU kW4FPlPBKOH+XNa99VI4XQAaHQSGQsbWZSbJGkHqSH/quFWLN2CgnvjXHNWF+xwexU4w CLPepHU3w3v8NGJsSgda1qWLcZ7WU327u0XNWHOp+3vLPCP/2Kl4f0D9CDz9H2/+F4Fg c9V9If05vsfVbW0ADKwPPg32hjBxC+UGkXvtTULHl5lfFudDTuFZg7b3AnbwuiBSbrjE ekvsDL3/rtb8VUMR89U68NSbMlxf9tr4UWxkpvhuMvdwGt9fnyWVrFfgxdAAemPHneLV G/yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RjUacR5/LdrXMtLaYoD++xnhGSnh9YIzXLKxqzrbi9Q=; fh=0qb2I2SSkpRHwF7FFPECGbtYlTcwC5I8uMtlm++hAKs=; b=MHQQHuvrlZiBqvY4gThQxEfb01UEl/n/M8CjclwGKTGIPK1v0bANmwmlq91HjuFsYn vZ6nj2IQhQXpsTyYxMyXqA9FA6XW2OnTw23QHdMj6hRaOB0m0PKF61GYLwF5gqg6rtZh ZAywto82ynP1njlTYRE7jOQ9ygomOJ5J7COfLFnAT/RqA3MWoiTD4lhzVMCOA3Y7D3v9 /u38yx7mqcr8q9qygnOtJggxfctM50PtoSewPcmy4DgNAtE/vYpjv0z2JcZMEdeOsTUZ XnIPLKSU6zPrrHGXqSva3dq+ZyqexYinEJoBZdd89LOoKQCdVkrnXGi+WkYWeE5baKs2 wy3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="fag5K/ov"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id l17-20020a056a0016d100b0068e2dadcfc3si24248210pfc.48.2023.10.16.05.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 05:18:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="fag5K/ov"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 2997E80A07C0; Mon, 16 Oct 2023 05:18:02 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231444AbjJPMRy (ORCPT + 99 others); Mon, 16 Oct 2023 08:17:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43238 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233212AbjJPMDV (ORCPT ); Mon, 16 Oct 2023 08:03:21 -0400 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D486DDC; Mon, 16 Oct 2023 05:03:19 -0700 (PDT) Received: by mail-ed1-x535.google.com with SMTP id 4fb4d7f45d1cf-522bd411679so7426338a12.0; Mon, 16 Oct 2023 05:03:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697457798; x=1698062598; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=RjUacR5/LdrXMtLaYoD++xnhGSnh9YIzXLKxqzrbi9Q=; b=fag5K/ovN5h+1h2jpiZlqecxXSC17FzVe69BAxPGLTBOWdlzOChlgwSqICo5995xJC r7QPgGZfNko6Geh2dNgu+PepZOmVZINLJrzF9Q+3cKn6xV+uaVRIrdSApTWXhl5+A0oO +ryt9qKgHnW/9uHNPhoukFks7MBx9bt1bwX5cn/AUuu0x+s94wwJfvJ3p+5c2gjlFKiu 02QiT5yrWxbxranddajXfRhClQVyxrEso3oIcyXX2O2AZwigwtr2/ZxckJpIMxXdA0sW xTBRxbQ1soEqZJysrI6Jfc/TB+DLmrp7VlrvhxQojSDP+HBVV8w2iCLhJbi8NVuArTVu 99EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697457798; x=1698062598; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RjUacR5/LdrXMtLaYoD++xnhGSnh9YIzXLKxqzrbi9Q=; b=bP38Y1RXMZnRPRxnzD7GUWz/UNkxojiX4aFcdiSAn021wF21DgPwMjvhUTDN1TwD4a 5u95kZ2qQ+A4H56NcHMdHPKMjpxBMRT5zsDWYR2PfGc91g6n4wQOJO1WjZRR6vEmN1Uz rA/yLK2ixqiP2pH40m8BnAg3dKIW8JkBcJDfMqtEk3hzeTyXfIdnVEnlTucVWxB+qbdP /pmN2UX/ay4Wyu1eXLfblPXJkG2qN6sF69FXMaI+NARwM6bQL6BbvxrPo9UJnyA0Uwf+ Fs9tzq+G7G8lMlN+icyhTKp7NIX/4F3KXkz/cd6MDqx5A28nP5tCSGJa+Vm+BO54cJPP d6pA== X-Gm-Message-State: AOJu0YyQOLZJH4+LcSVaXFZBGBp/bFComHMEV1IbA58fEu00eUXCz0SS oK18nOkFhlRPjdGGn6bQ82U= X-Received: by 2002:a05:6402:42c7:b0:53e:bc08:3bb2 with SMTP id i7-20020a05640242c700b0053ebc083bb2mr3070790edc.16.1697457798241; Mon, 16 Oct 2023 05:03:18 -0700 (PDT) Received: from skbuf ([188.26.57.160]) by smtp.gmail.com with ESMTPSA id v3-20020a056402174300b0053e3839fc79sm5028824edx.96.2023.10.16.05.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 05:03:18 -0700 (PDT) Date: Mon, 16 Oct 2023 15:03:15 +0300 From: Vladimir Oltean To: Linus Walleij Cc: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King , Florian Fainelli , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Marangi , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next v3 3/6] dt-bindings: net: mvusb: Fix up DSA example Message-ID: <20231016120315.nhiz6ukzmtdnx7vc@skbuf> References: <20231016-marvell-88e6152-wan-led-v3-0-38cd449dfb15@linaro.org> <20231016-marvell-88e6152-wan-led-v3-3-38cd449dfb15@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231016-marvell-88e6152-wan-led-v3-3-38cd449dfb15@linaro.org> X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, 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 agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Mon, 16 Oct 2023 05:18:02 -0700 (PDT) On Mon, Oct 16, 2023 at 11:12:56AM +0200, 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. > > 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>; > + }; Could you just skip defining any port, and just leave the /* Port definitions */ comment at the end (after the newly added #address-cells and #size-cells)? This example is more about the USB adapter, not about the switch. > }; > > mdio { > > -- > 2.34.1 >