Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp449248iob; Wed, 18 May 2022 05:52:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyf2wIA7+/QGLkEP1TdsRQu9Sw5jyIH7SH8bPBVvYsZm2kc1bq4Yxscv8wnwpZ7zT71Lv1P X-Received: by 2002:a17:903:230b:b0:15e:bc9c:18c7 with SMTP id d11-20020a170903230b00b0015ebc9c18c7mr27101641plh.29.1652878370643; Wed, 18 May 2022 05:52:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652878370; cv=none; d=google.com; s=arc-20160816; b=yoocDAKkFinXFfeyvVYHPqg7wJ4WaZZ7mJiDrsfeRMM9hv+LLegnv3fox6Xn2b9UKZ CvHpNjLsJrnLfTEbCdjB3qw+nxYtnsNKb/D1cV7BskpV595vLFmG4OoGTFi341m2/js0 Okw2NsMQTDdxQWPO3JoR6QvjA4jJtNTG2HmLwB5DZ4iY3N3ukqL8erRvgxhVdvismqUD 2zNlkDcg+QO2zn4rlOEaaHixk98RvHWo/9FQeCL3oIeNk5VjnJETerT1O7qXfmxaqhI0 bE7DkD5pIDOsv8ropxn2Eju9dNlr4vYzhbyhAihOsMQyNysBVeyqbR4KkjUkm6ILxQF/ kdnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=3gM9WXfVKLQSwc3deM8grfiskd/pEHtQBWIsO3/UiFA=; b=f8sYBEciFt+6vza7LTR2u1M1GNLEJoKchzghFKeZEPqga4SvQXfAs1Jt43QcrMouYt oDveSG9As/34vwgoyaQ9LK3dmRjxZWi1oQnfbyVotvrQan4UllnqN02jC+IclyBIyZS9 H8gQfaN5whuAdrFH7sQ23Y02z3mSGr19IpUJxyrNlrmhNHSrGe61O2xBDi689jk7+oUK pXEFcrO9ku4KeKsCveaPzf2FQ0Q4zI0V9B+eaSouRGO7Zl/xZHGIHbs+r3UPyXCHgtVj gGR2Bqib/Y8al9b9ZYKciEQTw5AUmZj3hNlZyqpiR01MjCHY0kKt+dww4hbAj+tbmvZa rDWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BVT23yrs; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id m23-20020a170902bb9700b0016184e70124si2571988pls.192.2022.05.18.05.52.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 May 2022 05:52:50 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=BVT23yrs; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 07B42A76C7; Wed, 18 May 2022 05:47:46 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237066AbiERMrW (ORCPT + 99 others); Wed, 18 May 2022 08:47:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237425AbiERMp5 (ORCPT ); Wed, 18 May 2022 08:45:57 -0400 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C60715D308; Wed, 18 May 2022 05:42:25 -0700 (PDT) Received: (Authenticated sender: clement.leger@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 1863A240006; Wed, 18 May 2022 12:42:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1652877744; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3gM9WXfVKLQSwc3deM8grfiskd/pEHtQBWIsO3/UiFA=; b=BVT23yrs3RTS7Oays8mQt1y5yO2CLE6kuXnLPiQJ35xmRgRerwJGEJJ75CA2EnSviEn4tH k9FsITgPYESsuQMEoR7Mf6yMyrYLMLLHcaca/wmC3HllzJuinX32Ndmfp0//C4gOA0R7ZK 694jNF25jIcEz0pKhrRqRhfpj24hJ0sFX4roiI4shAekeVVvFbBQUzI4c5s+ZwufI01M/2 dGSNO70ZXEc//bLwo6uGK91g7gwjjPkTuQC+B2IleBwiGD2jcGEkndMnRvEAQN5WFBFj+S ewQgZFJ/7/nou1jSRwatnNUO0qSYxouAisQ4w8xvnd/WNE4l6RlLpbIeRhP4aQ== Date: Wed, 18 May 2022 14:41:11 +0200 From: =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= To: Vladimir Oltean Cc: Rob Herring , Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Krzysztof Kozlowski , Geert Uytterhoeven , Magnus Damm , Heiner Kallweit , Russell King , Thomas Petazzoni , Herve Codina , =?UTF-8?B?TWlxdcOobA==?= Raynal , Milan Stevanovic , Jimmy Lalande , Pascal Eberhard , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH net-next v4 05/12] dt-bindings: net: dsa: add bindings for Renesas RZ/N1 Advanced 5 port switch Message-ID: <20220518144111.135c7d0d@fixe.home> In-Reply-To: <20220518120503.3m2zfw7kmhsfg336@skbuf> References: <20220509131900.7840-1-clement.leger@bootlin.com> <20220509131900.7840-6-clement.leger@bootlin.com> <20220511152221.GA334055-robh@kernel.org> <20220511153337.deqxawpbbk3actxf@skbuf> <20220518015924.GC2049643-robh@kernel.org> <20220518120503.3m2zfw7kmhsfg336@skbuf> Organization: Bootlin X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Le Wed, 18 May 2022 15:05:03 +0300, Vladimir Oltean a =C3=A9crit : > On Tue, May 17, 2022 at 08:59:24PM -0500, Rob Herring wrote: > > On Wed, May 11, 2022 at 06:33:37PM +0300, Vladimir Oltean wrote: =20 > > > On Wed, May 11, 2022 at 10:22:21AM -0500, Rob Herring wrote: =20 > > > > > +patternProperties: > > > > > + "^ethernet-ports$": =20 > > > >=20 > > > > Move to 'properties', not a pattern. > > > >=20 > > > > With that, > > > >=20 > > > > Reviewed-by: Rob Herring =20 > > >=20 > > > Even if it should have been "^(ethernet-)?ports$"? =20 > >=20 > > Why? Allowing 'ports' is for existing users. New ones don't need the=20 > > variability and should use just 'ethernet-ports'. > >=20 > > Rob =20 >=20 > Yeah, ok, somehow the memo that new DSA drivers shouldn't support "ports" > didn't reach me. They invariably will though, since the DSA framework is > the main parser of the property, and that is shared by both old and new > drivers. Should also the subnodes of "ethernet-ports" use the "ethernet-port@[0-9]*" naming ? Or keeping the existing pattern is ok (ie "^(ethernet-)?port@[0-4]$") ? Thanks, --=20 Cl=C3=A9ment L=C3=A9ger, Embedded Linux and Kernel engineer at Bootlin https://bootlin.com