Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3804349rdg; Wed, 18 Oct 2023 06:40:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGGIIuFB8X73VDMxZwgKzZc4CSz1dLhYslce2jqgYZ11zA2jUBWRTWUHMWiqbLx5NuYcUzS X-Received: by 2002:a17:903:278e:b0:1c8:9d32:3396 with SMTP id jw14-20020a170903278e00b001c89d323396mr4671119plb.60.1697636415228; Wed, 18 Oct 2023 06:40:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697636415; cv=none; d=google.com; s=arc-20160816; b=CqatuXQl9lmbTwOv5yp9fRinVOOHMWIgCQvssEJS0Le3EOjYuHJYKlLw1UlQuU+Sk3 Xmuxi0RCcqcOsn8Cujdt4XrEcDO84OZcvUTihCZi2R+IJdZ9v90AMPGNg/zgqgF8Twdk /sKANS1CURWjNpn+zu8FlsHGOrHdkIwAiNohoJrkp5aBvsqEVPL07ZdHRmOVSvAIbd+i +2WD8MXfD/6xC8i1XiqSAO8h0YREvxuqnXkv/jaTMsqV3kFy2EKLLlFc1aJ4fU9iahMt 3OTNj4lt31kbFbz2wOwHdp8JmkPAsN6fjQNi1xJGFQU+bEi+0+9Lxtgc00rFYPc9K99c RcyQ== 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=sb2DfImF82A9GXfWnx2NvBij+Thv1XwnMnDjriOzQQA=; fh=v4rhVmxRB1ysXB5NFItJFAO75AJhQiOH344WFaLSz+A=; b=qZVWoQsb1htjzevJf1QSrDFNVAqt4kF9hOZ/R8+OtbxJpwu8Hqg1nzgtdOxTfhSSWx Yvub+oEjGWmDsIkcb9xBTM0i9Ek0rAU4Qw2EwTAzdu9kJhb5j6fdebnmquiHIX1oO6Nv JZdM5e5El6GDiGMXC3fyZxUhr7uvyrCeBuNgsIK6zgPOBIwOdZxxfnQP8atRTih5xGD3 I38pamiT9fFXE38pBf7VA7RdzxiOmQ7+gPWORTfeaHXHDo1FSWRQWfha/tPSvmSQs0ov os6+axioRKLBIw2INuRnE4h3iOqxUqRKaJQ/0AGfzyxXIbgaTI161hs1Q9attyc3Ldn3 S29w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=c+H0zHkW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id p11-20020a170902a40b00b001bf5c12ea06si2052892plq.404.2023.10.18.06.40.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 06:40:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=c+H0zHkW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 8DFD480241B2; Wed, 18 Oct 2023 06:40:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344700AbjJRNkE (ORCPT + 99 others); Wed, 18 Oct 2023 09:40:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231733AbjJRNkC (ORCPT ); Wed, 18 Oct 2023 09:40:02 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69E3695; Wed, 18 Oct 2023 06:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=sb2DfImF82A9GXfWnx2NvBij+Thv1XwnMnDjriOzQQA=; b=c+H0zHkW66CK+8AJs4HYQyUldd MCTBHh1njCCzJFc1V9YUcoHEacLPpXs/ESY1SxPsgkfe19p7KDVquLC/Q19P0/uZi6MWBOFangPGs DeDCjgJLiZwcYMlttL3Fq+rqQGoP9EST1fliaaxCvclI8xRZY2kRAlG5p6aLtXIhlCL0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qt6m2-002aLL-Gx; Wed, 18 Oct 2023 15:39:46 +0200 Date: Wed, 18 Oct 2023 15:39:46 +0200 From: Andrew Lunn To: Linus Walleij Cc: 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 , 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 v4 2/7] dt-bindings: net: mvusb: Fix up DSA example Message-ID: <297c6381-5b31-4c75-bb64-fd06f979c20f@lunn.ch> References: <20231018-marvell-88e6152-wan-led-v4-0-3ee0c67383be@linaro.org> <20231018-marvell-88e6152-wan-led-v4-2-3ee0c67383be@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231018-marvell-88e6152-wan-led-v4-2-3ee0c67383be@linaro.org> 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 howler.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 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 06:40:12 -0700 (PDT) On Wed, Oct 18, 2023 at 11:03:41AM +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 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. > > Signed-off-by: Linus Walleij Reviewed-by: Andrew Lunn Andrew