Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp3736417iob; Sat, 7 May 2022 13:31:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJHi98KR6nsFB2Egv2ATTq46jRFG1GL+aiUFx0SEW1HFjDN5qLd7YCqd4IJADsbl3/IG/f X-Received: by 2002:a05:6a00:1acd:b0:50e:1872:c680 with SMTP id f13-20020a056a001acd00b0050e1872c680mr9347877pfv.16.1651955469375; Sat, 07 May 2022 13:31:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651955469; cv=none; d=google.com; s=arc-20160816; b=MIo2uf5eH8cj85SBpZPb+EG5v9IbTIjt3YbD4LtJoVQAIGJQKLoZmu7SzIMEPkTAOp dpOmy6vr2xxLUoL5NtwraS3Hntg7zjCDvmRfG5KzPICU1MVHUe9Y5vHpe+T1oaP0myRs pqGO3O/Da4alMRRnnT2pFUFKxt3VnKzazwTeRTtQarJDystAkquuphCewuULvxyZKf8r ANtaz7C9RM0zD2j8tJUp9eGoUTu9SEpopfmLqfO2anPiS6rroE84/fOoO2ODf5NmDFdA BBqRVF6VrHjBsOzMMWOaLmXO4tsJ4iE83nFCyBeTpCi9vsDtxNLSurGdQ72Fqh1XXh6P qjvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:from:cc:to:reply-to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature; bh=PE49ljxOaJbEZXi8zE0UMbSilxTIkum0Hyl9KtNCWhk=; b=fGD4gNCeIHn5Pd2Fhve4zlM7U1/SdxjZWTRO8fSE47VVVKCEnzL9QHwWy4PoIXJCve o59eoBh8rxLEs4PIzXp4R1/H9SY/mxuCKof6DQaD0J9UFnCw82+5mRHfZRjKQnSQsvX9 inFJV9Pqk1NETjEHZyDiOmfLaSBuAGQvjlKyD0pQaot8oLEI1hqkc9NSPCKxhp0skFDK 6pLVC9kLderDHH9/oZcgyq0Poj53LrVD9R0y9SAZEbb4puvel03zsX0wV73W/kw7iNpV RM+9TaBgQmvsLui4X2wdP/97ot3vaCzYWCpKtABfJKPvRKXBqhe4lvzyPPL2uNt4AK5d bIgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmx.net header.s=badeba3b8450 header.b="VUzb45/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a170902ea0400b00158eb28cb9dsi7328115plg.254.2022.05.07.13.30.53; Sat, 07 May 2022 13:31:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@gmx.net header.s=badeba3b8450 header.b="VUzb45/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345875AbiEEJKf (ORCPT + 99 others); Thu, 5 May 2022 05:10:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234566AbiEEJKd (ORCPT ); Thu, 5 May 2022 05:10:33 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 607584B41B; Thu, 5 May 2022 02:06:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1651741573; bh=PE49ljxOaJbEZXi8zE0UMbSilxTIkum0Hyl9KtNCWhk=; h=X-UI-Sender-Class:Date:In-Reply-To:References:Subject:Reply-to:To: CC:From; b=VUzb45/7jJ0QvY1LxJ8fGd5PIAHk5tdZv7WCsWGN7HfaLTECfsZkWen2XvyKS2Gcj 8kH0TsJ3fjICqkzk+WMAkUiLt9Bn1doMlT+h/XRlLyxtX+9DYHnXTl42I6LxeNibw+ Z5m/D4xAVI5EUTEwdTqGLboOd5OI7EtfGKKkEX84= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from frank-s9 ([217.61.145.208]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MO9z7-1nSWYG34kz-00OWh0; Thu, 05 May 2022 11:06:13 +0200 Date: Thu, 05 May 2022 11:06:05 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <313a5b2e-c571-a13f-3447-b1cd7200f4c9@linaro.org> References: <20220430130347.15190-1-linux@fw-web.de> <20220430130347.15190-5-linux@fw-web.de> <20220504152450.cs2afa4hwkqp5b5m@skbuf> <20220504154720.62cwrz7frjkjbb7u@skbuf> <313a5b2e-c571-a13f-3447-b1cd7200f4c9@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [RFC v2 4/4] arm64: dts: rockchip: Add mt7531 dsa node to BPI-R2-Pro board Reply-to: frank-w@public-files.de To: Krzysztof Kozlowski , Vladimir Oltean CC: Frank Wunderlich , linux-mediatek@lists.infradead.org, linux-rockchip@lists.infradead.org, Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Sean Wang , Landen Chao , DENG Qingfang , Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Matthias Brugger , Peter Geis , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org From: Frank Wunderlich Message-ID: X-Provags-ID: V03:K1:fswHZVyF/lRZd8JVwCdyHBJTeHXeAmwGzgMDMSGIdz0hDXO4adf 6DNQ7Hd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w5iQs214Qy7h2QgFe2mQb+BXSiZxLW1fQag1q+c3QUwT JRy7cyct7nh15eyCpady/PJZVyrV2v1SdKAZz2u5iF4aPZfy1qvV5C/lyUwqqEz/Q3Uael2IP M5nkUJKzCP6lIJUeLYU0LtyfFwZAAF/cyKyNAcZ3UvmQ8Rh1OFJadwYuyxLyRXiP3Wi6XDTAT gia7QCQap4UUaPAopLvQFtwWb0Gm66A9uYYycp2oQfnUWkuMSVGRNbufUVlKGNuB9pIvr8uQE 88aNqbN5kytPzg= X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Am 5=2E Mai 2022 10:46:55 MESZ schrieb Krzysztof Kozlowski : >On 04/05/2022 17:47, Vladimir Oltean wrote: >>> >>> current device-tree nodes using "switch" and "ports" >>> >>> see discussioon here about make it fixed to "ports" property instead >of PatternProperties including optional "ethernet-" >>> >>> >https://patchwork=2Ekernel=2Eorg/project/linux-mediatek/patch/20220502153= 238=2E85090-1-linux@fw-web=2Ede/#24843155 >>=20 >> Hmm, I don't get why Krzysztof said to just keep what is used in >> existing device trees=2E The schema validator should describe what is >> valid,=20 > >These were talks about bindings which describe hardware=2E The node name, >except Devicetree spec asking for generic names, does not matter here >actually=2E > >> and since the mt7530 driver does not care one way or another >> (some drivers do explicitly parse the "ports"/"ethernet-ports" node), >> then whatever is valid for the DSA core is also valid for the mt7530 >> bindings=2E And "ethernet-ports" is valid too, so I think it should be >> accepted by mediatek=2Eyaml=2E=2E=2E > >You can make it "(ethernet-)?ports" as well=2E My comment was purely to >make it simpler, for bindings (goes into properties, not >patternProperties) and for us=2E If you prefer to keep it like DSA core, >also fine=2E Ok, i'm also thinking, the dsa-definition will be the right way (pattern-p= roperties with optional "ethernet-") in binding=2E Should i use "ethernet-ports" instead of "ports" here? Current dts with mt= 7530/mt7531 switches using "ports" so i would use it here too=2E If dsa pre= fer ethernet-ports now it should be changed in other files too=2E >Best regards, >Krzysztof Hi, regards Frank